1 /**********************************************************************
3 --- Qt Architect 1.4-6 generated file ---
5 File: paraextradlgdata.C
6 Last generated: Mon Dec 4 18:22:05 2000
8 DO NOT EDIT!!! This file will be automatically
9 regenerated by qtarch. All changes will be lost.
11 *********************************************************************/
17 #include "paraextradlgdata.h"
19 #define Inherited QWidget
23 ParaExtraDialogData::ParaExtraDialogData
29 Inherited( parent, name, 0 )
31 specialalignment = new QButtonGroup( this, "specialalignment" );
32 specialalignment->setGeometry( 5, 124, 265, 331 );
33 specialalignment->setMinimumSize( 0, 0 );
34 specialalignment->setMaximumSize( 32767, 32767 );
35 specialalignment->setFocusPolicy( QWidget::NoFocus );
36 specialalignment->setBackgroundMode( QWidget::PaletteBackground );
37 specialalignment->setFontPropagation( QWidget::NoChildren );
38 specialalignment->setPalettePropagation( QWidget::NoChildren );
39 specialalignment->setFrameStyle( 49 );
40 specialalignment->setLineWidth( 1 );
41 specialalignment->setMidLineWidth( 0 );
42 specialalignment->QFrame::setMargin( 0 );
43 specialalignment->setTitle( _("Alignment") );
44 specialalignment->setAlignment( 1 );
45 specialalignment->setExclusive( true );
47 type = new QComboBox( FALSE, this, "type" );
48 type->setGeometry( 5, 65, 265, 54 );
49 type->setMinimumSize( 0, 0 );
50 type->setMaximumSize( 32767, 32767 );
51 connect( type, SIGNAL(highlighted(int)), SLOT(typeHighlighted(int)) );
52 type->setFocusPolicy( QWidget::StrongFocus );
53 type->setBackgroundMode( QWidget::PaletteBackground );
54 type->setFontPropagation( QWidget::AllChildren );
55 type->setPalettePropagation( QWidget::AllChildren );
56 type->setSizeLimit( 10 );
57 type->setAutoResize( false );
58 type->setMaxCount( 2147483647 );
59 type->setAutoCompletion( false );
61 QLabel* qtarch_speciallabel;
62 qtarch_speciallabel = new QLabel( this, "speciallabel" );
63 qtarch_speciallabel->setGeometry( 5, 5, 265, 55 );
64 qtarch_speciallabel->setMinimumSize( 0, 0 );
65 qtarch_speciallabel->setMaximumSize( 32767, 32767 );
66 qtarch_speciallabel->setFocusPolicy( QWidget::NoFocus );
67 qtarch_speciallabel->setBackgroundMode( QWidget::PaletteBackground );
68 qtarch_speciallabel->setFontPropagation( QWidget::NoChildren );
69 qtarch_speciallabel->setPalettePropagation( QWidget::NoChildren );
70 qtarch_speciallabel->setFrameStyle( 0 );
71 qtarch_speciallabel->setLineWidth( 1 );
72 qtarch_speciallabel->setMidLineWidth( 0 );
73 qtarch_speciallabel->QFrame::setMargin( 0 );
74 qtarch_speciallabel->setText( _("Type") );
75 qtarch_speciallabel->setAlignment( 289 );
76 qtarch_speciallabel->setMargin( -1 );
78 QLabel* qtarch_specialwidthlabel;
79 qtarch_specialwidthlabel = new QLabel( this, "specialwidthlabel" );
80 qtarch_specialwidthlabel->setGeometry( 275, 5, 265, 55 );
81 qtarch_specialwidthlabel->setMinimumSize( 0, 0 );
82 qtarch_specialwidthlabel->setMaximumSize( 32767, 32767 );
83 qtarch_specialwidthlabel->setFocusPolicy( QWidget::NoFocus );
84 qtarch_specialwidthlabel->setBackgroundMode( QWidget::PaletteBackground );
85 qtarch_specialwidthlabel->setFontPropagation( QWidget::NoChildren );
86 qtarch_specialwidthlabel->setPalettePropagation( QWidget::NoChildren );
87 qtarch_specialwidthlabel->setFrameStyle( 0 );
88 qtarch_specialwidthlabel->setLineWidth( 1 );
89 qtarch_specialwidthlabel->setMidLineWidth( 0 );
90 qtarch_specialwidthlabel->QFrame::setMargin( 0 );
91 qtarch_specialwidthlabel->setText( _("Width") );
92 qtarch_specialwidthlabel->setAlignment( 289 );
93 qtarch_specialwidthlabel->setMargin( -1 );
95 widthvalueunits = new QComboBox( FALSE, this, "widthvalueunits" );
96 widthvalueunits->setGeometry( 367, 65, 173, 54 );
97 widthvalueunits->setMinimumSize( 0, 0 );
98 widthvalueunits->setMaximumSize( 32767, 32767 );
99 widthvalueunits->setFocusPolicy( QWidget::StrongFocus );
100 widthvalueunits->setBackgroundMode( QWidget::PaletteBackground );
101 widthvalueunits->setFontPropagation( QWidget::AllChildren );
102 widthvalueunits->setPalettePropagation( QWidget::AllChildren );
103 widthvalueunits->setSizeLimit( 10 );
104 widthvalueunits->setAutoResize( false );
105 widthvalueunits->setMaxCount( 2147483647 );
106 widthvalueunits->setAutoCompletion( false );
108 hfillbetween = new QCheckBox( this, "hfillbetween" );
109 hfillbetween->setGeometry( 275, 189, 265, 65 );
110 hfillbetween->setMinimumSize( 0, 0 );
111 hfillbetween->setMaximumSize( 32767, 32767 );
112 hfillbetween->setFocusPolicy( QWidget::TabFocus );
113 hfillbetween->setBackgroundMode( QWidget::PaletteBackground );
114 hfillbetween->setFontPropagation( QWidget::NoChildren );
115 hfillbetween->setPalettePropagation( QWidget::NoChildren );
116 hfillbetween->setText( _("&HFill between minipage paragraphs") );
117 hfillbetween->setAutoRepeat( false );
118 hfillbetween->setAutoResize( false );
119 hfillbetween->setChecked( false );
121 startnewminipage = new QCheckBox( this, "startnewminipage" );
122 startnewminipage->setGeometry( 275, 325, 265, 65 );
123 startnewminipage->setMinimumSize( 0, 0 );
124 startnewminipage->setMaximumSize( 32767, 32767 );
125 startnewminipage->setFocusPolicy( QWidget::TabFocus );
126 startnewminipage->setBackgroundMode( QWidget::PaletteBackground );
127 startnewminipage->setFontPropagation( QWidget::NoChildren );
128 startnewminipage->setPalettePropagation( QWidget::NoChildren );
129 startnewminipage->setText( _("&Start new minipage") );
130 startnewminipage->setAutoRepeat( false );
131 startnewminipage->setAutoResize( false );
132 startnewminipage->setChecked( false );
134 top = new QRadioButton( specialalignment, "top" );
135 top->setGeometry( 5, 49, 255, 45 );
136 top->setMinimumSize( 0, 0 );
137 top->setMaximumSize( 32767, 32767 );
138 top->setFocusPolicy( QWidget::TabFocus );
139 top->setBackgroundMode( QWidget::PaletteBackground );
140 top->setFontPropagation( QWidget::NoChildren );
141 top->setPalettePropagation( QWidget::NoChildren );
142 top->setText( _("&Top") );
143 top->setAutoRepeat( false );
144 top->setAutoResize( false );
145 top->setChecked( false );
147 middle = new QRadioButton( specialalignment, "middle" );
148 middle->setGeometry( 5, 143, 255, 45 );
149 middle->setMinimumSize( 0, 0 );
150 middle->setMaximumSize( 32767, 32767 );
151 middle->setFocusPolicy( QWidget::TabFocus );
152 middle->setBackgroundMode( QWidget::PaletteBackground );
153 middle->setFontPropagation( QWidget::NoChildren );
154 middle->setPalettePropagation( QWidget::NoChildren );
155 middle->setText( _("&Middle") );
156 middle->setAutoRepeat( false );
157 middle->setAutoResize( false );
158 middle->setChecked( false );
160 bottom = new QRadioButton( specialalignment, "bottom" );
161 bottom->setGeometry( 5, 237, 255, 45 );
162 bottom->setMinimumSize( 0, 0 );
163 bottom->setMaximumSize( 32767, 32767 );
164 bottom->setFocusPolicy( QWidget::TabFocus );
165 bottom->setBackgroundMode( QWidget::PaletteBackground );
166 bottom->setFontPropagation( QWidget::NoChildren );
167 bottom->setPalettePropagation( QWidget::NoChildren );
168 bottom->setText( _("&Bottom") );
169 bottom->setAutoRepeat( false );
170 bottom->setAutoResize( false );
171 bottom->setChecked( false );
173 widthvalue = new KRestrictedLine( this, "widthvalue" );
174 widthvalue->setGeometry( 275, 65, 87, 54 );
175 widthvalue->setMinimumSize( 0, 0 );
176 widthvalue->setMaximumSize( 32767, 32767 );
177 widthvalue->setFocusPolicy( QWidget::StrongFocus );
178 widthvalue->setBackgroundMode( QWidget::PaletteBase );
179 widthvalue->setFontPropagation( QWidget::NoChildren );
180 widthvalue->setPalettePropagation( QWidget::NoChildren );
181 widthvalue->setText( "" );
182 widthvalue->setMaxLength( 32767 );
183 widthvalue->setFrame( QLineEdit::Normal );
184 widthvalue->setFrame( true );
185 widthvalue->setValidChars( "0123456789.-," );
187 specialalignment->insert( top );
188 specialalignment->insert( middle );
189 specialalignment->insert( bottom );
191 if (type->sizeHint().width()!=-1)
192 type->setMinimumWidth(type->sizeHint().width());
193 if (type->sizeHint().height()!=-1)
194 type->setMinimumHeight(type->sizeHint().height());
195 if (type->sizeHint().height()!=-1)
196 type->setMaximumHeight(type->sizeHint().height());
197 if (qtarch_speciallabel->sizeHint().width()!=-1)
198 qtarch_speciallabel->setMinimumWidth(qtarch_speciallabel->sizeHint().width());
199 if (qtarch_speciallabel->sizeHint().height()!=-1)
200 qtarch_speciallabel->setMinimumHeight(qtarch_speciallabel->sizeHint().height());
201 if (qtarch_speciallabel->sizeHint().width()!=-1)
202 qtarch_speciallabel->setMaximumWidth(qtarch_speciallabel->sizeHint().width());
203 if (qtarch_speciallabel->sizeHint().height()!=-1)
204 qtarch_speciallabel->setMaximumHeight(qtarch_speciallabel->sizeHint().height());
205 if (qtarch_specialwidthlabel->sizeHint().width()!=-1)
206 qtarch_specialwidthlabel->setMinimumWidth(qtarch_specialwidthlabel->sizeHint().width());
207 if (qtarch_specialwidthlabel->sizeHint().height()!=-1)
208 qtarch_specialwidthlabel->setMinimumHeight(qtarch_specialwidthlabel->sizeHint().height());
209 if (qtarch_specialwidthlabel->sizeHint().width()!=-1)
210 qtarch_specialwidthlabel->setMaximumWidth(qtarch_specialwidthlabel->sizeHint().width());
211 if (qtarch_specialwidthlabel->sizeHint().height()!=-1)
212 qtarch_specialwidthlabel->setMaximumHeight(qtarch_specialwidthlabel->sizeHint().height());
213 if (widthvalueunits->sizeHint().width()!=-1)
214 widthvalueunits->setMinimumWidth(widthvalueunits->sizeHint().width());
215 if (widthvalueunits->sizeHint().height()!=-1)
216 widthvalueunits->setMinimumHeight(widthvalueunits->sizeHint().height());
217 if (widthvalueunits->sizeHint().height()!=-1)
218 widthvalueunits->setMaximumHeight(widthvalueunits->sizeHint().height());
219 if (hfillbetween->sizeHint().width()!=-1)
220 hfillbetween->setMinimumWidth(hfillbetween->sizeHint().width());
221 if (hfillbetween->sizeHint().height()!=-1)
222 hfillbetween->setMinimumHeight(hfillbetween->sizeHint().height());
223 if (hfillbetween->sizeHint().width()!=-1)
224 hfillbetween->setMaximumWidth(hfillbetween->sizeHint().width());
225 if (hfillbetween->sizeHint().height()!=-1)
226 hfillbetween->setMaximumHeight(hfillbetween->sizeHint().height());
227 if (startnewminipage->sizeHint().width()!=-1)
228 startnewminipage->setMinimumWidth(startnewminipage->sizeHint().width());
229 if (startnewminipage->sizeHint().height()!=-1)
230 startnewminipage->setMinimumHeight(startnewminipage->sizeHint().height());
231 if (startnewminipage->sizeHint().width()!=-1)
232 startnewminipage->setMaximumWidth(startnewminipage->sizeHint().width());
233 if (startnewminipage->sizeHint().height()!=-1)
234 startnewminipage->setMaximumHeight(startnewminipage->sizeHint().height());
235 if (top->sizeHint().width()!=-1)
236 top->setMinimumWidth(top->sizeHint().width());
237 if (top->sizeHint().height()!=-1)
238 top->setMinimumHeight(top->sizeHint().height());
239 if (top->sizeHint().width()!=-1)
240 top->setMaximumWidth(top->sizeHint().width());
241 if (top->sizeHint().height()!=-1)
242 top->setMaximumHeight(top->sizeHint().height());
243 if (middle->sizeHint().width()!=-1)
244 middle->setMinimumWidth(middle->sizeHint().width());
245 if (middle->sizeHint().height()!=-1)
246 middle->setMinimumHeight(middle->sizeHint().height());
247 if (middle->sizeHint().width()!=-1)
248 middle->setMaximumWidth(middle->sizeHint().width());
249 if (middle->sizeHint().height()!=-1)
250 middle->setMaximumHeight(middle->sizeHint().height());
251 if (bottom->sizeHint().width()!=-1)
252 bottom->setMinimumWidth(bottom->sizeHint().width());
253 if (bottom->sizeHint().height()!=-1)
254 bottom->setMinimumHeight(bottom->sizeHint().height());
255 if (bottom->sizeHint().width()!=-1)
256 bottom->setMaximumWidth(bottom->sizeHint().width());
257 if (bottom->sizeHint().height()!=-1)
258 bottom->setMaximumHeight(bottom->sizeHint().height());
259 if (widthvalue->sizeHint().width()!=-1)
260 widthvalue->setMinimumWidth(widthvalue->sizeHint().width());
261 if (widthvalue->sizeHint().height()!=-1)
262 widthvalue->setMinimumHeight(widthvalue->sizeHint().height());
263 if (widthvalue->sizeHint().height()!=-1)
264 widthvalue->setMaximumHeight(widthvalue->sizeHint().height());
265 QGridLayout* qtarch_layout_1 = new QGridLayout( this, 2, 2, 5, 5, NULL );
266 qtarch_layout_1->addColSpacing( 0, 5 );
267 qtarch_layout_1->setColStretch( 0, 1 );
268 qtarch_layout_1->addColSpacing( 1, 5 );
269 qtarch_layout_1->setColStretch( 1, 1 );
270 qtarch_layout_1->addRowSpacing( 0, 5 );
271 qtarch_layout_1->setRowStretch( 0, 1 );
272 QBoxLayout* qtarch_layout_1_1_1 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
273 qtarch_layout_1->addLayout( qtarch_layout_1_1_1, 0, 0 );
274 qtarch_layout_1_1_1->addStrut( 5 );
275 qtarch_layout_1_1_1->addWidget( qtarch_speciallabel, 1, 1 );
276 qtarch_layout_1_1_1->addWidget( type, 1, 36 );
277 QBoxLayout* qtarch_layout_1_1_2 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
278 qtarch_layout_1->addLayout( qtarch_layout_1_1_2, 0, 1 );
279 qtarch_layout_1_1_2->addStrut( 5 );
280 qtarch_layout_1_1_2->addWidget( qtarch_specialwidthlabel, 1, 1 );
281 QBoxLayout* qtarch_layout_1_1_2_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
282 qtarch_layout_1_1_2->addLayout( qtarch_layout_1_1_2_2, 1 );
283 qtarch_layout_1_1_2_2->addStrut( 0 );
284 qtarch_layout_1_1_2_2->addWidget( widthvalue, 1, 36 );
285 qtarch_layout_1_1_2_2->addWidget( widthvalueunits, 2, 36 );
286 qtarch_layout_1->addRowSpacing( 1, 5 );
287 qtarch_layout_1->setRowStretch( 1, 3 );
288 qtarch_layout_1->addWidget( specialalignment, 1, 0, 33 );
289 QBoxLayout* qtarch_layout_1_2_1 = new QBoxLayout( specialalignment, QBoxLayout::TopToBottom, 5, 5, NULL );
290 qtarch_layout_1_2_1->addStrut( 0 );
291 qtarch_layout_1_2_1->addStretch( 1 );
292 qtarch_layout_1_2_1->addWidget( top, 1, 1 );
293 qtarch_layout_1_2_1->addStretch( 1 );
294 qtarch_layout_1_2_1->addWidget( middle, 1, 1 );
295 qtarch_layout_1_2_1->addStretch( 1 );
296 qtarch_layout_1_2_1->addWidget( bottom, 1, 1 );
297 qtarch_layout_1_2_1->addStretch( 1 );
298 QBoxLayout* qtarch_layout_1_2_2 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
299 qtarch_layout_1->addLayout( qtarch_layout_1_2_2, 1, 1 );
300 qtarch_layout_1_2_2->addStrut( 0 );
301 qtarch_layout_1_2_2->addStretch( 1 );
302 qtarch_layout_1_2_2->addWidget( hfillbetween, 1, 1 );
303 qtarch_layout_1_2_2->addStretch( 1 );
304 qtarch_layout_1_2_2->addWidget( startnewminipage, 1, 1 );
305 qtarch_layout_1_2_2->addStretch( 1 );
307 setMinimumSize( 0, 0 );
308 setMaximumSize( 32767, 32767 );
312 ParaExtraDialogData::~ParaExtraDialogData()
315 void ParaExtraDialogData::typeHighlighted(int)