NCBI C++ ToolKit
|
Search Toolkit Book for CSingleAssemblyProgramPanel
#include <gui/widgets/edit/singleassemblyprogrampanel.hpp>
Public Types | |
enum | { ID_CSINGLEASSEMBLYPROGRAMPANEL = 10121 , ID_TEXTCTRL17 = 10123 , ID_TEXTCTRL18 = 10124 } |
Control identifiers. More... | |
Public Member Functions | |
CSingleAssemblyProgramPanel () | |
Constructors. More... | |
CSingleAssemblyProgramPanel (wxWindow *parent, wxWindowID id=ID_CSINGLEASSEMBLYPROGRAMPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL) | |
bool | Create (wxWindow *parent, wxWindowID id=ID_CSINGLEASSEMBLYPROGRAMPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL) |
Creation. More... | |
~CSingleAssemblyProgramPanel () | |
Destructor. More... | |
void | Init () |
Initialises member variables. More... | |
void | CreateControls () |
Creates the controls and sizers. More... | |
virtual void | SetValue (const string &val) |
virtual string | GetValue () |
wxBitmap | GetBitmapResource (const wxString &name) |
Retrieves bitmap resources. More... | |
wxIcon | GetIconResource (const wxString &name) |
Retrieves icon resources. More... | |
Public Member Functions inherited from CAssemblyProgramPanel | |
CAssemblyProgramPanel () | |
Constructors. More... | |
CAssemblyProgramPanel (wxWindow *parent, wxWindowID id=10121, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL) | |
~CAssemblyProgramPanel () | |
Destructor. More... | |
Static Public Member Functions | |
static bool | ShowToolTips () |
Should we show tooltips? More... | |
Public Attributes | |
wxTextCtrl * | m_Program |
wxTextCtrl * | m_Version |
CSingleAssemblyProgramPanel class declaration
Definition at line 70 of file singleassemblyprogrampanel.hpp.
anonymous enum |
Control identifiers.
Enumerator | |
---|---|
ID_CSINGLEASSEMBLYPROGRAMPANEL | |
ID_TEXTCTRL17 | |
ID_TEXTCTRL18 |
Definition at line 115 of file singleassemblyprogrampanel.hpp.
CSingleAssemblyProgramPanel::CSingleAssemblyProgramPanel | ( | ) |
Constructors.
CSingleAssemblyProgramPanel type definition
CSingleAssemblyProgramPanel event table definition
CSingleAssemblyProgramPanel constructors
Definition at line 67 of file singleassemblyprogrampanel.cpp.
References Init().
CSingleAssemblyProgramPanel::CSingleAssemblyProgramPanel | ( | wxWindow * | parent, |
wxWindowID | id = ID_CSINGLEASSEMBLYPROGRAMPANEL , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
Definition at line 72 of file singleassemblyprogrampanel.cpp.
References Create(), Init(), and ncbi::grid::netcache::search::fields::size.
CSingleAssemblyProgramPanel::~CSingleAssemblyProgramPanel | ( | ) |
Destructor.
CSingleAssemblyProgramPanel destructor
Definition at line 103 of file singleassemblyprogrampanel.cpp.
bool CSingleAssemblyProgramPanel::Create | ( | wxWindow * | parent, |
wxWindowID | id = ID_CSINGLEASSEMBLYPROGRAMPANEL , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
Creation.
CSingleAssemblyProgramPanel creator
Definition at line 83 of file singleassemblyprogrampanel.cpp.
References CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CSingleAssemblyProgramPanel().
void CSingleAssemblyProgramPanel::CreateControls | ( | ) |
Creates the controls and sizers.
Control creation for CSingleAssemblyProgramPanel
Definition at line 127 of file singleassemblyprogrampanel.cpp.
References _, ID_TEXTCTRL17, ID_TEXTCTRL18, m_Program, and m_Version.
Referenced by Create().
wxBitmap CSingleAssemblyProgramPanel::GetBitmapResource | ( | const wxString & | name | ) |
Retrieves bitmap resources.
Get bitmap resources
Definition at line 198 of file singleassemblyprogrampanel.cpp.
wxIcon CSingleAssemblyProgramPanel::GetIconResource | ( | const wxString & | name | ) |
Retrieves icon resources.
Get icon resources
Definition at line 211 of file singleassemblyprogrampanel.cpp.
|
virtual |
Reimplemented from CAssemblyProgramPanel.
Definition at line 169 of file singleassemblyprogrampanel.cpp.
References NStr::IsBlank(), m_Program, m_Version, ToStdString(), NStr::TruncateSpacesInPlace(), and dtl::version.
Referenced by CSequencingTechnologyPanel::x_ChangeToMultiplePrograms().
void CSingleAssemblyProgramPanel::Init | ( | void | ) |
Initialises member variables.
Member initialisation
Definition at line 114 of file singleassemblyprogrampanel.cpp.
References m_Program, m_Version, and NULL.
Referenced by CSingleAssemblyProgramPanel().
Reimplemented from CAssemblyProgramPanel.
Definition at line 151 of file singleassemblyprogrampanel.cpp.
References NStr::Find(), m_Program, m_Version, ToWxString(), NStr::TruncateSpacesInPlace(), val, and dtl::version.
|
static |
Should we show tooltips?
Should we show tooltips?
Definition at line 189 of file singleassemblyprogrampanel.cpp.
wxTextCtrl* CSingleAssemblyProgramPanel::m_Program |
Definition at line 112 of file singleassemblyprogrampanel.hpp.
Referenced by CreateControls(), GetValue(), Init(), and SetValue().
wxTextCtrl* CSingleAssemblyProgramPanel::m_Version |
Definition at line 113 of file singleassemblyprogrampanel.hpp.
Referenced by CreateControls(), GetValue(), Init(), and SetValue().