summaryrefslogtreecommitdiff
path: root/src/mainwindow.cc
diff options
context:
space:
mode:
authordeva <deva>2005-07-25 14:27:14 +0000
committerdeva <deva>2005-07-25 14:27:14 +0000
commit0f2fc6abcdfb405dcc4c0ed7ea90df2f082b740c (patch)
tree3b3f31a63c6c3c7299fa4edb2d8e106c4367249d /src/mainwindow.cc
parent442c6ec72cbafacbfb6044e1a80c6eaadf8f070e (diff)
*** empty log message ***
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r--src/mainwindow.cc11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index 8eb06f0..c540767 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -31,6 +31,9 @@
/*
* $Log$
+ * Revision 1.40 2005/07/25 14:27:14 deva
+ * *** empty log message ***
+ *
* Revision 1.39 2005/07/25 12:42:13 deva
* *** empty log message ***
*
@@ -288,6 +291,7 @@ void MainWindow::createGui()
img_live->setFixedSize(output_width - 20, output_height - 20);
img_live->move(10,10);
g1->addMultiCellWidget ( img_recedge, 0, 0, 0, 2, Qt::AlignHCenter);
+ QObject::connect( img_live, SIGNAL(clicked()), this, SLOT(live_clicked()) );
// CPR/NAME LABEL + CPR button
lbl_cpr = createLabel("", output_width - (int)(BUTTON_WIDTH * unit), BUTTON_HEIGHT);
@@ -326,7 +330,7 @@ void MainWindow::createGui()
g1->addWidget(btn_freeze, 3, 2);
// History widgets
- int w = (int)(BUTTON_WIDTH * unit);
+ int w = (int)((float)BUTTON_WIDTH * unit);
int h = (int)(576.0f / (720.0f / ((float)BUTTON_WIDTH * unit)));
QImage dummy_resized = img_dummy->smoothScale(w, h);
@@ -455,6 +459,11 @@ void MainWindow::clear()
lbl_cpr->setText("");
}
+void MainWindow::live_clicked()
+{
+ info->info("live_clicked");
+}
+
void MainWindow::clear_clicked()
{
if(MessageBox(this,