Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

vcrgroupconf.cpp

Go to the documentation of this file.
00001 /*
00002 Opie-Remote.  emulates remote controlls on an iPaq (and maybe a Zaurus) in Opie.
00003 Copyright (C) 2002 Thomas Stephens
00004 
00005 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public
00006 License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later
00007 version.
00008 
00009 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
00010 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
00011 Public License for more details.
00012 
00013 You should have received a copy of the GNU General Public License along with this program; if not, write to the Free
00014 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00015 */
00016 
00017 #include "vcrgroupconf.h"
00018 
00019 VCRGroupConf::VCRGroupConf(QWidget *parent, const char *name) : QWidget(parent, name)
00020 {
00021         QVBoxLayout *vlayout = new QVBoxLayout(this);
00022 
00023         QHBoxLayout *hlayout1 = new QHBoxLayout(this);
00024         QHBoxLayout *hlayout2 = new QHBoxLayout(this);
00025 
00026         vlayout->addLayout(hlayout1);
00027         vlayout->addSpacing(1);
00028         vlayout->addLayout(hlayout2);
00029 
00030         QPushButton *play = new QPushButton("Play",this, "play");
00031         hlayout1->addWidget(play);
00032         connect(play, SIGNAL(pressed()), this->parentWidget(), SLOT(buttonPressed()) );
00033 
00034         hlayout1->addSpacing(5);
00035 
00036         QPushButton *pause = new QPushButton("Pause",this, "pause");
00037         hlayout1->addWidget(pause);
00038         connect(pause, SIGNAL(pressed()), this->parentWidget(), SLOT(buttonPressed()) );
00039 
00040         hlayout1->addSpacing(5);
00041 
00042         QPushButton *stop = new QPushButton("Stop",this, "stop");
00043         hlayout1->addWidget(stop);
00044         connect(stop, SIGNAL(pressed()), this->parentWidget(), SLOT(buttonPressed()) );
00045 
00046         hlayout1->addSpacing(5);
00047 
00048         QPushButton *record = new QPushButton("Record",this, "record");
00049         hlayout1->addWidget(record);
00050         connect(record, SIGNAL(pressed()), this->parentWidget(), SLOT(buttonPressed()) );
00051 
00052         QPushButton *back = new QPushButton("Back",this, "back");
00053         hlayout2->addWidget(back);
00054         connect(back, SIGNAL(pressed()), this->parentWidget(), SLOT(buttonPressed()) );
00055 
00056         hlayout2->addSpacing(5);
00057 
00058         QPushButton *rewind = new QPushButton("Rewind",this, "rewind");
00059         hlayout2->addWidget(rewind);
00060         connect(rewind, SIGNAL(pressed()), this->parentWidget(), SLOT(buttonPressed()) );
00061 
00062         hlayout2->addSpacing(5);
00063 
00064         QPushButton *ff = new QPushButton("FF",this, "ff");
00065         hlayout2->addWidget(ff);
00066         connect(ff, SIGNAL(pressed()), this->parentWidget(), SLOT(buttonPressed()) );
00067 
00068         hlayout2->addSpacing(5);
00069 
00070         QPushButton *next = new QPushButton("Next",this, "next");
00071         hlayout2->addWidget(next);
00072         connect(next, SIGNAL(pressed()), this->parentWidget(), SLOT(buttonPressed()) );
00073 }

Generated on Sat Nov 5 16:18:03 2005 for OPIE by  doxygen 1.4.2