X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FInterface_Icons_NDimensions%2FinterfToolsPanels.h;h=e0784f26d5b63e2297846a25b69557d6e9871062;hb=dfdd7c80dbd20fea642090201b64eb7119a144bf;hp=093349ed4bbde8eeacd6d03db7089261cd8a3fec;hpb=a00c5fd269140ac09f0a7a9b36a97bb040f62f86;p=creaContours.git diff --git a/lib/Interface_Icons_NDimensions/interfToolsPanels.h b/lib/Interface_Icons_NDimensions/interfToolsPanels.h index 093349e..e0784f2 100644 --- a/lib/Interface_Icons_NDimensions/interfToolsPanels.h +++ b/lib/Interface_Icons_NDimensions/interfToolsPanels.h @@ -92,7 +92,41 @@ private: }; +//CMRU 29-08-09----------------------------------------------------------------------------------------------- +/** +* This class represents the calibration panel in the interface icons +*/ +class interfCalibrationPanel + : public wxPanel +{ +public: + + /** + * Initialized the panel + * @param parent Window who contains the panel + */ + interfCalibrationPanel(wxWindow * parent); + + ~interfCalibrationPanel(); + /** + * Manages the event associated with the button of calibration + */ + void onCalibrate(wxCommandEvent& event); + +private: + + /** + * Text field of the calibration measure + */ + wxTextCtrl * _size; + + /** + * Radio Box with the measurement units + */ + wxRadioBox * _unitsRadiobox; +}; +//------------------------------------------------------------------------------------------------------------ #endif