summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authordeva <deva>2005-07-23 09:09:24 +0000
committerdeva <deva>2005-07-23 09:09:24 +0000
commit65631ae8017a816145b8e0120bb319bcc7756b7b (patch)
tree8e3c19ff67a84808e7dc2f4d9719ea890f5b2586 /src/mainwindow.h
parente6087e879758abb9b08e4fb14ad2fd329a00573d (diff)
*** empty log message ***
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 1a2b76d..5a5f99c 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -31,6 +31,9 @@
/*
* $Log$
+ * Revision 1.18 2005/07/23 09:09:24 deva
+ * *** empty log message ***
+ *
* Revision 1.17 2005/07/22 19:20:28 deva
* *** empty log message ***
*
@@ -93,7 +96,13 @@ using namespace std;
#include "info_gui.h"
+/**
+ * First some GUI specs
+ */
#define NUM_HISTORY 3
+// Button sizes in cm (metric)
+#define BUTTON_WIDTH 12
+#define BUTTON_HEIGHT 3
/**
* Textstrings
@@ -204,7 +213,8 @@ private:
int video_width;
int video_height;
- QPushButton *createButton(char *caption, int width, int height);
+ QPushButton *createButton(char *caption, int width = BUTTON_WIDTH, int height = BUTTON_HEIGHT);
+ QPushButton *createButton(char *caption, QWidget *parent, int width = BUTTON_WIDTH, int height = BUTTON_HEIGHT);
QLabel *createLabel(char *caption, int width, int height);
};