(parent,
id, caption, pos,
size, style);
84SetExtraStyle(wxWS_EX_BLOCK_EVENTS);
85CFormattedQualPanel::Create( parent,
id, pos,
size, style );
90GetSizer()->SetSizeHints(
this);
131wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxHORIZONTAL);
132itemCFormattedQualPanel1->SetSizer(itemBoxSizer2);
134wxStaticText* itemStaticText3 =
newwxStaticText( itemCFormattedQualPanel1, wxID_STATIC,
_(
"Start"), wxDefaultPosition, wxDefaultSize, 0 );
135itemBoxSizer2->Add(itemStaticText3, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
137 m_StartCtrl=
newwxTextCtrl( itemCFormattedQualPanel1,
ID_TEXTCTRL29, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
138itemBoxSizer2->Add(
m_StartCtrl, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
140wxStaticText* itemStaticText5 =
newwxStaticText( itemCFormattedQualPanel1, wxID_STATIC,
_(
"Stop"), wxDefaultPosition, wxDefaultSize, 0 );
141itemBoxSizer2->Add(itemStaticText5, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
143 m_StopCtrl=
newwxTextCtrl( itemCFormattedQualPanel1,
ID_TEXTCTRL30, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
144itemBoxSizer2->Add(
m_StopCtrl, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
152wxString start = wxEmptyString;
153wxString stop = wxEmptyString;
156 if(pos == string::npos) {
158 if(pos == string::npos) {
183 val= part1 +
".."+ part2;
void CreateControls()
Creates the controls and sizers.
CRptUnitRangePanel()
Constructors.
void Init()
Initialises member variables.
virtual string GetValue()
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
~CRptUnitRangePanel()
Destructor.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
virtual void SetValue(string val)
bool Create(wxWindow *parent, wxWindowID id=ID_CRPTUNITRANGEPANEL, const wxString &caption=_("RptUnitRangePanel"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
Creation.
static bool ShowToolTips()
Should we show tooltips?
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static bool IsBlank(const CTempString str, SIZE_TYPE pos=0)
Check if a string is blank (has no text).
static SIZE_TYPE Find(const CTempString str, const CTempString pattern, ECase use_case=eCase, EDirection direction=eForwardSearch, SIZE_TYPE occurrence=0)
Find the pattern in the string.
const struct ncbi::grid::netcache::search::fields::SIZE size
wxString ToWxString(const string &s)
string ToStdString(const wxString &s)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4