author | mickeyl <mickeyl> | 2003-04-12 15:02:32 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-04-12 15:02:32 (UTC) |
commit | 2cc909c36a779d1041a3382939f8ad41d84b0fc5 (patch) (unidiff) | |
tree | 42c95673d72f7ecb7a8f4acbb0f517dd75ecc167 /noncore/multimedia/camera/mainwindow.h | |
parent | 11861d35730cee70920aa6797ba12263bbcce081 (diff) | |
download | opie-2cc909c36a779d1041a3382939f8ad41d84b0fc5.zip opie-2cc909c36a779d1041a3382939f8ad41d84b0fc5.tar.gz opie-2cc909c36a779d1041a3382939f8ad41d84b0fc5.tar.bz2 |
- make main layout a full preview window and think about configuring capturing parameters later...adding an on-demand-applet to the taskbar would be spiffy
- portrait or landscape mode is now self-configuring thanks to life-rotation :-D
Diffstat (limited to 'noncore/multimedia/camera/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/camera/mainwindow.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/multimedia/camera/mainwindow.h b/noncore/multimedia/camera/mainwindow.h index 7ccdcf8..cc12840 100644 --- a/noncore/multimedia/camera/mainwindow.h +++ b/noncore/multimedia/camera/mainwindow.h | |||
@@ -22,25 +22,30 @@ | |||
22 | #include <qpixmap.h> | 22 | #include <qpixmap.h> |
23 | 23 | ||
24 | class QIconSet; | 24 | class QIconSet; |
25 | class QToolButton; | 25 | class QToolButton; |
26 | class QLabel; | 26 | class QLabel; |
27 | class MainWindowBase; | 27 | class MainWindowBase; |
28 | class QCopChannel; | ||
29 | class PreviewWidget; | ||
28 | 30 | ||
29 | class CameraMainWindow: public QMainWindow | 31 | class CameraMainWindow: public QMainWindow |
30 | { | 32 | { |
31 | Q_OBJECT | 33 | Q_OBJECT |
32 | 34 | ||
33 | public: | 35 | public: |
34 | CameraMainWindow( QWidget * parent = 0, const char * name = "mainwindow", WFlags f = 0 ); | 36 | CameraMainWindow( QWidget * parent = 0, const char * name = "mainwindow", WFlags f = 0 ); |
35 | virtual ~CameraMainWindow(); | 37 | virtual ~CameraMainWindow(); |
36 | 38 | ||
37 | public slots: | 39 | public slots: |
38 | void changeZoom( int ); | 40 | void changeZoom( int ); |
41 | void systemMessage( const QCString&, const QByteArray& ); | ||
39 | 42 | ||
40 | protected: | 43 | protected: |
41 | 44 | ||
42 | private: | 45 | private: |
43 | MainWindowBase* mw; | 46 | PreviewWidget* preview; |
47 | int _rotation; | ||
48 | QCopChannel* _sysChannel; | ||
44 | }; | 49 | }; |
45 | 50 | ||
46 | #endif | 51 | #endif |