You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.1 KiB
40 lines
1.1 KiB
15 years ago
|
#include <tqpushbutton.h>
|
||
|
#include <tqbuttongroup.h>
|
||
|
#include <tqradiobutton.h>
|
||
15 years ago
|
#include <kdialogbase.h>
|
||
|
|
||
|
#include <kapplication.h>
|
||
|
#include <klocale.h>
|
||
|
|
||
|
#include "channelview.h"
|
||
|
#include "channelcfgdlg.h"
|
||
|
#include "version.h"
|
||
13 years ago
|
#include <tqlayout.h>
|
||
15 years ago
|
#include <tqvbuttongroup.h>
|
||
15 years ago
|
|
||
13 years ago
|
ChannelViewConfigDialog::ChannelViewConfigDialog(TQWidget *parent,const char *name) : KDialogBase(parent,name,TRUE,i18n("Configure Channel View"),Ok|Cancel, Ok)
|
||
15 years ago
|
{
|
||
15 years ago
|
TQWidget *page = new TQWidget( this );
|
||
15 years ago
|
setMainWidget(page);
|
||
15 years ago
|
TQVBoxLayout *topLayout = new TQVBoxLayout( page, 0, spacingHint() );
|
||
|
qbg = new TQVButtonGroup(i18n("Choose Look Mode"),page,"qbg");
|
||
15 years ago
|
|
||
15 years ago
|
rb0=new TQRadioButton(i18n("3D look"),qbg,"3d");
|
||
|
rb1=new TQRadioButton(i18n("3D - filled"),qbg,"4d");
|
||
15 years ago
|
|
||
|
qbg->setExclusive(TRUE);
|
||
|
|
||
|
topLayout->addWidget( qbg );
|
||
|
((ChannelView::lookMode()==0)?rb0:rb1)->setChecked(TRUE);
|
||
|
|
||
15 years ago
|
connect (qbg, TQT_SIGNAL(pressed(int)),this,TQT_SLOT(modeselected(int)));
|
||
15 years ago
|
}
|
||
|
|
||
|
void ChannelViewConfigDialog::modeselected(int idx)
|
||
|
{
|
||
|
selectedmode=idx;
|
||
|
}
|
||
|
|
||
|
int ChannelViewConfigDialog::selectedmode;
|
||
|
#include "channelcfgdlg.moc"
|