CFieldNamePanel::Create(parent,
id, pos,
size, style);
91GetSizer()->SetSizeHints(
this);
133wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxVERTICAL);
134itemPanel1->SetSizer(itemBoxSizer2);
136wxBoxSizer* itemBoxSizer3 =
newwxBoxSizer(wxHORIZONTAL);
137itemBoxSizer2->Add(itemBoxSizer3, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
139wxArrayString m_GenIDStrings;
141itemBoxSizer3->Add(
m_GenID, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
143 m_Dblabel=
newwxStaticText( itemPanel1, wxID_STATIC,
_(
"Db:"), wxDefaultPosition, wxDefaultSize, 0 );
144itemBoxSizer3->Add(
m_Dblabel, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
147itemBoxSizer3->Add(
m_DbName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
151 m_GenID->Append(m_GenIDStrings);
164vector<string> options;
static const string & GetName_GeneralIDPart(EGeneralIDPart stype_part)
virtual bool SetFieldName(const string &field)
static bool ShowToolTips()
Should we show tooltips?
~CGeneralIDPanel()
Destructor.
void OnGeneralIDChoice(wxCommandEvent &event)
wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_CGENERALID_CHOICE
CGeneralIDPanel()
Constructors.
void CreateControls()
Creates the controls and sizers.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
bool Create(wxWindow *parent, wxWindowID id=ID_CGENERALIDPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
vector< string > x_GetStrings()
virtual string GetFieldName(const bool subfield=false)
Returns the name of the field as selected in the panel.
void Init()
Initialises member variables.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
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)
void ToArrayString(const vector< string > &out, wxArrayString &in)
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