(parent,
id, caption, pos,
size, style);
86SetExtraStyle(wxWS_EX_BLOCK_EVENTS);
87CFormattedQualPanel::Create( parent,
id, pos,
size, style );
92GetSizer()->SetSizeHints(
this);
135wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxVERTICAL);
136itemCFormattedQualPanel1->SetSizer(itemBoxSizer2);
138wxBoxSizer* itemBoxSizer3 =
newwxBoxSizer(wxHORIZONTAL);
139itemBoxSizer2->Add(itemBoxSizer3, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 0);
141wxArrayString m_ControlledListCtrlStrings;
146itemBoxSizer3->Add(
m_FreeTextCtrl, 0, wxALIGN_CENTER_VERTICAL|wxALL, 0);
159 if(pos == string::npos) {
167 stringpart1 =
val.substr(0, pos);
168 stringpart2 =
val.substr(pos + 1);
190 string val= part1 +
":"+ part2;
201 if(height !=
NULL) {
209 if(width !=
NULL) {
219 ITERATE(vector<string>, it, choices) {
267wxTextCtrl* item = (wxTextCtrl*)event.GetEventObject();
virtual void NotifyParentOfChange()
void OnTextctrl28TextUpdated(wxCommandEvent &event)
wxEVT_COMMAND_TEXT_UPDATED event handler for ID_TEXTCTRL28
void Init()
Initialises member variables.
virtual void GetDimensions(int *width, int *height)
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
wxTextCtrl * m_FreeTextCtrl
void SetControlledList(vector< string > choices)
void CreateControls()
Creates the controls and sizers.
virtual void SetValue(string val)
virtual string GetValue()
wxChoice * m_ControlledListCtrl
bool Create(wxWindow *parent, wxWindowID id=ID_CTWOPARTQUALPANEL, const wxString &caption=_("TwoPartQualPanel"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
Creation.
static bool ShowToolTips()
Should we show tooltips?
~CTwoPartQualPanel()
Destructor.
CTwoPartQualPanel()
Constructors.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
#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