choose_datasets_dialog.h

Go to the documentation of this file.
00001 //--------------------------------------------------
00011 //---------------------------------------------------
00012 
00013 #ifndef IMEDGINECHOOSE_DATASETS_DIALOG_H
00014 #define IMEDGINECHOOSE_DATASETS_DIALOG_H
00015 
00016 #include <map>
00017 #include <QDialog>
00018 #include <QCheckBox>
00019 
00020 #include "../global/global_definitions.h"
00021 
00022 class QPushButton;
00023 
00024 namespace imedgine {
00025 
00026   //--------------------------------------------------
00038   //--------------------------------------------------
00039 
00040   class ChooseDatasetsDialog : public QDialog
00041   {
00042     Q_OBJECT
00043   public:
00044 
00045     //--------------------------------------------------
00050     
00051     ChooseDatasetsDialog(QWidget* parent, dataset_key_container_type loaded_datasets);
00052 
00053     //--------------------------------------------------
00056 
00057     virtual ~ChooseDatasetsDialog();
00058 
00059     //--------------------------------------------------
00063 
00064     dataset_key_container_type getDatasetsToSave();
00065 
00066   private slots:
00067 
00068     //--------------------------------------------------
00075 
00076     void datasetSelectionDone();
00077 
00078   private:
00079 
00080     typedef std::map<QCheckBox*, dataset_key_type> dataset_checkbox_type;
00081 
00082     dataset_checkbox_type dataset_checkbox_map_;
00083 
00084     dataset_key_container_type datasets_to_save_;
00085 
00086     QPushButton* cancel_push_button_;
00087     QPushButton* ok_push_button_;
00088 
00089 };
00090 
00091 }
00092 
00093 #endif

Generated on Sun Aug 13 18:19:39 2006 for iMEDgine by  doxygen 1.4.6