00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef MUVINOMAINDLG_H
00011 #define MUVINOMAINDLG_H
00012
00013 #include <qvariant.h>
00014 #include <qpixmap.h>
00015 #include <qmainwindow.h>
00016
00017 class QVBoxLayout;
00018 class QHBoxLayout;
00019 class QGridLayout;
00020 class QAction;
00021 class QActionGroup;
00022 class QToolBar;
00023 class QPopupMenu;
00024 class QButtonGroup;
00025 class QCheckBox;
00026 class QFrame;
00027 class QLabel;
00028 class QListView;
00029 class QListViewItem;
00030 class QPushButton;
00031 class QSlider;
00032 class QSpinBox;
00033 class QTextEdit;
00034 class QToolButton;
00035
00036 class MuvinoMainDlg : public QMainWindow
00037 {
00038 Q_OBJECT
00039
00040 public:
00041 MuvinoMainDlg( QWidget* parent = 0, const char* name = 0, WFlags fl = WType_TopLevel );
00042 ~MuvinoMainDlg();
00043
00044 QListView* mp7DocTreeView;
00045 QLabel* mp7ElementValueLabel;
00046 QTextEdit* mp7ElementValueEdit;
00047 QLabel* videoWidget;
00048 QFrame* playerControlFrame;
00049 QFrame* playerControlTopFrame;
00050 QLabel* displayRateTitle;
00051 QFrame* displayRateFrame;
00052 QLabel* displayRateLabel0;
00053 QSlider* displayRateSlider;
00054 QLabel* displayRateLabel1;
00055 QLabel* displayRateLabel3;
00056 QLabel* displayRateLabel2;
00057 QLabel* displayRateLabel4;
00058 QLabel* currentMediaTimeTitle;
00059 QLabel* currentMediaTimeLabel;
00060 QCheckBox* audioCheckBox;
00061 QButtonGroup* playerButtonGroup;
00062 QPushButton* playerButtonStart;
00063 QPushButton* playerButtonBack3s;
00064 QPushButton* playerButtonStop;
00065 QPushButton* playerButtonPlay;
00066 QLabel* segmentNavLabel;
00067 QFrame* segmentNavFrame;
00068 QPushButton* segmentNavSplitButton;
00069 QPushButton* segmentNavKeyFrameButton;
00070 QPushButton* segmentNavDeleteButton;
00071 QPushButton* segmentNavEditButton;
00072 QToolButton* segmentNavPrevSiblingButton;
00073 QLabel* segmentNavLevelLabel;
00074 QSpinBox* segmentNavLevelSpinbox;
00075 QToolButton* segmentNavNextSiblingButton;
00076 QLabel* segmentNavCurrentTitle;
00077 QSlider* segmentNavCurrentSlider;
00078 QLabel* segmentNavCurrentTimeStart;
00079 QLabel* segmentNavCurrentLabel;
00080 QLabel* segmentNavCurrentTimeEnd;
00081 QLabel* segmentNavTotalTitle;
00082 QSlider* segmentNavTotalSlider;
00083 QLabel* segmentNavTotalTimeStart;
00084 QLabel* segmentNavTotalLabel;
00085 QLabel* segmentNavTotalTimeEnd;
00086 QMenuBar *menubar;
00087 QPopupMenu *fileMenu;
00088 QToolBar *toolBar;
00089 QAction* fileNewAction;
00090 QAction* fileOpenAction;
00091 QAction* fileSaveAction;
00092 QAction* fileSaveAsAction;
00093 QAction* fileExitAction;
00094 QAction* fileLoadVideoAction;
00095
00096 public slots:
00097 virtual void fileNew();
00098 virtual void fileOpen();
00099 virtual void fileSave();
00100 virtual void fileSaveAs();
00101 virtual void fileExit();
00102 virtual void treeViewClicked(QListViewItem *item);
00103 virtual void fileLoadVideo();
00104 virtual void playerStop();
00105 virtual void playerPlay();
00106 virtual void playerBack3s();
00107 virtual void playerStart();
00108 virtual void setDisplayRateFromSlider(int);
00109 virtual void playerAudioStateChange(int);
00110 virtual void treeViewSelectItem(QListViewItem * item);
00111 virtual void mp7ElementValueChange();
00112 virtual void setTitleImage();
00113
00114 protected:
00115 QHBoxLayout* MuvinoMainDlgLayout;
00116 QVBoxLayout* leftVLayout;
00117 QVBoxLayout* rightVLayout;
00118 QVBoxLayout* playerControlFrameLayout;
00119 QHBoxLayout* playerControlTopFrameLayout;
00120 QVBoxLayout* mediatime_audiocheckbox_layout;
00121 QHBoxLayout* currentMediaTimeLayout;
00122 QHBoxLayout* audioCheckBoxLayout;
00123 QHBoxLayout* playerButtonGroupLayout;
00124 QVBoxLayout* segmentNavFrameLayout;
00125 QHBoxLayout* segmentNavButtonHLayout;
00126 QHBoxLayout* segmentNavControlHLayout;
00127 QHBoxLayout* segmentNavCurrentLayout;
00128 QHBoxLayout* segmentNavTotalLayout;
00129
00130 protected slots:
00131 virtual void languageChange();
00132 private:
00133 QPixmap image0;
00134 QPixmap image1;
00135 QPixmap image2;
00136 QPixmap image3;
00137 QPixmap image4;
00138
00139 };
00140
00141 #endif // MUVINOMAINDLG_H