00001 #ifndef SEGMENTATIONDIALOG_H 00002 #define SEGMENTATIONDIALOG_H 00003 00004 #include <QDialog> 00005 #include <QString> 00006 00007 class QComboBox; 00008 class QSpinBox; 00009 class QPushButton; 00010 00011 namespace ViewerNS { 00015 class SegmentationDialog: public QDialog { 00016 public: 00017 SegmentationDialog(QWidget *parent=0); 00022 QString getSelected() const; 00027 int getNumberSegment() const; 00028 00029 private: 00030 QComboBox *box; 00031 QSpinBox *spin; 00032 QPushButton *cancel; 00033 QPushButton *ok; 00034 }; 00035 } 00036 00037 #endif // SEGMENTATIONDIALOG_H