1 #ifndef GUI_WIDGETS_EDIT___MACRO_LOC_CONSTRAINT_PANEL__HPP
2 #define GUI_WIDGETS_EDIT___MACRO_LOC_CONSTRAINT_PANEL__HPP
49 #define ID_CMACROLOCATIONCONSTRAINT wxID_ANY
50 #define SYMBOL_CMACROLOCATIONCONSTRAINT_STYLE wxTAB_TRAVERSAL
51 #define SYMBOL_CMACROLOCATIONCONSTRAINT_IDNAME ID_CMACROLOCATIONCONSTRAINT
52 #define SYMBOL_CMACROLOCATIONCONSTRAINT_SIZE wxDefaultSize
53 #define SYMBOL_CMACROLOCATIONCONSTRAINT_POSITION wxDefaultPosition
75 bool Create( wxWindow* parent,
111 virtual pair<string, string>
GetMatcher(
const pair<string, string>& target,
size_t num);
112 virtual vector<CFuncWithArgs>
GetFuncWithArgs(
const pair<string, string>& target,
size_t num)
const;
virtual pair< string, string > GetMatcher(const pair< string, string > &target, size_t num)
string GetDescription() const
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
virtual void SetMatcher(const vector< CFuncWithArgs > &func_info)
string GetLocationConstraint()
CMacroLocationConstraintPanel()
Constructors.
void Init()
Initialises member variables.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
virtual vector< CFuncWithArgs > GetFuncWithArgs(const pair< string, string > &target, size_t num) const
void CreateControls()
Creates the controls and sizers.
static bool ShowToolTips()
Should we show tooltips?
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
~CMacroLocationConstraintPanel()
Destructor.
void OnLengthSelected(wxCommandEvent &event)
wxEVT_COMMAND_CHOICE_SELECTED event handler for wxID_ANY
void On5DistSelected(wxCommandEvent &event)
void On3DistSelected(wxCommandEvent &event)
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define SYMBOL_CMACROLOCATIONCONSTRAINT_POSITION
#define SYMBOL_CMACROLOCATIONCONSTRAINT_STYLE
#define SYMBOL_CMACROLOCATIONCONSTRAINT_IDNAME
#define SYMBOL_CMACROLOCATIONCONSTRAINT_SIZE
const struct ncbi::grid::netcache::search::fields::SIZE size