]> Creatis software - creaImageIO.git/blob - src/creaImageIOWxOutputDlg.h
19cac52e6975a62801f15425b361ec503ff23277
[creaImageIO.git] / src / creaImageIOWxOutputDlg.h
1 #ifndef __creaImageIOWxOutputDlg_h_INCLUDED__
2 #define __creaImageIOOutputtDlg_h_INCLUDED__
3
4 #ifdef USE_WXWIDGETS
5 #include <creaWx.h>
6 #include <creaImageIOWxGimmickView.h>
7
8
9
10 namespace creaImageIO{
11         /**
12    * \ingroup GUI
13    */
14   //=====================================================================
15  //=====================================================================
16  /// WxOutputDlg allows to select the different output format
17  ///
18         class WxOutputDlg : public wxDialog
19         {
20         public:
21                 ///CTor
22                 WxOutputDlg (wxWindow *parent, const std::vector<std::string> filenames, int i_dim, bool single);
23                 ///DTor
24                 ~WxOutputDlg();
25
26         /// Get selected storage
27         const std::string getAsking();
28         const std::string getDim();
29         
30         private:
31
32                 ///Validate selected storage
33                 void OnOk(wxCommandEvent &event);
34
35                 std::vector<wxCheckBox*> checkOut;
36                 void OnChange(wxCommandEvent& event);
37
38                 wxCheckBox      *checkAsking;
39
40         };
41 }
42 #endif // USE_WIDGETS
43 // EOF
44 #endif// __creaImageIOWxOutputDlg_h_INCLUDED__