summaryrefslogtreecommitdiff
path: root/noncore/multimedia/camera/mainwindow.h
authormickeyl <mickeyl>2003-04-06 14:38:18 (UTC)
committer mickeyl <mickeyl>2003-04-06 14:38:18 (UTC)
commit0b985ce87d6ce6d4110a50d5be48831d34794cd2 (patch) (unidiff)
treeda19d8dc2cd2b37d15220783940652e8e91f3843 /noncore/multimedia/camera/mainwindow.h
parent91d65a97c956963a24f418fadd7cd69f6a52f5d5 (diff)
downloadopie-0b985ce87d6ce6d4110a50d5be48831d34794cd2.zip
opie-0b985ce87d6ce6d4110a50d5be48831d34794cd2.tar.gz
opie-0b985ce87d6ce6d4110a50d5be48831d34794cd2.tar.bz2
- add realtime preview widget with zoom control
The camera driver is damn slow. For a 240x160x16 image, it takes ~100ms. That gives approx. 10fps which is too slow for doing video. :(
Diffstat (limited to 'noncore/multimedia/camera/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/camera/mainwindow.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/noncore/multimedia/camera/mainwindow.h b/noncore/multimedia/camera/mainwindow.h
index 521107b..7ccdcf8 100644
--- a/noncore/multimedia/camera/mainwindow.h
+++ b/noncore/multimedia/camera/mainwindow.h
@@ -19,2 +19,5 @@
19#include <qmainwindow.h> 19#include <qmainwindow.h>
20#include <qdatetime.h>
21#include <qimage.h>
22#include <qpixmap.h>
20 23
@@ -23,2 +26,3 @@ class QToolButton;
23class QLabel; 26class QLabel;
27class MainWindowBase;
24 28
@@ -32,9 +36,9 @@ class CameraMainWindow: public QMainWindow
32 36
33 protected:
34
35 public slots: 37 public slots:
36 void clickedSnapShot(); 38 void changeZoom( int );
39
40 protected:
37 41
38 private: 42 private:
39 QLabel* l; 43 MainWindowBase* mw;
40}; 44};