summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 25a938b..3b8f73c 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -35,6 +35,7 @@ using namespace std;
#include <qlabel.h>
#include <qpushbutton.h>
#include <qstatusbar.h>
+#include <qtimer.h>
#include "videowidget.h"
#include "camera.h"
@@ -50,6 +51,8 @@ using namespace std;
#define TXT_ERROR_TITLE "Der er opstået en fejl!"
#define TXT_READY "Klar..."
#define TXT_CPRDLG_TITLE "CPRQueryDialog"
+#define TXT_ASK_SAVE_TITLE "Vil du gemme filmen?"
+#define TXT_ASK_SAVE "Vil du gemme filmen permanent?"
/**
* Images
@@ -80,6 +83,7 @@ public slots:
void rec_clicked();
void shoot_clicked();
void freeze_clicked();
+ void redraw_edge();
private:
Error *error;
@@ -103,6 +107,8 @@ private:
QLabel *lbl_cpr;
QLabel *lbl_name;
+ float rec_edge_counter;
+ QTimer *timer;
QLabel *img_recedge;
QLabel *img_history[NUM_HISTORY];
@@ -119,7 +125,10 @@ private:
bool recording;
bool frozen;
+ // Configuration values
float unit;
+ int video_width;
+ int video_height;
QPushButton *createButton(char *caption, int width, int height);
QLabel *createLabel(char *caption, int width, int height);