26 #ifndef __wxConceptControl_h_INCLUDED_H__
27 #define __wxConceptControl_h_INCLUDED_H__
35 #include <wx/wxprec.h>
53 BEGIN_DECLARE_EVENT_TYPES()
54 DECLARE_EVENT_TYPE( wxEVT_CONCEPT_RELEASE, -1 )
55 END_DECLARE_EVENT_TYPES()
71 wxConceptControl(wxWindow *parent,
bool orientation,
int minV,
int maxV,
int actualV, std::string &aConceptName, std::string elementsDef =
"");
79 void onUpdateUICheckBox(wxCommandEvent& event);
81 void OnCheckOrRadioBox(wxCommandEvent& event);
83 void onSliderTrack(wxScrollEvent& event);
85 void onSliderRelease(wxScrollEvent& event);
95 std::string getName();
97 int getMinShowedValue();
99 int getMaxShowedValue();
101 void setMinValue(
int theMin);
105 void setMaxValue(
int theMax);
109 void setActualValue(
int theActual);
111 int getActualValue();
113 void setShowLables(
bool ifShowCondition);
119 void clearCheckAt(
int position );
121 bool getIfChecked(
int position );
123 void setRange(
int minShow,
int maxShow);
127 int getNumCheckBox();
138 void createElements( wxSizer *sizer, std::string elementsDef );
140 wxCheckBox * createCheckBoxAndAddToSizer(wxSizer *sizer, std::string label, wxWindowID
id,
int groupID);
175 #endif // __wxConceptControl__