Diffstat (limited to 'noncore/tools/remote/dvdgroupconf.cpp') (more/less context) (show 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 @@ /* Opie-Remote. emulates remote controlls on an iPaq (and maybe a Zaurus) in Opie. Copyright (C) 2002 Thomas Stephens This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "dvdgroupconf.h" -DVDGroupConf::DVDGroupConf(QWidget *parent=0, const char *name=0):QWidget(parent,name) +DVDGroupConf::DVDGroupConf(QWidget *parent, const char *name):QWidget(parent,name) { QGridLayout *layout = new QGridLayout(this); //put rows between the buttons of size 1 layout->addRowSpacing(1,1); layout->addRowSpacing(3,1); //put collumns between the buttons of size 5 layout->addColSpacing(1,5); layout->addColSpacing(3,5); layout->addColSpacing(5,5); layout->addColSpacing(7,5); //make sure that the collumns with the buttons in them stretch before the filler collumns do //since there is so little room, there is no need to do this for the rows layout->setColStretch(4,1); layout->setColStretch(2,1); layout->setColStretch(6,1); layout->setColStretch(8,1); layout->setColStretch(0,1); //add the menu navigation buttons, and connect them to the RemoteTab slots... QPushButton *up = new QPushButton("Up",this,"up"); layout->addWidget(up, 0, 4, 0); |