NCBI C++ ToolKit
|
Search Toolkit Book for CGBQualTextPanel
#include "gbqualtext_panel.hpp"
(Private to src/gui/widgets/edit
.)
Public Types | |
enum | { ID_CGBQUALTEXTPANEL = 10047 , ID_TEXTCTRL = 10049 } |
Control identifiers. More... | |
Public Member Functions | |
CGBQualTextPanel () | |
Constructors. More... | |
CGBQualTextPanel (wxWindow *parent, wxWindowID id=ID_CGBQUALTEXTPANEL, const wxString &caption=_("GBQualText Panel"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, -1), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL) | |
bool | Create (wxWindow *parent, wxWindowID id=ID_CGBQUALTEXTPANEL, const wxString &caption=_("GBQualText Panel"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, -1), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL) |
Creation. More... | |
~CGBQualTextPanel () | |
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 void | RemoveRepresentedQuals (objects::CSeq_feat &feat, const string &qual_name) |
Public Attributes | |
wxTextCtrl * | m_theValue |
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 |
CGBQualTextPanel class declaration
Definition at line 77 of file gbqualtext_panel.hpp.
anonymous enum |
Control identifiers.
Enumerator | |
---|---|
ID_CGBQUALTEXTPANEL | |
ID_TEXTCTRL |
Definition at line 121 of file gbqualtext_panel.hpp.
CGBQualTextPanel::CGBQualTextPanel | ( | ) |
Constructors.
CGBQualTextPanel type definition
CGBQualTextPanel event table definition
CGBQualTextPanel constructors
Definition at line 66 of file gbqualtext_panel.cpp.
References Init().
CGBQualTextPanel::CGBQualTextPanel | ( | wxWindow * | parent, |
wxWindowID | id = ID_CGBQUALTEXTPANEL , |
||
const wxString & | caption = _("GBQualText Panel") , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, -1) , |
||
long | style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
||
) |
Definition at line 71 of file gbqualtext_panel.cpp.
References Create(), Init(), and ncbi::grid::netcache::search::fields::size.
CGBQualTextPanel::~CGBQualTextPanel | ( | ) |
bool CGBQualTextPanel::Create | ( | wxWindow * | parent, |
wxWindowID | id = ID_CGBQUALTEXTPANEL , |
||
const wxString & | caption = _("GBQualText Panel") , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, -1) , |
||
long | style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
||
) |
Creation.
CGBQualTextPanel creator
Definition at line 82 of file gbqualtext_panel.cpp.
References CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CGBQualTextPanel().
void CGBQualTextPanel::CreateControls | ( | ) |
Creates the controls and sizers.
Control creation for CGBQualTextPanel
Definition at line 126 of file gbqualtext_panel.cpp.
References ID_TEXTCTRL, and m_theValue.
Referenced by Create().
wxBitmap CGBQualTextPanel::GetBitmapResource | ( | const wxString & | name | ) |
Retrieves bitmap resources.
Get bitmap resources
Definition at line 167 of file gbqualtext_panel.cpp.
wxIcon CGBQualTextPanel::GetIconResource | ( | const wxString & | name | ) |
|
virtual |
Reimplemented from CFormattedQualPanel.
Definition at line 147 of file gbqualtext_panel.cpp.
References m_theValue, ToStdString(), and val.
void CGBQualTextPanel::Init | ( | void | ) |
Initialises member variables.
Member initialisation
Definition at line 114 of file gbqualtext_panel.cpp.
References m_theValue, and NULL.
Referenced by CGBQualTextPanel().
|
virtual |
Reimplemented from CFormattedQualPanel.
Definition at line 141 of file gbqualtext_panel.cpp.
References m_theValue, ToWxString(), and val.
|
static |
Should we show tooltips?
Should we show tooltips?
Definition at line 158 of file gbqualtext_panel.cpp.
wxTextCtrl* CGBQualTextPanel::m_theValue |
Definition at line 119 of file gbqualtext_panel.hpp.
Referenced by CreateControls(), GetValue(), Init(), and SetValue().