NCBI C++ ToolKit
|
Search Toolkit Book for CGenePanel
#include "gene_panel.hpp"
(Private to src/gui/widgets/edit
.)
Public Types | |
enum | { ID_CGENEPANEL = 10003 , ID_TEXT1_GENEPNL = 10004 , ID_TEXT2_GENEPNL = 10005 , ID_TEXT3_GENEPNL = 10006 , ID_TEXT4_GENEPNL = 10174 , ID_TEXT5_GENEPNL = 10008 } |
@begin CGenePanel member variables More... | |
Public Member Functions | |
CGenePanel () | |
Constructors. More... | |
CGenePanel (wxWindow *parent, CSerialObject &object, objects::CScope &scope, wxWindowID id=ID_CGENEPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL) | |
bool | Create (wxWindow *parent, wxWindowID id=ID_CGENEPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL) |
Creation. More... | |
~CGenePanel () | |
Destructor. More... | |
void | Init () |
Initialises member variables. More... | |
void | CreateControls () |
Creates the controls and sizers. More... | |
wxBitmap | GetBitmapResource (const wxString &name) |
Retrieves bitmap resources. More... | |
wxIcon | GetIconResource (const wxString &name) |
Retrieves icon resources. More... | |
Static Public Member Functions | |
static bool | ShowToolTips () |
Should we show tooltips? More... | |
Private Attributes | |
CSerialObject * | m_Object |
CGenePanel class declaration
Definition at line 75 of file gene_panel.hpp.
anonymous enum |
@begin CGenePanel member variables
Control identifiers
Enumerator | |
---|---|
ID_CGENEPANEL | |
ID_TEXT1_GENEPNL | |
ID_TEXT2_GENEPNL | |
ID_TEXT3_GENEPNL | |
ID_TEXT4_GENEPNL | |
ID_TEXT5_GENEPNL |
Definition at line 116 of file gene_panel.hpp.
CGenePanel::CGenePanel | ( | ) |
Constructors.
CGenePanel type definition
CGenePanel event table definition
CGenePanel constructors
Definition at line 76 of file gene_panel.cpp.
References Init().
CGenePanel::CGenePanel | ( | wxWindow * | parent, |
CSerialObject & | object, | ||
objects::CScope & | scope, | ||
wxWindowID | id = ID_CGENEPANEL , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
Definition at line 81 of file gene_panel.cpp.
References _ASSERT, Create(), CTypeInfo::GetName(), CSerialObject::GetThisTypeInfo(), Init(), m_Object, and ncbi::grid::netcache::search::fields::size.
CGenePanel::~CGenePanel | ( | ) |
bool CGenePanel::Create | ( | wxWindow * | parent, |
wxWindowID | id = ID_CGENEPANEL , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
Creation.
CGenePanel creator
Definition at line 96 of file gene_panel.cpp.
References CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CGenePanel().
void CGenePanel::CreateControls | ( | ) |
Creates the controls and sizers.
Control creation for CGenePanel
Definition at line 138 of file gene_panel.cpp.
References _, ID_TEXT1_GENEPNL, ID_TEXT2_GENEPNL, ID_TEXT3_GENEPNL, ID_TEXT4_GENEPNL, ID_TEXT5_GENEPNL, and m_Object.
Referenced by Create().
wxBitmap CGenePanel::GetBitmapResource | ( | const wxString & | name | ) |
wxIcon CGenePanel::GetIconResource | ( | const wxString & | name | ) |
void CGenePanel::Init | ( | void | ) |
Initialises member variables.
Member initialisation
Definition at line 127 of file gene_panel.cpp.
Referenced by CGenePanel().
|
static |
|
private |
Definition at line 127 of file gene_panel.hpp.
Referenced by CGenePanel(), and CreateControls().