author | mickeyl <mickeyl> | 2003-04-19 00:40:00 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-04-19 00:40:00 (UTC) |
commit | 724bb4ef15cd02a360e49de9c67847a19d5ca832 (patch) (side-by-side diff) | |
tree | 0fc5f2aab63c005aa2cfd36f7517547c0aa62e1d /noncore/multimedia/camera/previewwidget.cpp | |
parent | 6e7112a3610c4e562f991ba6d6f33ca2fe0c605d (diff) | |
download | opie-724bb4ef15cd02a360e49de9c67847a19d5ca832.zip opie-724bb4ef15cd02a360e49de9c67847a19d5ca832.tar.gz opie-724bb4ef15cd02a360e49de9c67847a19d5ca832.tar.bz2 |
- fix shutter handling
- include manually overriding xflip and yflip
- prepare video capturing mode
- use caption to indicate current settings
Diffstat (limited to 'noncore/multimedia/camera/previewwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/camera/previewwidget.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/noncore/multimedia/camera/previewwidget.cpp b/noncore/multimedia/camera/previewwidget.cpp index f87dcc9..08330d0 100644 --- a/noncore/multimedia/camera/previewwidget.cpp +++ b/noncore/multimedia/camera/previewwidget.cpp @@ -72,3 +72,17 @@ void PreviewWidget::mousePressEvent( QMouseEvent* ) emit contextMenuRequested(); } + +void PreviewWidget::setRefreshingRate( int ms ) +{ + killTimers(); + if ( ms ) + startTimer( ms ); +} + + +void PreviewWidget::refresh() +{ + QTimerEvent t( 10 ); // event id is meaningless in this case + timerEvent( &t ); +} |