dataset_configuration_tab_widget.h

Go to the documentation of this file.
00001 
00011 //---------------------------------------------------
00012 
00013 #ifndef IMEDGINE_DATASET_CONFIGURATION_TAB_WIDGET_H
00014 #define IMEDGINE_DATASET_CONFIGURATION_TAB_WIDGET_H
00015 
00016 #include <qtabwidget.h>
00017 #include <map>
00018 #include <vector>
00019 
00020 #include "../exceptions/null_pointer_exception.h"
00021 
00022 //#include "visible_region_widget.h"
00023 
00024 namespace imedgine {
00025 
00026   //--------------------------------------------------
00037   //--------------------------------------------------
00038   
00039   class DatasetConfigurationTabWidget : public QTabWidget
00040   {
00041     Q_OBJECT
00042     
00043     public:
00044   
00045       //--------------------------------------------------
00048 
00049       DatasetConfigurationTabWidget(QWidget* parent = 0);
00050   
00051       //--------------------------------------------------
00054 
00055       virtual ~DatasetConfigurationTabWidget();
00056     
00057     public slots:
00058 
00059       //--------------------------------------------------
00064 
00065       void addDatasetConfigurationTab(dataset_key_type const& dataset_name)
00066         throw (NullPointerException);
00067 
00068       //--------------------------------------------------
00073 
00074       void addDatasetConfigurationTabs(std::vector<std::pair<dataset_key_type, dataset_type> > const& dataset_vector);
00075 
00076       //--------------------------------------------------
00080       void removeDatasetConfigurationTab(std::string dataset_name);
00081 
00082     protected:
00083 
00084       //--------------------------------------------------
00088       std::map<std::string, QWidget*> dataset_name_to_widget_;
00089   };
00090 }
00091 
00092 #endif

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