QIGUIGeneralCutDialog.hh
00001 #ifndef _QIGUI_GENERALCUTDIALOG__H_
00002 #define _QIGUI_GENERALCUTDIALOG__H_
00003
00004
00005 #include <QDialog>
00006 #include <QString>
00007 #include <vector>
00008 #include "ui_GeneralCutDialog.h"
00009
00010 class QIGUISession;
00011 class QIGUIGeneralCut;
00012
00013
00014 class QIGUIGeneralCutDialog: public QDialog, public Ui::GeneralCutDialog
00015 {
00016 Q_OBJECT
00017
00018 public:
00019 QIGUIGeneralCutDialog (QString name, QWidget * parent=0);
00020 QIGUIGeneralCutDialog (QString name, QIGUISession * session, QWidget * parent=0);
00021 virtual ~QIGUIGeneralCutDialog();
00022
00023 void Init();
00024 void CreateSignals();
00025 void SetCut(QIGUIGeneralCut * cut) ;
00026
00027 public slots:
00028 void SaveChangesAndQuit();
00029 void SaveChanges();
00030 void CopyCuts();
00031 void LoadCuts();
00032
00033
00034
00035
00036
00037 private slots:
00038
00039 private:
00040 QString fCutTitle;
00041 QString fName;
00042 int fNChannels;
00043 std::vector<int> fChannels;
00044 QIGUISession * fSession;
00045
00046 QIGUIGeneralCut * fCut;
00047
00048 public:
00049
00050 static int kAccept;
00051 static int kReject;
00052
00053
00054
00055
00056 };
00057
00058
00059 #endif