diff options
author | deva <deva> | 2006-04-12 13:41:45 +0000 |
---|---|---|
committer | deva <deva> | 2006-04-12 13:41:45 +0000 |
commit | 6da7cc9bd16bb16f03bf0695b79cb41f9f23f58f (patch) | |
tree | a8f94dd7ff7e10a308d0ce0787a8070a621c4fa6 /client/mainwindow.cc | |
parent | c9a7d3ecf5a5e979c4503dbf1f072898ffd72574 (diff) |
*** empty log message ***
Diffstat (limited to 'client/mainwindow.cc')
-rw-r--r-- | client/mainwindow.cc | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/client/mainwindow.cc b/client/mainwindow.cc index c3d29ba..239e10f 100644 --- a/client/mainwindow.cc +++ b/client/mainwindow.cc @@ -37,6 +37,8 @@ #include <QX11Info> #include <QMoveEvent> +#include "control.h" + QPushButton *MainWindow::createButton(char* icon) { QPixmap pixmap(icon); @@ -158,20 +160,20 @@ void MainWindow::record_clicked() void MainWindow::snapshot_clicked() { + MIaV::control.shoot(); history->addHistoryItem(new HistoryWidget(new QPixmap(PIXMAP_LOGO_SMALL))); } void MainWindow::freeze_clicked() { + if(MIaV::control.isFrozen()) { + MIaV::control.unfreeze(); + } else { + MIaV::control.freeze(); + } } void MainWindow::mute_clicked() { } -// A hack to ensure we draw the video in the right place -void MainWindow::moveEvent(QMoveEvent *event) -{ - QMoveEvent evt(video->pos(),video->pos()); - video->moveEvent(&evt); -} |