Diffstat (limited to 'noncore/multimedia/camera/mainwindow.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/camera/mainwindow.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/noncore/multimedia/camera/mainwindow.h b/noncore/multimedia/camera/mainwindow.h index df66204..7a12452 100644 --- a/noncore/multimedia/camera/mainwindow.h +++ b/noncore/multimedia/camera/mainwindow.h | |||
@@ -18,12 +18,14 @@ | |||
18 | 18 | ||
19 | #include <qmainwindow.h> | 19 | #include <qmainwindow.h> |
20 | #include <qdatetime.h> | 20 | #include <qdatetime.h> |
21 | #include <qimage.h> | 21 | #include <qimage.h> |
22 | #include <qpixmap.h> | 22 | #include <qpixmap.h> |
23 | 23 | ||
24 | class QAction; | ||
25 | class QActionGroup; | ||
24 | class QIconSet; | 26 | class QIconSet; |
25 | class QToolButton; | 27 | class QToolButton; |
26 | class QLabel; | 28 | class QLabel; |
27 | class MainWindowBase; | 29 | class MainWindowBase; |
28 | class QCopChannel; | 30 | class QCopChannel; |
29 | class PreviewWidget; | 31 | class PreviewWidget; |
@@ -36,18 +38,36 @@ class CameraMainWindow: public QMainWindow | |||
36 | CameraMainWindow( QWidget * parent = 0, const char * name = "mainwindow", WFlags f = 0 ); | 38 | CameraMainWindow( QWidget * parent = 0, const char * name = "mainwindow", WFlags f = 0 ); |
37 | virtual ~CameraMainWindow(); | 39 | virtual ~CameraMainWindow(); |
38 | 40 | ||
39 | public slots: | 41 | public slots: |
40 | void changeZoom( int ); | 42 | void changeZoom( int ); |
41 | void systemMessage( const QCString&, const QByteArray& ); | 43 | void systemMessage( const QCString&, const QByteArray& ); |
42 | |||
43 | void showContextMenu(); | 44 | void showContextMenu(); |
45 | void resoMenuItemClicked( QAction* ); | ||
46 | void qualityMenuItemClicked( QAction* ); | ||
47 | void zoomMenuItemClicked( QAction* ); | ||
48 | void outputMenuItemClicked( QAction* ); | ||
49 | void shutterClicked(); | ||
44 | 50 | ||
45 | protected: | 51 | protected: |
52 | void init(); | ||
46 | 53 | ||
47 | private: | 54 | private: |
48 | PreviewWidget* preview; | 55 | PreviewWidget* preview; |
49 | int _rotation; | 56 | int _rotation; |
50 | QCopChannel* _sysChannel; | 57 | QCopChannel* _sysChannel; |
58 | |||
59 | QActionGroup* resog; | ||
60 | QActionGroup* qualityg; | ||
61 | QActionGroup* zoomg; | ||
62 | QActionGroup* outputg; | ||
63 | |||
64 | int quality; | ||
65 | int zoom; | ||
66 | int captureX; | ||
67 | int captureY; | ||
68 | QString captureFormat; | ||
69 | |||
70 | int _pics; | ||
51 | }; | 71 | }; |
52 | 72 | ||
53 | #endif | 73 | #endif |