28 #ifndef _GENERALID_PANEL_H_
29 #define _GENERALID_PANEL_H_
44 #define SYMBOL_CGENERALIDPANEL_STYLE wxTAB_TRAVERSAL
45 #define SYMBOL_CGENERALIDPANEL_TITLE _("General ID")
46 #define SYMBOL_CGENERALIDPANEL_IDNAME ID_CGENERALIDPANEL
47 #define SYMBOL_CGENERALIDPANEL_SIZE wxSize(400, 300)
48 #define SYMBOL_CGENERALIDPANEL_POSITION wxDefaultPosition
71 bool Create( wxWindow* parent,
95 virtual string GetFieldName(
const bool subfield =
false);
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.
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define SYMBOL_CGENERALIDPANEL_STYLE
#define SYMBOL_CGENERALIDPANEL_SIZE
#define SYMBOL_CGENERALIDPANEL_IDNAME
#define SYMBOL_CGENERALIDPANEL_POSITION
#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