summaryrefslogtreecommitdiffstats
path: root/ksirc/KSTicker/speeddialogData.cpp
blob: 6e2c01bf85d35f57019894ca33c2f342fb8e2fed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/**********************************************************************

	--- 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, TQ_SIGNAL(valueChanged(int)), TQ_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, TQ_SIGNAL(valueChanged(int)), TQ_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, TQ_SIGNAL(pressed()), TQ_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"