Search Toolkit Book for _fieldvalue_panel_8cpp_source
Go to the documentation of this file. 42 #include <wx/choice.h> 44 #include <wx/wupdlock.h> 91CFieldNamePanel::Create( parent,
id, pos,
size, style );
96GetSizer()->SetSizeHints(
this);
136wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxVERTICAL);
137itemPanel1->SetSizer(itemBoxSizer2);
139wxArrayString m_StructFieldStrings;
141itemBoxSizer2->Add(
m_StructField, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
165 if(!field_names.
empty()) {
167wxArrayString arraystr;
168arraystr.Alloc(
size);
170it != field_names.
end(); ++it ){
175this->SetSizerAndFit(GetSizer());
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
virtual bool SetFieldName(const string &field)
static bool ShowToolTips()
Should we show tooltips?
void ListStructCommentFields(const set< string > &field_names)
bool Create(wxWindow *parent, wxWindowID id=ID_CSTRUCTFIELDVALUEPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
void CreateControls()
Creates the controls and sizers.
void Init()
Initialises member variables.
CStructFieldValuePanel()
Constructors.
~CStructFieldValuePanel()
Destructor.
virtual string GetFieldName(const bool subfield)
Returns the name of the field as selected in the panel.
const_iterator begin() const
const_iterator end() const
const char * kStructCommFieldValuePair
#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
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