author | ar <ar> | 2004-02-14 16:06:45 (UTC) |
---|---|---|
committer | ar <ar> | 2004-02-14 16:06:45 (UTC) |
commit | 1ab6282d6869ca200133a0e47323ae9a760b3400 (patch) (unidiff) | |
tree | a7f2b4fb6f34edb4b50f00b12cf649b9cf59b8ca /noncore/games/backgammon/rulesdialog.cpp | |
parent | c7cf5faa7f1512fa48fb298a75902d4557bc9cfa (diff) | |
download | opie-1ab6282d6869ca200133a0e47323ae9a760b3400.zip opie-1ab6282d6869ca200133a0e47323ae9a760b3400.tar.gz opie-1ab6282d6869ca200133a0e47323ae9a760b3400.tar.bz2 |
improve support for BigScreen
Diffstat (limited to 'noncore/games/backgammon/rulesdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/backgammon/rulesdialog.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/games/backgammon/rulesdialog.cpp b/noncore/games/backgammon/rulesdialog.cpp index 85c3db3..5e17eeb 100644 --- a/noncore/games/backgammon/rulesdialog.cpp +++ b/noncore/games/backgammon/rulesdialog.cpp | |||
@@ -1,11 +1,13 @@ | |||
1 | #include "rulesdialog.h" | 1 | #include "rulesdialog.h" |
2 | 2 | ||
3 | #include <qgroupbox.h> | 3 | #include <qgroupbox.h> |
4 | #include <qlabel.h> | 4 | #include <qlabel.h> |
5 | 5 | ||
6 | #include <qpe/qpeapplication.h> | ||
7 | |||
6 | RulesDialog::RulesDialog(QWidget* parent,const char* name,bool modal,WFlags f) | 8 | RulesDialog::RulesDialog(QWidget* parent,const char* name,bool modal,WFlags f) |
7 | : QDialog(parent,name,modal,f) | 9 | : QDialog(parent,name,modal,f) |
8 | { | 10 | { |
9 | setCaption("Rules Configuration"); | 11 | setCaption("Rules Configuration"); |
10 | QLabel* header=new QLabel("<b>Change the game rules here</b>",this); | 12 | QLabel* header=new QLabel("<b>Change the game rules here</b>",this); |
11 | header->setGeometry(10,10,200,20); | 13 | header->setGeometry(10,10,200,20); |
@@ -29,13 +31,13 @@ RulesDialog::RulesDialog(QWidget* parent,const char* name,bool modal,WFlags f) | |||
29 | nice_dice->setGeometry(10,20,200,20); | 31 | nice_dice->setGeometry(10,20,200,20); |
30 | connect(nice_dice,SIGNAL(clicked()),this,SLOT(nice_dice_clicked())); | 32 | connect(nice_dice,SIGNAL(clicked()),this,SLOT(nice_dice_clicked())); |
31 | 33 | ||
32 | QLabel* nice_dice_help=new QLabel("allow to rescue pieces with dice\nvalues graeter than the distance\nto the players endzone.",nice_dice_box); | 34 | QLabel* nice_dice_help=new QLabel("allow to rescue pieces with dice\nvalues graeter than the distance\nto the players endzone.",nice_dice_box); |
33 | nice_dice_help->setGeometry(10,40,200,60); | 35 | nice_dice_help->setGeometry(10,40,200,60); |
34 | 36 | ||
35 | showMaximized(); | 37 | QPEApplication::showDialog( this ); |
36 | } | 38 | } |
37 | 39 | ||
38 | 40 | ||
39 | RulesDialog::~RulesDialog() | 41 | RulesDialog::~RulesDialog() |
40 | { | 42 | { |
41 | } | 43 | } |