1 /**********************************************************************
3 --- Qt Architect 1.4-6 generated file ---
5 File: parabelowdlgdata.C
6 Last generated: Mon Dec 4 18:22:02 2000
8 DO NOT EDIT!!! This file will be automatically
9 regenerated by qtarch. All changes will be lost.
11 *********************************************************************/
17 #include "parabelowdlgdata.h"
19 #define Inherited QWidget
23 ParaBelowDialogData::ParaBelowDialogData
29 Inherited( parent, name, 0 )
31 pagebreakbelow = new QCheckBox( this, "pagebreakbelow" );
32 pagebreakbelow->setGeometry( 5, 5, 305, 73 );
33 pagebreakbelow->setMinimumSize( 0, 0 );
34 pagebreakbelow->setMaximumSize( 32767, 32767 );
35 pagebreakbelow->setFocusPolicy( QWidget::TabFocus );
36 pagebreakbelow->setBackgroundMode( QWidget::PaletteBackground );
37 pagebreakbelow->setFontPropagation( QWidget::NoChildren );
38 pagebreakbelow->setPalettePropagation( QWidget::NoChildren );
39 pagebreakbelow->setText( _("Page break") );
40 pagebreakbelow->setAutoRepeat( false );
41 pagebreakbelow->setAutoResize( false );
42 pagebreakbelow->setChecked( false );
44 keepbelow = new QCheckBox( this, "keepbelow" );
45 keepbelow->setGeometry( 5, 83, 305, 73 );
46 keepbelow->setMinimumSize( 0, 0 );
47 keepbelow->setMaximumSize( 32767, 32767 );
48 keepbelow->setFocusPolicy( QWidget::TabFocus );
49 keepbelow->setBackgroundMode( QWidget::PaletteBackground );
50 keepbelow->setFontPropagation( QWidget::NoChildren );
51 keepbelow->setPalettePropagation( QWidget::NoChildren );
52 keepbelow->setText( _("Keep space when at bottom of page") );
53 keepbelow->setAutoRepeat( false );
54 keepbelow->setAutoResize( false );
55 keepbelow->setChecked( false );
57 QLabel* qtarch_belowlabel;
58 qtarch_belowlabel = new QLabel( this, "belowlabel" );
59 qtarch_belowlabel->setGeometry( 5, 161, 100, 36 );
60 qtarch_belowlabel->setMinimumSize( 0, 0 );
61 qtarch_belowlabel->setMaximumSize( 32767, 32767 );
62 qtarch_belowlabel->setFocusPolicy( QWidget::NoFocus );
63 qtarch_belowlabel->setBackgroundMode( QWidget::PaletteBackground );
64 qtarch_belowlabel->setFontPropagation( QWidget::NoChildren );
65 qtarch_belowlabel->setPalettePropagation( QWidget::NoChildren );
66 qtarch_belowlabel->setFrameStyle( 0 );
67 qtarch_belowlabel->setLineWidth( 1 );
68 qtarch_belowlabel->setMidLineWidth( 0 );
69 qtarch_belowlabel->QFrame::setMargin( 0 );
70 qtarch_belowlabel->setText( _("Extra Space") );
71 qtarch_belowlabel->setAlignment( 289 );
72 qtarch_belowlabel->setMargin( -1 );
74 spacebelow = new QComboBox( FALSE, this, "spacebelow" );
75 spacebelow->setGeometry( 110, 161, 200, 36 );
76 spacebelow->setMinimumSize( 0, 0 );
77 spacebelow->setMaximumSize( 32767, 32767 );
78 connect( spacebelow, SIGNAL(highlighted(int)), SLOT(spacebelowHighlighted(int)) );
79 spacebelow->setFocusPolicy( QWidget::StrongFocus );
80 spacebelow->setBackgroundMode( QWidget::PaletteBackground );
81 spacebelow->setFontPropagation( QWidget::AllChildren );
82 spacebelow->setPalettePropagation( QWidget::AllChildren );
83 spacebelow->setSizeLimit( 10 );
84 spacebelow->setAutoResize( false );
85 spacebelow->setMaxCount( 2147483647 );
86 spacebelow->setAutoCompletion( false );
88 QLabel* qtarch_ValueLabel;
89 qtarch_ValueLabel = new QLabel( this, "ValueLabel" );
90 qtarch_ValueLabel->setGeometry( 5, 202, 58, 24 );
91 qtarch_ValueLabel->setMinimumSize( 0, 0 );
92 qtarch_ValueLabel->setMaximumSize( 32767, 32767 );
93 qtarch_ValueLabel->setFocusPolicy( QWidget::NoFocus );
94 qtarch_ValueLabel->setBackgroundMode( QWidget::PaletteBackground );
95 qtarch_ValueLabel->setFontPropagation( QWidget::NoChildren );
96 qtarch_ValueLabel->setPalettePropagation( QWidget::NoChildren );
97 qtarch_ValueLabel->setFrameStyle( 0 );
98 qtarch_ValueLabel->setLineWidth( 1 );
99 qtarch_ValueLabel->setMidLineWidth( 0 );
100 qtarch_ValueLabel->QFrame::setMargin( 0 );
101 qtarch_ValueLabel->setText( _("Value") );
102 qtarch_ValueLabel->setAlignment( 289 );
103 qtarch_ValueLabel->setMargin( -1 );
105 QLabel* qtarch_Label_14;
106 qtarch_Label_14 = new QLabel( this, "Label_14" );
107 qtarch_Label_14->setGeometry( 5, 231, 58, 25 );
108 qtarch_Label_14->setMinimumSize( 0, 0 );
109 qtarch_Label_14->setMaximumSize( 32767, 32767 );
110 qtarch_Label_14->setFocusPolicy( QWidget::NoFocus );
111 qtarch_Label_14->setBackgroundMode( QWidget::PaletteBackground );
112 qtarch_Label_14->setFontPropagation( QWidget::NoChildren );
113 qtarch_Label_14->setPalettePropagation( QWidget::NoChildren );
114 qtarch_Label_14->setFrameStyle( 0 );
115 qtarch_Label_14->setLineWidth( 1 );
116 qtarch_Label_14->setMidLineWidth( 0 );
117 qtarch_Label_14->QFrame::setMargin( 0 );
118 qtarch_Label_14->setText( _("Plus") );
119 qtarch_Label_14->setAlignment( 289 );
120 qtarch_Label_14->setMargin( -1 );
122 QLabel* qtarch_belowminuslabel;
123 qtarch_belowminuslabel = new QLabel( this, "belowminuslabel" );
124 qtarch_belowminuslabel->setGeometry( 5, 261, 58, 24 );
125 qtarch_belowminuslabel->setMinimumSize( 0, 0 );
126 qtarch_belowminuslabel->setMaximumSize( 32767, 32767 );
127 qtarch_belowminuslabel->setFocusPolicy( QWidget::NoFocus );
128 qtarch_belowminuslabel->setBackgroundMode( QWidget::PaletteBackground );
129 qtarch_belowminuslabel->setFontPropagation( QWidget::NoChildren );
130 qtarch_belowminuslabel->setPalettePropagation( QWidget::NoChildren );
131 qtarch_belowminuslabel->setFrameStyle( 0 );
132 qtarch_belowminuslabel->setLineWidth( 1 );
133 qtarch_belowminuslabel->setMidLineWidth( 0 );
134 qtarch_belowminuslabel->QFrame::setMargin( 0 );
135 qtarch_belowminuslabel->setText( _("Minus") );
136 qtarch_belowminuslabel->setAlignment( 289 );
137 qtarch_belowminuslabel->setMargin( -1 );
139 spacebelowvalue = new KRestrictedLine( this, "spacebelowvalue" );
140 spacebelowvalue->setGeometry( 68, 202, 3, 24 );
141 spacebelowvalue->setMinimumSize( 0, 0 );
142 spacebelowvalue->setMaximumSize( 32767, 32767 );
143 spacebelowvalue->setFocusPolicy( QWidget::StrongFocus );
144 spacebelowvalue->setBackgroundMode( QWidget::PaletteBase );
145 spacebelowvalue->setFontPropagation( QWidget::NoChildren );
146 spacebelowvalue->setPalettePropagation( QWidget::NoChildren );
147 spacebelowvalue->setText( "" );
148 spacebelowvalue->setMaxLength( 8 );
149 spacebelowvalue->setFrame( QLineEdit::Normal );
150 spacebelowvalue->setFrame( true );
151 spacebelowvalue->setValidChars( "0123456789.," );
153 spacebelowplus = new KRestrictedLine( this, "spacebelowplus" );
154 spacebelowplus->setGeometry( 68, 231, 3, 25 );
155 spacebelowplus->setMinimumSize( 0, 0 );
156 spacebelowplus->setMaximumSize( 32767, 32767 );
157 spacebelowplus->setFocusPolicy( QWidget::StrongFocus );
158 spacebelowplus->setBackgroundMode( QWidget::PaletteBase );
159 spacebelowplus->setFontPropagation( QWidget::NoChildren );
160 spacebelowplus->setPalettePropagation( QWidget::NoChildren );
161 spacebelowplus->setText( "" );
162 spacebelowplus->setMaxLength( 8 );
163 spacebelowplus->setFrame( QLineEdit::Normal );
164 spacebelowplus->setFrame( true );
165 spacebelowplus->setValidChars( "0123456789.," );
167 spacebelowminus = new KRestrictedLine( this, "spacebelowminus" );
168 spacebelowminus->setGeometry( 68, 261, 3, 24 );
169 spacebelowminus->setMinimumSize( 0, 0 );
170 spacebelowminus->setMaximumSize( 32767, 32767 );
171 spacebelowminus->setFocusPolicy( QWidget::StrongFocus );
172 spacebelowminus->setBackgroundMode( QWidget::PaletteBase );
173 spacebelowminus->setFontPropagation( QWidget::NoChildren );
174 spacebelowminus->setPalettePropagation( QWidget::NoChildren );
175 spacebelowminus->setText( "" );
176 spacebelowminus->setMaxLength( 8 );
177 spacebelowminus->setFrame( QLineEdit::Normal );
178 spacebelowminus->setFrame( true );
179 spacebelowminus->setValidChars( "0123456789.," );
181 spacebelowvalueunits = new QComboBox( FALSE, this, "spacebelowvalueunits" );
182 spacebelowvalueunits->setGeometry( 76, 202, 234, 24 );
183 spacebelowvalueunits->setMinimumSize( 0, 0 );
184 spacebelowvalueunits->setMaximumSize( 32767, 32767 );
185 spacebelowvalueunits->setFocusPolicy( QWidget::StrongFocus );
186 spacebelowvalueunits->setBackgroundMode( QWidget::PaletteBackground );
187 spacebelowvalueunits->setFontPropagation( QWidget::AllChildren );
188 spacebelowvalueunits->setPalettePropagation( QWidget::AllChildren );
189 spacebelowvalueunits->setSizeLimit( 10 );
190 spacebelowvalueunits->setAutoResize( false );
191 spacebelowvalueunits->setMaxCount( 2147483647 );
192 spacebelowvalueunits->setAutoCompletion( false );
194 spacebelowplusunits = new QComboBox( FALSE, this, "spacebelowplusunits" );
195 spacebelowplusunits->setGeometry( 76, 231, 234, 25 );
196 spacebelowplusunits->setMinimumSize( 0, 0 );
197 spacebelowplusunits->setMaximumSize( 32767, 32767 );
198 spacebelowplusunits->setFocusPolicy( QWidget::StrongFocus );
199 spacebelowplusunits->setBackgroundMode( QWidget::PaletteBackground );
200 spacebelowplusunits->setFontPropagation( QWidget::AllChildren );
201 spacebelowplusunits->setPalettePropagation( QWidget::AllChildren );
202 spacebelowplusunits->setSizeLimit( 10 );
203 spacebelowplusunits->setAutoResize( false );
204 spacebelowplusunits->setMaxCount( 2147483647 );
205 spacebelowplusunits->setAutoCompletion( false );
207 spacebelowminusunits = new QComboBox( FALSE, this, "spacebelowminusunits" );
208 spacebelowminusunits->setGeometry( 76, 261, 234, 24 );
209 spacebelowminusunits->setMinimumSize( 0, 0 );
210 spacebelowminusunits->setMaximumSize( 32767, 32767 );
211 spacebelowminusunits->setFocusPolicy( QWidget::StrongFocus );
212 spacebelowminusunits->setBackgroundMode( QWidget::PaletteBackground );
213 spacebelowminusunits->setFontPropagation( QWidget::AllChildren );
214 spacebelowminusunits->setPalettePropagation( QWidget::AllChildren );
215 spacebelowminusunits->setSizeLimit( 10 );
216 spacebelowminusunits->setAutoResize( false );
217 spacebelowminusunits->setMaxCount( 2147483647 );
218 spacebelowminusunits->setAutoCompletion( false );
220 if (pagebreakbelow->sizeHint().width()!=-1)
221 pagebreakbelow->setMinimumWidth(pagebreakbelow->sizeHint().width());
222 if (pagebreakbelow->sizeHint().height()!=-1)
223 pagebreakbelow->setMinimumHeight(pagebreakbelow->sizeHint().height());
224 if (pagebreakbelow->sizeHint().width()!=-1)
225 pagebreakbelow->setMaximumWidth(pagebreakbelow->sizeHint().width());
226 if (pagebreakbelow->sizeHint().height()!=-1)
227 pagebreakbelow->setMaximumHeight(pagebreakbelow->sizeHint().height());
228 if (keepbelow->sizeHint().width()!=-1)
229 keepbelow->setMinimumWidth(keepbelow->sizeHint().width());
230 if (keepbelow->sizeHint().height()!=-1)
231 keepbelow->setMinimumHeight(keepbelow->sizeHint().height());
232 if (keepbelow->sizeHint().width()!=-1)
233 keepbelow->setMaximumWidth(keepbelow->sizeHint().width());
234 if (keepbelow->sizeHint().height()!=-1)
235 keepbelow->setMaximumHeight(keepbelow->sizeHint().height());
236 if (qtarch_belowlabel->sizeHint().width()!=-1)
237 qtarch_belowlabel->setMinimumWidth(qtarch_belowlabel->sizeHint().width());
238 if (qtarch_belowlabel->sizeHint().height()!=-1)
239 qtarch_belowlabel->setMinimumHeight(qtarch_belowlabel->sizeHint().height());
240 if (qtarch_belowlabel->sizeHint().width()!=-1)
241 qtarch_belowlabel->setMaximumWidth(qtarch_belowlabel->sizeHint().width());
242 if (qtarch_belowlabel->sizeHint().height()!=-1)
243 qtarch_belowlabel->setMaximumHeight(qtarch_belowlabel->sizeHint().height());
244 if (spacebelow->sizeHint().width()!=-1)
245 spacebelow->setMinimumWidth(spacebelow->sizeHint().width());
246 if (spacebelow->sizeHint().height()!=-1)
247 spacebelow->setMinimumHeight(spacebelow->sizeHint().height());
248 if (spacebelow->sizeHint().height()!=-1)
249 spacebelow->setMaximumHeight(spacebelow->sizeHint().height());
250 if (qtarch_ValueLabel->sizeHint().width()!=-1)
251 qtarch_ValueLabel->setMinimumWidth(qtarch_ValueLabel->sizeHint().width());
252 if (qtarch_ValueLabel->sizeHint().height()!=-1)
253 qtarch_ValueLabel->setMinimumHeight(qtarch_ValueLabel->sizeHint().height());
254 if (qtarch_Label_14->sizeHint().width()!=-1)
255 qtarch_Label_14->setMinimumWidth(qtarch_Label_14->sizeHint().width());
256 if (qtarch_Label_14->sizeHint().height()!=-1)
257 qtarch_Label_14->setMinimumHeight(qtarch_Label_14->sizeHint().height());
258 if (qtarch_belowminuslabel->sizeHint().width()!=-1)
259 qtarch_belowminuslabel->setMinimumWidth(qtarch_belowminuslabel->sizeHint().width());
260 if (qtarch_belowminuslabel->sizeHint().height()!=-1)
261 qtarch_belowminuslabel->setMinimumHeight(qtarch_belowminuslabel->sizeHint().height());
262 if (spacebelowvalue->sizeHint().width()!=-1)
263 spacebelowvalue->setMinimumWidth(spacebelowvalue->sizeHint().width());
264 if (spacebelowvalue->sizeHint().height()!=-1)
265 spacebelowvalue->setMinimumHeight(spacebelowvalue->sizeHint().height());
266 if (spacebelowvalue->sizeHint().height()!=-1)
267 spacebelowvalue->setMaximumHeight(spacebelowvalue->sizeHint().height());
268 if (spacebelowplus->sizeHint().width()!=-1)
269 spacebelowplus->setMinimumWidth(spacebelowplus->sizeHint().width());
270 if (spacebelowplus->sizeHint().height()!=-1)
271 spacebelowplus->setMinimumHeight(spacebelowplus->sizeHint().height());
272 if (spacebelowplus->sizeHint().height()!=-1)
273 spacebelowplus->setMaximumHeight(spacebelowplus->sizeHint().height());
274 if (spacebelowminus->sizeHint().width()!=-1)
275 spacebelowminus->setMinimumWidth(spacebelowminus->sizeHint().width());
276 if (spacebelowminus->sizeHint().height()!=-1)
277 spacebelowminus->setMinimumHeight(spacebelowminus->sizeHint().height());
278 if (spacebelowminus->sizeHint().height()!=-1)
279 spacebelowminus->setMaximumHeight(spacebelowminus->sizeHint().height());
280 if (spacebelowvalueunits->sizeHint().width()!=-1)
281 spacebelowvalueunits->setMinimumWidth(spacebelowvalueunits->sizeHint().width());
282 if (spacebelowvalueunits->sizeHint().height()!=-1)
283 spacebelowvalueunits->setMinimumHeight(spacebelowvalueunits->sizeHint().height());
284 if (spacebelowvalueunits->sizeHint().height()!=-1)
285 spacebelowvalueunits->setMaximumHeight(spacebelowvalueunits->sizeHint().height());
286 if (spacebelowplusunits->sizeHint().width()!=-1)
287 spacebelowplusunits->setMinimumWidth(spacebelowplusunits->sizeHint().width());
288 if (spacebelowplusunits->sizeHint().height()!=-1)
289 spacebelowplusunits->setMinimumHeight(spacebelowplusunits->sizeHint().height());
290 if (spacebelowplusunits->sizeHint().height()!=-1)
291 spacebelowplusunits->setMaximumHeight(spacebelowplusunits->sizeHint().height());
292 if (spacebelowminusunits->sizeHint().width()!=-1)
293 spacebelowminusunits->setMinimumWidth(spacebelowminusunits->sizeHint().width());
294 if (spacebelowminusunits->sizeHint().height()!=-1)
295 spacebelowminusunits->setMinimumHeight(spacebelowminusunits->sizeHint().height());
296 if (spacebelowminusunits->sizeHint().height()!=-1)
297 spacebelowminusunits->setMaximumHeight(spacebelowminusunits->sizeHint().height());
298 QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
299 qtarch_layout_1->addStrut( 0 );
300 qtarch_layout_1->addWidget( pagebreakbelow, 2, 1 );
301 qtarch_layout_1->addWidget( keepbelow, 2, 1 );
302 QBoxLayout* qtarch_layout_1_3 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
303 qtarch_layout_1->addLayout( qtarch_layout_1_3, 1 );
304 qtarch_layout_1_3->addStrut( 0 );
305 qtarch_layout_1_3->addWidget( qtarch_belowlabel, 1, 1 );
306 qtarch_layout_1_3->addWidget( spacebelow, 2, 36 );
307 QGridLayout* qtarch_layout_1_4 = new QGridLayout( 3, 3, 5, NULL );
308 qtarch_layout_1->addLayout( qtarch_layout_1_4, 2 );
309 qtarch_layout_1_4->addColSpacing( 0, 1 );
310 qtarch_layout_1_4->setColStretch( 0, 1 );
311 qtarch_layout_1_4->addColSpacing( 1, 3 );
312 qtarch_layout_1_4->setColStretch( 1, 0 );
313 qtarch_layout_1_4->addColSpacing( 2, 5 );
314 qtarch_layout_1_4->setColStretch( 2, 4 );
315 qtarch_layout_1_4->addRowSpacing( 0, 0 );
316 qtarch_layout_1_4->setRowStretch( 0, 1 );
317 qtarch_layout_1_4->addWidget( qtarch_ValueLabel, 0, 0, 36 );
318 qtarch_layout_1_4->addWidget( spacebelowvalue, 0, 1, 36 );
319 qtarch_layout_1_4->addWidget( spacebelowvalueunits, 0, 2, 36 );
320 qtarch_layout_1_4->addRowSpacing( 1, 0 );
321 qtarch_layout_1_4->setRowStretch( 1, 1 );
322 qtarch_layout_1_4->addWidget( qtarch_Label_14, 1, 0, 36 );
323 qtarch_layout_1_4->addWidget( spacebelowplus, 1, 1, 36 );
324 qtarch_layout_1_4->addWidget( spacebelowplusunits, 1, 2, 36 );
325 qtarch_layout_1_4->addRowSpacing( 2, 0 );
326 qtarch_layout_1_4->setRowStretch( 2, 1 );
327 qtarch_layout_1_4->addWidget( qtarch_belowminuslabel, 2, 0, 36 );
328 qtarch_layout_1_4->addWidget( spacebelowminus, 2, 1, 36 );
329 qtarch_layout_1_4->addWidget( spacebelowminusunits, 2, 2, 36 );
331 setMinimumSize( 0, 0 );
332 setMaximumSize( 32767, 32767 );
336 ParaBelowDialogData::~ParaBelowDialogData()
339 void ParaBelowDialogData::spacebelowHighlighted(int)