diff options
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 12 |
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); }; |