26 #ifndef __wxInstantChooserPanel_h_INCLUDED_H__
27 #define __wxInstantChooserPanel_h_INCLUDED_H__
35 #include <wx/wxprec.h>
58 BEGIN_DECLARE_EVENT_TYPES()
59 DECLARE_EVENT_TYPE(wxINSTANT_CHOOSER_CHANGE,400)
60 END_DECLARE_EVENT_TYPES()
78 wxInstantChooserPanel (wxWindow * parent, std::string title,
bool theOrientation,
bool resolutionALL =
false, std::string configurationElem=
"", std::string groupConfig =
"");
80 wxInstantChooserPanel (wxWindow * parent,wxWindowID
id ,std::string title,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
bool theOrientation=
true, std::string configurationElem=
"", std::string groupConfig =
"");
95 void addConcept(std::string aConceptName,
int minV,
int maxV,
int actualV);
97 void setWxEventHandler( wxEvtHandler * theEventHandler );
102 void onResolutionSlider( wxScrollEvent& event );
104 void onCheckBoxClicked( wxCommandEvent& event );
106 void onConceptRelease( wxCommandEvent& event );
121 void setInstant(std::vector<int> choiceInstant);
123 void setInstant(std::map<std::string,int>* _actualInstant );
125 void getInstant(std::vector<int> & choiceInstant);
127 void getInstantData(std::map<std::string,int> & choiceInstantData);
129 std::map<std::string,int>* getInstantData();
131 void setResolutionRangeWithLasUpdate();
133 void refreshConceptLabels();
135 void setConfiguration(std::string aConfiguration);
137 std::string getConfiguration();
139 void setResolutionOverAll(
bool condition );
141 bool getIfResolutionOverAll();
143 void setConceptValue( std::string theConceptName,
int theValue );
145 int getConceptValue( std::string theConceptName );
149 bool getIfConceptCheckedAt( std::string theConceptName,
int atChecksPosition );
151 void onChangeInstant( wxCommandEvent& event );
153 void addConcepts(std::vector<std::string> conceptNameVect,std::vector<int> conceptSizeVect);
159 void initializeResolutionSlider();
161 void changeResolutionAtConceptControl(
wxConceptControl * theConceptToUpdate );
163 void setVerticalMaxSelectedNums( std::string groupMaxVertNums );