NCBI C++ ToolKit
|
Search Toolkit Book for CRegionPanel
#include "region_panel.hpp"
(Private to src/gui/widgets/edit
.)
Public Member Functions | |
CRegionPanel () | |
Constructors. More... | |
CRegionPanel (wxWindow *parent, string region, wxWindowID id=10017, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL) | |
bool | Create (wxWindow *parent, wxWindowID id=10017, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL) |
Creation. More... | |
~CRegionPanel () | |
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... | |
virtual bool | TransferDataFromWindow () |
string | GetRegion () |
bool | GetConvertToMiscFeat (void) |
Static Public Member Functions | |
static bool | ShowToolTips () |
Should we show tooltips? More... | |
Private Attributes | |
string | m_Region |
wxTextCtrl * | m_TextCtrl |
wxCheckBox * | m_ConvertToMiscFeat |
Definition at line 68 of file region_panel.hpp.
CRegionPanel::CRegionPanel | ( | ) |
CRegionPanel::CRegionPanel | ( | wxWindow * | parent, |
string | region, | ||
wxWindowID | id = 10017 , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
Definition at line 69 of file region_panel.cpp.
References Create(), Init(), and ncbi::grid::netcache::search::fields::size.
CRegionPanel::~CRegionPanel | ( | ) |
Destructor.
Definition at line 100 of file region_panel.cpp.
bool CRegionPanel::Create | ( | wxWindow * | parent, |
wxWindowID | id = 10017 , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
Creation.
CRNAPanel creator
Definition at line 82 of file region_panel.cpp.
References CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CRegionPanel().
void CRegionPanel::CreateControls | ( | ) |
Creates the controls and sizers.
Definition at line 115 of file region_panel.cpp.
References _, ID_REGIONPANEL_TEXTCTRL, m_ConvertToMiscFeat, m_Region, m_TextCtrl, ToWxString(), and wxID_ANY.
Referenced by Create().
wxBitmap CRegionPanel::GetBitmapResource | ( | const wxString & | name | ) |
|
inline |
Definition at line 104 of file region_panel.hpp.
References m_ConvertToMiscFeat.
Referenced by CEditObjectSeq_feat::GetEditCommand().
wxIcon CRegionPanel::GetIconResource | ( | const wxString & | name | ) |
string CRegionPanel::GetRegion | ( | void | ) |
Definition at line 172 of file region_panel.cpp.
References m_Region.
Referenced by CEditObjectSeq_feat::GetEditCommand().
void CRegionPanel::Init | ( | void | ) |
Initialises member variables.
Member initialisation
Definition at line 109 of file region_panel.cpp.
References m_ConvertToMiscFeat, and NULL.
Referenced by CRegionPanel().
|
static |
|
virtual |
Definition at line 131 of file region_panel.cpp.
References m_Region, m_TextCtrl, result, and ToStdString().
|
private |
Definition at line 108 of file region_panel.hpp.
Referenced by CreateControls(), GetConvertToMiscFeat(), and Init().
|
private |
Definition at line 106 of file region_panel.hpp.
Referenced by CreateControls(), GetRegion(), and TransferDataFromWindow().
|
private |
Definition at line 107 of file region_panel.hpp.
Referenced by CreateControls(), and TransferDataFromWindow().