NCBI C++ ToolKit
|
Search Toolkit Book for CRptTypePanel
#include "rpttype_panel.hpp"
(Private to src/gui/widgets/edit
.)
Public Types | |
enum | { ID_CRPTTYPEPANEL = 10090 } |
Control identifiers. More... | |
Public Member Functions | |
CRptTypePanel () | |
Constructors. More... | |
CRptTypePanel (wxWindow *parent, wxWindowID id=ID_CRPTTYPEPANEL, const wxString &caption=_("RptTypePanel"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL) | |
bool | Create (wxWindow *parent, wxWindowID id=ID_CRPTTYPEPANEL, const wxString &caption=_("RptTypePanel"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL) |
Creation. More... | |
~CRptTypePanel () | |
Destructor. More... | |
void | Init () |
Initialises member variables. More... | |
void | CreateControls () |
Creates the controls and sizers. More... | |
virtual void | SetValue (string val) |
virtual string | GetValue () |
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 | GetDimensions (int *width, int *height) |
![]() | |
virtual void | NotifyParentOfChange () |
Static Public Member Functions | |
static bool | ShowToolTips () |
Should we show tooltips? More... | |
static bool | IsParseable (const string &val) |
![]() | |
static void | RemoveRepresentedQuals (objects::CSeq_feat &feat, const string &qual_name) |
Public Attributes | |
wxFlexGridSizer * | m_TheSizer |
Private Attributes | |
wxArrayString | m_AcceptedValues |
vector< wxCheckBox * > | m_Boxes |
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 |
CRptTypePanel class declaration
Definition at line 69 of file rpttype_panel.hpp.
anonymous enum |
CRptTypePanel::CRptTypePanel | ( | ) |
Constructors.
CRptTypePanel type definition
CRptTypePanel event table definition
CRptTypePanel constructors
Definition at line 66 of file rpttype_panel.cpp.
References Init().
CRptTypePanel::CRptTypePanel | ( | wxWindow * | parent, |
wxWindowID | id = ID_CRPTTYPEPANEL , |
||
const wxString & | caption = _("RptTypePanel") , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
||
) |
Definition at line 71 of file rpttype_panel.cpp.
References Create(), Init(), and ncbi::grid::netcache::search::fields::size.
CRptTypePanel::~CRptTypePanel | ( | ) |
bool CRptTypePanel::Create | ( | wxWindow * | parent, |
wxWindowID | id = ID_CRPTTYPEPANEL , |
||
const wxString & | caption = _("RptTypePanel") , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
||
) |
Creation.
CRptTypePanel creator
Definition at line 82 of file rpttype_panel.cpp.
References CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CRptTypePanel().
void CRptTypePanel::CreateControls | ( | ) |
Creates the controls and sizers.
Control creation for CRptTypePanel
Definition at line 138 of file rpttype_panel.cpp.
References ITERATE, m_AcceptedValues, m_Boxes, m_TheSizer, and wxID_ANY.
Referenced by Create().
wxBitmap CRptTypePanel::GetBitmapResource | ( | const wxString & | name | ) |
wxIcon CRptTypePanel::GetIconResource | ( | const wxString & | name | ) |
|
virtual |
Reimplemented from CFormattedQualPanel.
Definition at line 176 of file rpttype_panel.cpp.
References i, NStr::IsBlank(), m_AcceptedValues, m_Boxes, ToStdString(), and val.
void CRptTypePanel::Init | ( | void | ) |
Initialises member variables.
Definition at line 124 of file rpttype_panel.cpp.
References m_AcceptedValues, m_TheSizer, NULL, and s_PopulateValuesArray().
Referenced by CRptTypePanel().
Definition at line 229 of file rpttype_panel.cpp.
References NStr::EqualNocase(), ITERATE, s_PopulateValuesArray(), NStr::Split(), ToStdString(), and val.
Referenced by CGBQualPanel::CreateControls(), CSingleGbQualSubPanel::CreateControls(), and CGBQualPanel::PopulateGBQuals().
|
virtual |
Reimplemented from CFormattedQualPanel.
Definition at line 156 of file rpttype_panel.cpp.
References NStr::EqualNocase(), i, m_AcceptedValues, m_Boxes, NStr::Split(), ToStdString(), and val.
|
static |
|
private |
Definition at line 121 of file rpttype_panel.hpp.
Referenced by CreateControls(), GetValue(), Init(), and SetValue().
|
private |
Definition at line 122 of file rpttype_panel.hpp.
Referenced by CreateControls(), GetValue(), and SetValue().
wxFlexGridSizer* CRptTypePanel::m_TheSizer |
Definition at line 111 of file rpttype_panel.hpp.
Referenced by CreateControls(), and Init().