CFormattedQualPanel::Create( parent,
id, pos,
size, style );
92GetSizer()->SetSizeHints(
this);
134wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxHORIZONTAL);
135itemCFormattedQualPanel1->SetSizer(itemBoxSizer2);
137wxArrayString m_CategoryStrings;
138m_CategoryStrings.Add(wxEmptyString);
139m_CategoryStrings.Add(
_(
"COORDINATES"));
140m_CategoryStrings.Add(
_(
"DESCRIPTION"));
141m_CategoryStrings.Add(
_(
"EXISTENCE"));
142 m_Category=
newwxChoice( itemCFormattedQualPanel1,
ID_CHOICE18, wxDefaultPosition, wxDefaultSize, m_CategoryStrings, 0 );
143itemBoxSizer2->Add(
m_Category, 0, wxALIGN_CENTER_VERTICAL|wxALL, 0);
146itemBoxSizer2->Add(
m_Experiment, 0, wxALIGN_CENTER_VERTICAL|wxALL, 0);
148 m_PMID=
newwxTextCtrl( itemCFormattedQualPanel1,
ID_TEXTCTRL2, wxEmptyString, wxDefaultPosition, wxSize(120, -1), 0 );
149itemBoxSizer2->Add(
m_PMID, 0, wxALIGN_CENTER_VERTICAL|wxALL, 0);
196objects::CGb_qual::ParseExperiment(
val, category, experiment, doi);
217 stringrval = objects::CGb_qual::BuildExperiment(category, experiment, doi);
virtual void NotifyParentOfChange()
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
virtual void GetDimensions(int *width, int *height)
virtual string GetValue()
static bool ShowToolTips()
Should we show tooltips?
~CSingleExperimentPanel()
Destructor.
void CreateControls()
Creates the controls and sizers.
bool Create(wxWindow *parent, wxWindowID id=ID_CSINGLEEXPERIMENTPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
wxTextCtrl * m_Experiment
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
void OnExperimentTxtTextUpdated(wxCommandEvent &event)
wxEVT_COMMAND_TEXT_UPDATED event handler for ID_EXPERIMENT_TXT
void Init()
Initialises member variables.
virtual void SetValue(string val)
CSingleExperimentPanel()
Constructors.
#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 bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)
Case-insensitive equality of a substring with another string.
const struct ncbi::grid::netcache::search::fields::SIZE size
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