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.
106 lines
3.3 KiB
106 lines
3.3 KiB
/**********************************************************************
|
|
|
|
--- TQt Architect generated file ---
|
|
|
|
File: speeddialogData.cpp
|
|
Last generated: Sun Dec 21 09:13:46 1997
|
|
|
|
DO NOT EDIT!!! This file will be automatically
|
|
regenerated by qtarch. All changes will be lost.
|
|
|
|
*********************************************************************/
|
|
|
|
#include "speeddialogData.h"
|
|
|
|
#include <tqlabel.h>
|
|
#include <tdelocale.h>
|
|
#include <kpushbutton.h>
|
|
#include <kstdguiitem.h>
|
|
#include <tqlayout.h>
|
|
#include <kdialog.h>
|
|
|
|
speeddialogData::speeddialogData ( TQWidget* parent, const char* name )
|
|
:TQDialog( parent, name, 0 )
|
|
{
|
|
TQGridLayout *grid = new TQGridLayout( this, 3, 2 , KDialog::marginHint(), KDialog::spacingHint());
|
|
sliderTick = new TQSlider( this, "Slider_1" );
|
|
grid->addWidget( sliderTick, 0, 1 );
|
|
connect( sliderTick, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(updateTick(int)) );
|
|
sliderTick->setOrientation( TQt::Horizontal );
|
|
sliderTick->setRange( 10, 200 );
|
|
sliderTick->setSteps( 10, 50 );
|
|
sliderTick->setValue( 30 );
|
|
sliderTick->setTracking( TRUE );
|
|
sliderTick->setTickmarks( TQSlider::NoMarks );
|
|
sliderTick->setTickInterval( 0 );
|
|
|
|
sliderStep = new TQSlider( this, "Slider_2" );
|
|
grid->addWidget( sliderStep, 1, 1 );
|
|
|
|
connect( sliderStep, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(updateStep(int)) );
|
|
sliderStep->setOrientation( TQt::Horizontal );
|
|
sliderStep->setRange( 1, 10 );
|
|
sliderStep->setSteps( 1, 2 );
|
|
sliderStep->setValue( 3 );
|
|
sliderStep->setTracking( TRUE );
|
|
sliderStep->setTickmarks( TQSlider::NoMarks );
|
|
sliderStep->setTickInterval( 0 );
|
|
|
|
lcdTick = new TQLCDNumber( this, "LCDNumber_1" );
|
|
lcdTick->setFrameStyle( 33 );
|
|
lcdTick->setSmallDecimalPoint( FALSE );
|
|
lcdTick->setNumDigits( 3 );
|
|
lcdTick->setMode( TQLCDNumber::DEC );
|
|
lcdTick->setSegmentStyle( TQLCDNumber::Outline );
|
|
grid->addWidget( lcdTick, 0, 2 );
|
|
|
|
lcdStep = new TQLCDNumber( this, "LCDNumber_2" );
|
|
lcdStep->setFrameStyle( 33 );
|
|
lcdStep->setSmallDecimalPoint( FALSE );
|
|
lcdStep->setNumDigits( 3 );
|
|
lcdStep->setMode( TQLCDNumber::DEC );
|
|
lcdStep->setSegmentStyle( TQLCDNumber::Outline );
|
|
grid->addWidget( lcdStep, 1, 2 );
|
|
|
|
|
|
TQLabel* dlgedit_Label_1;
|
|
dlgedit_Label_1 = new TQLabel( this, "Label_1" );
|
|
dlgedit_Label_1->setText( i18n("Tick interval:") );
|
|
dlgedit_Label_1->setAlignment( 289 );
|
|
dlgedit_Label_1->setMargin( -1 );
|
|
grid->addWidget( dlgedit_Label_1, 0, 0 );
|
|
|
|
|
|
TQLabel* dlgedit_Label_2;
|
|
dlgedit_Label_2 = new TQLabel( this, "Label_2" );
|
|
dlgedit_Label_2->setText( i18n("Step size:") );
|
|
dlgedit_Label_2->setAlignment( 289 );
|
|
dlgedit_Label_2->setMargin( -1 );
|
|
grid->addWidget( dlgedit_Label_2, 1, 0 );
|
|
|
|
|
|
TQPushButton* dlgedit_PushButton_2;
|
|
dlgedit_PushButton_2 = new KPushButton( KStdGuiItem::close(), this, "PushButton_2" );
|
|
connect( dlgedit_PushButton_2, TQT_SIGNAL(pressed()), TQT_SLOT(terminate()) );
|
|
grid->addWidget( dlgedit_PushButton_2, 2, 2 );
|
|
|
|
//resize( 270,120 );
|
|
setMinimumSize( 0, 0 );
|
|
setMaximumSize( 32767, 32767 );
|
|
}
|
|
|
|
|
|
speeddialogData::~speeddialogData()
|
|
{
|
|
}
|
|
void speeddialogData::updateTick(int)
|
|
{
|
|
}
|
|
void speeddialogData::updateStep(int)
|
|
{
|
|
}
|
|
void speeddialogData::terminate()
|
|
{
|
|
}
|
|
#include "speeddialogData.moc"
|