author | mickeyl <mickeyl> | 2003-04-13 22:27:57 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-04-13 22:27:57 (UTC) |
commit | f47258125bac368987a90ca49a118721ecbc3a8b (patch) (side-by-side diff) | |
tree | 04d137fce8890a311d0cc1c3ab2853acc64ccb45 /noncore/multimedia/camera/mainwindow.h | |
parent | 053c38bb48ae8e7563293bc029f3c9d029b947f7 (diff) | |
download | opie-f47258125bac368987a90ca49a118721ecbc3a8b.zip opie-f47258125bac368987a90ca49a118721ecbc3a8b.tar.gz opie-f47258125bac368987a90ca49a118721ecbc3a8b.tar.bz2 |
make opiecam work!
Diffstat (limited to 'noncore/multimedia/camera/mainwindow.h') (more/less context) (ignore 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 @@ -21,6 +21,8 @@ #include <qimage.h> #include <qpixmap.h> +class QAction; +class QActionGroup; class QIconSet; class QToolButton; class QLabel; @@ -39,15 +41,33 @@ class CameraMainWindow: public QMainWindow public slots: void changeZoom( int ); void systemMessage( const QCString&, const QByteArray& ); - void showContextMenu(); + void resoMenuItemClicked( QAction* ); + void qualityMenuItemClicked( QAction* ); + void zoomMenuItemClicked( QAction* ); + void outputMenuItemClicked( QAction* ); + void shutterClicked(); protected: + void init(); private: PreviewWidget* preview; int _rotation; QCopChannel* _sysChannel; + + QActionGroup* resog; + QActionGroup* qualityg; + QActionGroup* zoomg; + QActionGroup* outputg; + + int quality; + int zoom; + int captureX; + int captureY; + QString captureFormat; + + int _pics; }; #endif |