summaryrefslogtreecommitdiff
path: root/noncore/tools/remote/vcrgroupconf.cpp
Unidiff
Diffstat (limited to 'noncore/tools/remote/vcrgroupconf.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/remote/vcrgroupconf.cpp73
1 files changed, 73 insertions, 0 deletions
diff --git a/noncore/tools/remote/vcrgroupconf.cpp b/noncore/tools/remote/vcrgroupconf.cpp
new file mode 100644
index 0000000..a50ed0a
--- a/dev/null
+++ b/noncore/tools/remote/vcrgroupconf.cpp
@@ -0,0 +1,73 @@
1/*
2Opie-Remote. emulates remote controlls on an iPaq (and maybe a Zaurus) in Opie.
3Copyright (C) 2002 Thomas Stephens
4
5This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public
6License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later
7version.
8
9This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
10implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
11Public License for more details.
12
13You should have received a copy of the GNU General Public License along with this program; if not, write to the Free
14Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
15*/
16
17#include "vcrgroupconf.h"
18
19VCRGroupConf::VCRGroupConf(QWidget *parent=0, const char *name=0) : QWidget(parent, name)
20{
21 QVBoxLayout *vlayout = new QVBoxLayout(this);
22
23 QHBoxLayout *hlayout1 = new QHBoxLayout(this);
24 QHBoxLayout *hlayout2 = new QHBoxLayout(this);
25
26 vlayout->addLayout(hlayout1);
27 vlayout->addSpacing(1);
28 vlayout->addLayout(hlayout2);
29
30 QPushButton *play = new QPushButton("Play",this, "play");
31 hlayout1->addWidget(play);
32 connect(play, SIGNAL(pressed()), this->parentWidget(), SLOT(buttonPressed()) );
33
34 hlayout1->addSpacing(5);
35
36 QPushButton *pause = new QPushButton("Pause",this, "pause");
37 hlayout1->addWidget(pause);
38 connect(pause, SIGNAL(pressed()), this->parentWidget(), SLOT(buttonPressed()) );
39
40 hlayout1->addSpacing(5);
41
42 QPushButton *stop = new QPushButton("Stop",this, "stop");
43 hlayout1->addWidget(stop);
44 connect(stop, SIGNAL(pressed()), this->parentWidget(), SLOT(buttonPressed()) );
45
46 hlayout1->addSpacing(5);
47
48 QPushButton *record = new QPushButton("Record",this, "record");
49 hlayout1->addWidget(record);
50 connect(record, SIGNAL(pressed()), this->parentWidget(), SLOT(buttonPressed()) );
51
52 QPushButton *back = new QPushButton("Back",this, "back");
53 hlayout2->addWidget(back);
54 connect(back, SIGNAL(pressed()), this->parentWidget(), SLOT(buttonPressed()) );
55
56 hlayout2->addSpacing(5);
57
58 QPushButton *rewind = new QPushButton("Rewind",this, "rewind");
59 hlayout2->addWidget(rewind);
60 connect(rewind, SIGNAL(pressed()), this->parentWidget(), SLOT(buttonPressed()) );
61
62 hlayout2->addSpacing(5);
63
64 QPushButton *ff = new QPushButton("FF",this, "ff");
65 hlayout2->addWidget(ff);
66 connect(ff, SIGNAL(pressed()), this->parentWidget(), SLOT(buttonPressed()) );
67
68 hlayout2->addSpacing(5);
69
70 QPushButton *next = new QPushButton("Next",this, "next");
71 hlayout2->addWidget(next);
72 connect(next, SIGNAL(pressed()), this->parentWidget(), SLOT(buttonPressed()) );
73}