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