Diffstat (limited to 'noncore/tools/remote/dvdgroupconf.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/tools/remote/dvdgroupconf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/tools/remote/dvdgroupconf.cpp b/noncore/tools/remote/dvdgroupconf.cpp index 5bfe393..2a08ab6 100644 --- a/noncore/tools/remote/dvdgroupconf.cpp +++ b/noncore/tools/remote/dvdgroupconf.cpp | |||
@@ -1,43 +1,43 @@ | |||
1 | /* | 1 | /* |
2 | Opie-Remote. emulates remote controlls on an iPaq (and maybe a Zaurus) in Opie. | 2 | Opie-Remote. emulates remote controlls on an iPaq (and maybe a Zaurus) in Opie. |
3 | Copyright (C) 2002 Thomas Stephens | 3 | Copyright (C) 2002 Thomas Stephens |
4 | 4 | ||
5 | This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public | 5 | This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public |
6 | License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later | 6 | License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later |
7 | version. | 7 | version. |
8 | 8 | ||
9 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the | 9 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the |
10 | implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | 10 | implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
11 | Public License for more details. | 11 | Public License for more details. |
12 | 12 | ||
13 | You should have received a copy of the GNU General Public License along with this program; if not, write to the Free | 13 | You should have received a copy of the GNU General Public License along with this program; if not, write to the Free |
14 | Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 14 | Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include "dvdgroupconf.h" | 17 | #include "dvdgroupconf.h" |
18 | 18 | ||
19 | DVDGroupConf::DVDGroupConf(QWidget *parent=0, const char *name=0):QWidget(parent,name) | 19 | DVDGroupConf::DVDGroupConf(QWidget *parent, const char *name):QWidget(parent,name) |
20 | { | 20 | { |
21 | QGridLayout *layout = new QGridLayout(this); | 21 | QGridLayout *layout = new QGridLayout(this); |
22 | 22 | ||
23 | //put rows between the buttons of size 1 | 23 | //put rows between the buttons of size 1 |
24 | layout->addRowSpacing(1,1); | 24 | layout->addRowSpacing(1,1); |
25 | layout->addRowSpacing(3,1); | 25 | layout->addRowSpacing(3,1); |
26 | 26 | ||
27 | //put collumns between the buttons of size 5 | 27 | //put collumns between the buttons of size 5 |
28 | layout->addColSpacing(1,5); | 28 | layout->addColSpacing(1,5); |
29 | layout->addColSpacing(3,5); | 29 | layout->addColSpacing(3,5); |
30 | layout->addColSpacing(5,5); | 30 | layout->addColSpacing(5,5); |
31 | layout->addColSpacing(7,5); | 31 | layout->addColSpacing(7,5); |
32 | 32 | ||
33 | //make sure that the collumns with the buttons in them stretch before the filler collumns do | 33 | //make sure that the collumns with the buttons in them stretch before the filler collumns do |
34 | //since there is so little room, there is no need to do this for the rows | 34 | //since there is so little room, there is no need to do this for the rows |
35 | layout->setColStretch(4,1); | 35 | layout->setColStretch(4,1); |
36 | layout->setColStretch(2,1); | 36 | layout->setColStretch(2,1); |
37 | layout->setColStretch(6,1); | 37 | layout->setColStretch(6,1); |
38 | layout->setColStretch(8,1); | 38 | layout->setColStretch(8,1); |
39 | layout->setColStretch(0,1); | 39 | layout->setColStretch(0,1); |
40 | 40 | ||
41 | //add the menu navigation buttons, and connect them to the RemoteTab slots... | 41 | //add the menu navigation buttons, and connect them to the RemoteTab slots... |
42 | QPushButton *up = new QPushButton("Up",this,"up"); | 42 | QPushButton *up = new QPushButton("Up",this,"up"); |
43 | layout->addWidget(up, 0, 4, 0); | 43 | layout->addWidget(up, 0, 4, 0); |