CFieldNamePanel::Create( parent,
id, pos,
size, style );
86GetSizer()->SetSizeHints(
this);
126wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxVERTICAL);
127itemCFieldNamePanel1->SetSizer(itemBoxSizer2);
129wxBoxSizer* itemBoxSizer3 =
newwxBoxSizer(wxHORIZONTAL);
130itemBoxSizer2->Add(itemBoxSizer3, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
132wxStaticText* itemStaticText4 =
newwxStaticText( itemCFieldNamePanel1, wxID_STATIC,
_(
"Db:"), wxDefaultPosition, wxDefaultSize, 0 );
133itemBoxSizer3->Add(itemStaticText4, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
135 m_DbName=
newwxTextCtrl( itemCFieldNamePanel1,
ID_TXTCTRl_DBXREF, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
136itemBoxSizer3->Add(
m_DbName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
virtual string GetFieldName(const bool subfield=false)
Returns the name of the field as selected in the panel.
void Init()
Initialises member variables.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
CDbxrefNamePanel()
Constructors.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
static bool ShowToolTips()
Should we show tooltips?
void CreateControls()
Creates the controls and sizers.
virtual bool SetFieldName(const string &field)
bool Create(wxWindow *parent, wxWindowID id=ID_CDBXREFNAMEPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
~CDbxrefNamePanel()
Destructor.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
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