From 65631ae8017a816145b8e0120bb319bcc7756b7b Mon Sep 17 00:00:00 2001 From: deva Date: Sat, 23 Jul 2005 09:09:24 +0000 Subject: *** empty log message *** --- src/mainwindow.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/mainwindow.h') 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); }; -- cgit v1.2.3