00001 #ifndef __interfToolsSpreadPanelH__ 00002 #define __interfToolsSpreadPanelH__ 00003 00004 #include <wx/wx.h> 00005 #include <wx/radiobox.h> 00006 #include <wx/sizer.h> 00007 #include <wx/stattext.h> 00008 #include <wx/scrolwin.h> 00009 #include <wx/list.h> 00010 00011 00012 #include "interfMenuBar.h" 00013 00014 class interfToolsSpreadPanel 00015 : public wxPanel 00016 { 00017 public: 00018 interfToolsSpreadPanel(wxWindow * parent, int sizex, int sizey,wxEvtHandler* evtHandler); 00019 ~interfToolsSpreadPanel(); 00020 00026 void addContourCheckBox(std::string id); 00027 00033 void removeContourCheckBox(std::string id); 00034 00035 private: 00036 wxPanel* resetbuttxt; 00037 wxPanel* gobuttxt; 00038 wxPanel* radiobox; 00039 wxPanel* addremovecont; 00040 //Atributes for managing the events of adding and removing the checkbox 00041 wxScrolledWindow* scrollwin; 00042 wxFlexGridSizer* checkboxsizer; 00043 std::vector<std::string> checkvect; 00044 00045 00046 00050 wxPanel* initializeRadioBox(); 00051 00058 wxPanel* initializeButton(std::string path, std::string nom); 00059 00067 wxPanel* initializeAddRemoveContour(); 00068 00069 00070 00071 00072 }; 00073 00074 #endif 00075