1 /**********************************************************************
3 --- Qt Architect 1.4-6 generated file ---
6 Last generated: Wed Jan 24 06:43:33 2001
8 DO NOT EDIT!!! This file will be automatically
9 regenerated by qtarch. All changes will be lost.
11 *********************************************************************/
17 #include "paradlgdata.h"
19 #define Inherited QWidget
22 ParaDialogData::ParaDialogData
28 Inherited( parent, name, 0 )
30 ok = new QPushButton( this, "OK" );
31 ok->setGeometry( 73, 555, 69, 55 );
32 ok->setMinimumSize( 0, 0 );
33 ok->setMaximumSize( 32767, 32767 );
34 connect( ok, SIGNAL(clicked()), SLOT(ok_adaptor()) );
35 ok->setFocusPolicy( QWidget::TabFocus );
36 ok->setBackgroundMode( QWidget::PaletteBackground );
37 ok->setFontPropagation( QWidget::NoChildren );
38 ok->setPalettePropagation( QWidget::NoChildren );
39 ok->setText( _("&OK") );
40 ok->setAutoRepeat( false );
41 ok->setAutoResize( false );
42 ok->setToggleButton( false );
43 ok->setDefault( true );
44 ok->setAutoDefault( false );
45 ok->setIsMenuButton( false );
47 tabstack = new TabStack( this, "User_1" );
48 tabstack->setGeometry( 5, 5, 630, 545 );
49 tabstack->setMinimumSize( 0, 0 );
50 tabstack->setMaximumSize( 32767, 32767 );
51 tabstack->setFocusPolicy( QWidget::NoFocus );
52 tabstack->setBackgroundMode( QWidget::PaletteBackground );
53 tabstack->setFontPropagation( QWidget::NoChildren );
54 tabstack->setPalettePropagation( QWidget::NoChildren );
56 apply = new QPushButton( this, "apply" );
57 apply->setGeometry( 215, 555, 68, 55 );
58 apply->setMinimumSize( 0, 0 );
59 apply->setMaximumSize( 32767, 32767 );
60 connect( apply, SIGNAL(clicked()), SLOT(apply_adaptor()) );
61 apply->setFocusPolicy( QWidget::TabFocus );
62 apply->setBackgroundMode( QWidget::PaletteBackground );
63 apply->setFontPropagation( QWidget::NoChildren );
64 apply->setPalettePropagation( QWidget::NoChildren );
65 apply->setText( _("&Apply") );
66 apply->setAutoRepeat( false );
67 apply->setAutoResize( false );
68 apply->setToggleButton( false );
69 apply->setDefault( false );
70 apply->setAutoDefault( false );
71 apply->setIsMenuButton( false );
73 restore = new QPushButton( this, "restore" );
74 restore->setGeometry( 357, 555, 68, 55 );
75 restore->setMinimumSize( 0, 0 );
76 restore->setMaximumSize( 32767, 32767 );
77 connect( restore, SIGNAL(clicked()), SLOT(restore_adaptor()) );
78 restore->setFocusPolicy( QWidget::TabFocus );
79 restore->setBackgroundMode( QWidget::PaletteBackground );
80 restore->setFontPropagation( QWidget::NoChildren );
81 restore->setPalettePropagation( QWidget::NoChildren );
82 restore->setText( _("&Restore") );
83 restore->setAutoRepeat( false );
84 restore->setAutoResize( false );
85 restore->setToggleButton( false );
86 restore->setDefault( false );
87 restore->setAutoDefault( false );
88 restore->setIsMenuButton( false );
90 cancel = new QPushButton( this, "Cancel" );
91 cancel->setGeometry( 498, 555, 69, 55 );
92 cancel->setMinimumSize( 0, 0 );
93 cancel->setMaximumSize( 32767, 32767 );
94 connect( cancel, SIGNAL(clicked()), SLOT(cancel_adaptor()) );
95 cancel->setFocusPolicy( QWidget::TabFocus );
96 cancel->setBackgroundMode( QWidget::PaletteBackground );
97 cancel->setFontPropagation( QWidget::NoChildren );
98 cancel->setPalettePropagation( QWidget::NoChildren );
99 cancel->setText( _("&Cancel") );
100 cancel->setAutoRepeat( false );
101 cancel->setAutoResize( false );
102 cancel->setToggleButton( false );
103 cancel->setDefault( false );
104 cancel->setAutoDefault( false );
105 cancel->setIsMenuButton( false );
107 if (ok->sizeHint().width()!=-1)
108 ok->setMinimumWidth(ok->sizeHint().width());
109 if (ok->sizeHint().height()!=-1)
110 ok->setMinimumHeight(ok->sizeHint().height());
111 if (ok->sizeHint().width()!=-1)
112 ok->setMaximumWidth(ok->sizeHint().width());
113 if (ok->sizeHint().height()!=-1)
114 ok->setMaximumHeight(ok->sizeHint().height());
115 if (tabstack->sizeHint().width()!=-1)
116 tabstack->setMinimumWidth(tabstack->sizeHint().width());
117 if (tabstack->sizeHint().height()!=-1)
118 tabstack->setMinimumHeight(tabstack->sizeHint().height());
119 if (apply->sizeHint().width()!=-1)
120 apply->setMinimumWidth(apply->sizeHint().width());
121 if (apply->sizeHint().height()!=-1)
122 apply->setMinimumHeight(apply->sizeHint().height());
123 if (apply->sizeHint().width()!=-1)
124 apply->setMaximumWidth(apply->sizeHint().width());
125 if (apply->sizeHint().height()!=-1)
126 apply->setMaximumHeight(apply->sizeHint().height());
127 if (restore->sizeHint().width()!=-1)
128 restore->setMinimumWidth(restore->sizeHint().width());
129 if (restore->sizeHint().height()!=-1)
130 restore->setMinimumHeight(restore->sizeHint().height());
131 if (restore->sizeHint().width()!=-1)
132 restore->setMaximumWidth(restore->sizeHint().width());
133 if (restore->sizeHint().height()!=-1)
134 restore->setMaximumHeight(restore->sizeHint().height());
135 if (cancel->sizeHint().width()!=-1)
136 cancel->setMinimumWidth(cancel->sizeHint().width());
137 if (cancel->sizeHint().height()!=-1)
138 cancel->setMinimumHeight(cancel->sizeHint().height());
139 if (cancel->sizeHint().width()!=-1)
140 cancel->setMaximumWidth(cancel->sizeHint().width());
141 if (cancel->sizeHint().height()!=-1)
142 cancel->setMaximumHeight(cancel->sizeHint().height());
143 QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
144 qtarch_layout_1->addStrut( 0 );
145 QBoxLayout* qtarch_layout_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
146 qtarch_layout_1->addLayout( qtarch_layout_1_1, 10 );
147 qtarch_layout_1_1->addStrut( 0 );
148 qtarch_layout_1_1->addWidget( tabstack, 1, 36 );
149 QBoxLayout* qtarch_layout_1_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
150 qtarch_layout_1->addLayout( qtarch_layout_1_2, 1 );
151 qtarch_layout_1_2->addStrut( 0 );
152 qtarch_layout_1_2->addStretch( 1 );
153 qtarch_layout_1_2->addWidget( ok, 1, 36 );
154 qtarch_layout_1_2->addStretch( 1 );
155 qtarch_layout_1_2->addWidget( apply, 1, 36 );
156 qtarch_layout_1_2->addStretch( 1 );
157 qtarch_layout_1_2->addWidget( restore, 1, 36 );
158 qtarch_layout_1_2->addStretch( 1 );
159 qtarch_layout_1_2->addWidget( cancel, 1, 36 );
160 qtarch_layout_1_2->addStretch( 1 );
162 setMinimumSize( 0, 0 );
163 setMaximumSize( 32767, 32767 );
167 ParaDialogData::~ParaDialogData()
170 void ParaDialogData::ok_adaptor()
173 void ParaDialogData::apply_adaptor()
176 void ParaDialogData::restore_adaptor()
179 void ParaDialogData::cancel_adaptor()