NCBI C++ ToolKit
|
Search Toolkit Book for CSingleExperimentPanel
#include <gui/widgets/edit/single_experiment_panel.hpp>
Public Types | |
enum | { ID_CSINGLEEXPERIMENTPANEL = 10179 , ID_CHOICE18 = 10180 , ID_EXPERIMENT_TXT = 10181 , ID_TEXTCTRL2 = 10182 } |
Control identifiers. More... | |
Public Member Functions | |
CSingleExperimentPanel () | |
Constructors. More... | |
CSingleExperimentPanel (wxWindow *parent, wxWindowID id=ID_CSINGLEEXPERIMENTPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL) | |
bool | Create (wxWindow *parent, wxWindowID id=ID_CSINGLEEXPERIMENTPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL) |
Creation. More... | |
~CSingleExperimentPanel () | |
Destructor. More... | |
void | Init () |
Initialises member variables. More... | |
void | CreateControls () |
Creates the controls and sizers. More... | |
virtual void | SetValue (string val) |
virtual string | GetValue () |
virtual void | GetDimensions (int *width, int *height) |
void | OnExperimentTxtTextUpdated (wxCommandEvent &event) |
wxEVT_COMMAND_TEXT_UPDATED event handler for ID_EXPERIMENT_TXT More... | |
wxBitmap | GetBitmapResource (const wxString &name) |
Retrieves bitmap resources. More... | |
wxIcon | GetIconResource (const wxString &name) |
Retrieves icon resources. More... | |
![]() | |
virtual void | OnChildChange (wxWindow *wnd) |
![]() | |
virtual void | NotifyParentOfChange () |
Static Public Member Functions | |
static bool | ShowToolTips () |
Should we show tooltips? More... | |
![]() | |
static void | RemoveRepresentedQuals (objects::CSeq_feat &feat, const string &qual_name) |
Public Attributes | |
wxChoice * | m_Category |
wxTextCtrl * | m_Experiment |
wxTextCtrl * | m_PMID |
Additional Inherited Members | |
![]() | |
virtual void | x_AdjustForControl (CQualListItemPanel *panel, wxHyperlinkCtrl *itemHyperlinkCtrl) |
![]() | |
int | m_TotalHeight |
int | m_TotalWidth |
int | m_ScrollRate |
int | m_MinHeight |
int | m_MinWidth |
int | m_NumRows |
bool | m_AllowUpdates |
CSingleExperimentPanel class declaration
Definition at line 68 of file single_experiment_panel.hpp.
anonymous enum |
Control identifiers.
Enumerator | |
---|---|
ID_CSINGLEEXPERIMENTPANEL | |
ID_CHOICE18 | |
ID_EXPERIMENT_TXT | |
ID_TEXTCTRL2 |
Definition at line 118 of file single_experiment_panel.hpp.
CSingleExperimentPanel::CSingleExperimentPanel | ( | ) |
Constructors.
CSingleExperimentPanel type definition
CSingleExperimentPanel event table definition
CSingleExperimentPanel constructors
Definition at line 68 of file single_experiment_panel.cpp.
References Init().
CSingleExperimentPanel::CSingleExperimentPanel | ( | wxWindow * | parent, |
wxWindowID | id = ID_CSINGLEEXPERIMENTPANEL , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
Definition at line 73 of file single_experiment_panel.cpp.
References Create(), Init(), and ncbi::grid::netcache::search::fields::size.
CSingleExperimentPanel::~CSingleExperimentPanel | ( | ) |
Destructor.
CSingleExperimentPanel destructor
Definition at line 104 of file single_experiment_panel.cpp.
bool CSingleExperimentPanel::Create | ( | wxWindow * | parent, |
wxWindowID | id = ID_CSINGLEEXPERIMENTPANEL , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
Creation.
CSingleExperimentPanel creator
Definition at line 84 of file single_experiment_panel.cpp.
References CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CSingleExperimentPanel().
void CSingleExperimentPanel::CreateControls | ( | ) |
Creates the controls and sizers.
Control creation for CSingleExperimentPanel
Definition at line 129 of file single_experiment_panel.cpp.
References _, ID_CHOICE18, ID_EXPERIMENT_TXT, ID_TEXTCTRL2, m_Category, m_Experiment, and m_PMID.
Referenced by Create().
wxBitmap CSingleExperimentPanel::GetBitmapResource | ( | const wxString & | name | ) |
Retrieves bitmap resources.
Get bitmap resources
Definition at line 168 of file single_experiment_panel.cpp.
Reimplemented from CFormattedQualPanel.
Definition at line 222 of file single_experiment_panel.cpp.
References m_Category, m_Experiment, and m_PMID.
wxIcon CSingleExperimentPanel::GetIconResource | ( | const wxString & | name | ) |
Retrieves icon resources.
Get icon resources
Definition at line 181 of file single_experiment_panel.cpp.
|
virtual |
Reimplemented from CFormattedQualPanel.
Definition at line 211 of file single_experiment_panel.cpp.
References m_Category, m_Experiment, m_PMID, and ToStdString().
Referenced by CExperimentPanel::AddCommand(), and CExperimentListPanel::x_GetExperiments().
void CSingleExperimentPanel::Init | ( | void | ) |
Initialises member variables.
Member initialisation
Definition at line 115 of file single_experiment_panel.cpp.
References m_Category, m_Experiment, m_PMID, and NULL.
Referenced by CSingleExperimentPanel().
void CSingleExperimentPanel::OnExperimentTxtTextUpdated | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_TEXT_UPDATED event handler for ID_EXPERIMENT_TXT
wxEVT_COMMAND_TEXT_UPDATED event handler for ID_EXPERIMENT_TXT
Definition at line 243 of file single_experiment_panel.cpp.
References CQualListItemPanel::NotifyParentOfChange().
|
virtual |
Reimplemented from CFormattedQualPanel.
Definition at line 191 of file single_experiment_panel.cpp.
References NStr::EqualNocase(), NStr::IsBlank(), m_Category, m_Experiment, m_PMID, and val.
Referenced by CExperimentPanel::CreateControls(), and CExperimentListPanel::x_AddExperiment().
|
static |
Should we show tooltips?
Should we show tooltips?
Definition at line 159 of file single_experiment_panel.cpp.
wxChoice* CSingleExperimentPanel::m_Category |
Definition at line 114 of file single_experiment_panel.hpp.
Referenced by CreateControls(), GetDimensions(), GetValue(), Init(), and SetValue().
wxTextCtrl* CSingleExperimentPanel::m_Experiment |
Definition at line 115 of file single_experiment_panel.hpp.
Referenced by CreateControls(), GetDimensions(), GetValue(), Init(), and SetValue().
wxTextCtrl* CSingleExperimentPanel::m_PMID |
Definition at line 116 of file single_experiment_panel.hpp.
Referenced by CreateControls(), GetDimensions(), GetValue(), Init(), and SetValue().