1 /**********************************************************************
3 --- Qt Architect 1.4-6 generated file ---
5 File: parabelowdlgdata.C
6 Last generated: Sat Mar 31 16:48:58 2001
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 check_pagebreakbelow = new QCheckBox( this, "check_pagebreakbelow" );
32 check_pagebreakbelow->setGeometry( 5, 5, 228, 67 );
33 check_pagebreakbelow->setMinimumSize( 0, 0 );
34 check_pagebreakbelow->setMaximumSize( 32767, 32767 );
35 check_pagebreakbelow->setFocusPolicy( QWidget::TabFocus );
36 check_pagebreakbelow->setBackgroundMode( QWidget::PaletteBackground );
37 check_pagebreakbelow->setFontPropagation( QWidget::NoChildren );
38 check_pagebreakbelow->setPalettePropagation( QWidget::NoChildren );
39 check_pagebreakbelow->setText( _("Page break") );
40 check_pagebreakbelow->setAutoRepeat( false );
41 check_pagebreakbelow->setAutoResize( false );
42 check_pagebreakbelow->setChecked( false );
44 check_keepbelow = new QCheckBox( this, "check_keepbelow" );
45 check_keepbelow->setGeometry( 5, 77, 228, 66 );
46 check_keepbelow->setMinimumSize( 0, 0 );
47 check_keepbelow->setMaximumSize( 32767, 32767 );
48 check_keepbelow->setFocusPolicy( QWidget::TabFocus );
49 check_keepbelow->setBackgroundMode( QWidget::PaletteBackground );
50 check_keepbelow->setFontPropagation( QWidget::NoChildren );
51 check_keepbelow->setPalettePropagation( QWidget::NoChildren );
52 check_keepbelow->setText( _("Keep space when at top of page") );
53 check_keepbelow->setAutoRepeat( false );
54 check_keepbelow->setAutoResize( false );
55 check_keepbelow->setChecked( false );
57 QLabel* qtarch_belowlabel;
58 qtarch_belowlabel = new QLabel( this, "belowlabel" );
59 qtarch_belowlabel->setGeometry( 5, 148, 113, 67 );
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 combo_spacebelow = new QComboBox( FALSE, this, "combo_spacebelow" );
75 combo_spacebelow->setGeometry( 235, 148, 113, 67 );
76 combo_spacebelow->setMinimumSize( 0, 0 );
77 combo_spacebelow->setMaximumSize( 32767, 32767 );
78 connect( combo_spacebelow, SIGNAL(highlighted(int)), SLOT(spacebelowHighlighted(int)) );
79 combo_spacebelow->setFocusPolicy( QWidget::StrongFocus );
80 combo_spacebelow->setBackgroundMode( QWidget::PaletteBackground );
81 combo_spacebelow->setFontPropagation( QWidget::AllChildren );
82 combo_spacebelow->setPalettePropagation( QWidget::AllChildren );
83 combo_spacebelow->setSizeLimit( 10 );
84 combo_spacebelow->setAutoResize( false );
85 combo_spacebelow->setMaxCount( 2147483647 );
86 combo_spacebelow->setAutoCompletion( false );
88 QLabel* qtarch_ValueLabel;
89 qtarch_ValueLabel = new QLabel( this, "ValueLabel" );
90 qtarch_ValueLabel->setGeometry( 61, 220, 96, 67 );
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( _("Size") );
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( 61, 292, 96, 66 );
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( _("Stretch") );
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( 61, 363, 96, 67 );
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( _("Shrink") );
136 qtarch_belowminuslabel->setAlignment( 289 );
137 qtarch_belowminuslabel->setMargin( -1 );
139 length_spacebelow = new LengthEntry( this, "length_spacebelow" );
140 length_spacebelow->setGeometry( 217, 220, 187, 67 );
141 length_spacebelow->setMinimumSize( 0, 0 );
142 length_spacebelow->setMaximumSize( 32767, 32767 );
143 length_spacebelow->setFocusPolicy( QWidget::NoFocus );
144 length_spacebelow->setBackgroundMode( QWidget::PaletteBackground );
145 length_spacebelow->setFontPropagation( QWidget::NoChildren );
146 length_spacebelow->setPalettePropagation( QWidget::NoChildren );
148 length_spacebelowplus = new LengthEntry( this, "length_spacebelowplus" );
149 length_spacebelowplus->setGeometry( 217, 292, 187, 66 );
150 length_spacebelowplus->setMinimumSize( 0, 0 );
151 length_spacebelowplus->setMaximumSize( 32767, 32767 );
152 length_spacebelowplus->setFocusPolicy( QWidget::NoFocus );
153 length_spacebelowplus->setBackgroundMode( QWidget::PaletteBackground );
154 length_spacebelowplus->setFontPropagation( QWidget::NoChildren );
155 length_spacebelowplus->setPalettePropagation( QWidget::NoChildren );
157 length_spacebelowminus = new LengthEntry( this, "length_spacebelowminus" );
158 length_spacebelowminus->setGeometry( 217, 363, 187, 67 );
159 length_spacebelowminus->setMinimumSize( 0, 0 );
160 length_spacebelowminus->setMaximumSize( 32767, 32767 );
161 length_spacebelowminus->setFocusPolicy( QWidget::NoFocus );
162 length_spacebelowminus->setBackgroundMode( QWidget::PaletteBackground );
163 length_spacebelowminus->setFontPropagation( QWidget::NoChildren );
164 length_spacebelowminus->setPalettePropagation( QWidget::NoChildren );
166 if (check_pagebreakbelow->sizeHint().width()!=-1)
167 check_pagebreakbelow->setMinimumWidth(check_pagebreakbelow->sizeHint().width());
168 if (check_pagebreakbelow->sizeHint().height()!=-1)
169 check_pagebreakbelow->setMinimumHeight(check_pagebreakbelow->sizeHint().height());
170 if (check_pagebreakbelow->sizeHint().width()!=-1)
171 check_pagebreakbelow->setMaximumWidth(check_pagebreakbelow->sizeHint().width());
172 if (check_pagebreakbelow->sizeHint().height()!=-1)
173 check_pagebreakbelow->setMaximumHeight(check_pagebreakbelow->sizeHint().height());
174 if (check_keepbelow->sizeHint().width()!=-1)
175 check_keepbelow->setMinimumWidth(check_keepbelow->sizeHint().width());
176 if (check_keepbelow->sizeHint().height()!=-1)
177 check_keepbelow->setMinimumHeight(check_keepbelow->sizeHint().height());
178 if (check_keepbelow->sizeHint().width()!=-1)
179 check_keepbelow->setMaximumWidth(check_keepbelow->sizeHint().width());
180 if (check_keepbelow->sizeHint().height()!=-1)
181 check_keepbelow->setMaximumHeight(check_keepbelow->sizeHint().height());
182 if (qtarch_belowlabel->sizeHint().width()!=-1)
183 qtarch_belowlabel->setMinimumWidth(qtarch_belowlabel->sizeHint().width());
184 if (qtarch_belowlabel->sizeHint().height()!=-1)
185 qtarch_belowlabel->setMinimumHeight(qtarch_belowlabel->sizeHint().height());
186 if (qtarch_belowlabel->sizeHint().width()!=-1)
187 qtarch_belowlabel->setMaximumWidth(qtarch_belowlabel->sizeHint().width());
188 if (qtarch_belowlabel->sizeHint().height()!=-1)
189 qtarch_belowlabel->setMaximumHeight(qtarch_belowlabel->sizeHint().height());
190 if (combo_spacebelow->sizeHint().width()!=-1)
191 combo_spacebelow->setMinimumWidth(combo_spacebelow->sizeHint().width());
192 if (combo_spacebelow->sizeHint().height()!=-1)
193 combo_spacebelow->setMinimumHeight(combo_spacebelow->sizeHint().height());
194 if (combo_spacebelow->sizeHint().height()!=-1)
195 combo_spacebelow->setMaximumHeight(combo_spacebelow->sizeHint().height());
196 if (qtarch_ValueLabel->sizeHint().width()!=-1)
197 qtarch_ValueLabel->setMinimumWidth(qtarch_ValueLabel->sizeHint().width());
198 if (qtarch_ValueLabel->sizeHint().height()!=-1)
199 qtarch_ValueLabel->setMinimumHeight(qtarch_ValueLabel->sizeHint().height());
200 if (qtarch_Label_14->sizeHint().width()!=-1)
201 qtarch_Label_14->setMinimumWidth(qtarch_Label_14->sizeHint().width());
202 if (qtarch_Label_14->sizeHint().height()!=-1)
203 qtarch_Label_14->setMinimumHeight(qtarch_Label_14->sizeHint().height());
204 if (qtarch_belowminuslabel->sizeHint().width()!=-1)
205 qtarch_belowminuslabel->setMinimumWidth(qtarch_belowminuslabel->sizeHint().width());
206 if (qtarch_belowminuslabel->sizeHint().height()!=-1)
207 qtarch_belowminuslabel->setMinimumHeight(qtarch_belowminuslabel->sizeHint().height());
208 if (length_spacebelow->sizeHint().width()!=-1)
209 length_spacebelow->setMinimumWidth(length_spacebelow->sizeHint().width());
210 if (length_spacebelow->sizeHint().height()!=-1)
211 length_spacebelow->setMinimumHeight(length_spacebelow->sizeHint().height());
212 if (length_spacebelowplus->sizeHint().width()!=-1)
213 length_spacebelowplus->setMinimumWidth(length_spacebelowplus->sizeHint().width());
214 if (length_spacebelowplus->sizeHint().height()!=-1)
215 length_spacebelowplus->setMinimumHeight(length_spacebelowplus->sizeHint().height());
216 if (length_spacebelowminus->sizeHint().width()!=-1)
217 length_spacebelowminus->setMinimumWidth(length_spacebelowminus->sizeHint().width());
218 if (length_spacebelowminus->sizeHint().height()!=-1)
219 length_spacebelowminus->setMinimumHeight(length_spacebelowminus->sizeHint().height());
220 QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
221 qtarch_layout_1->addStrut( 0 );
222 QBoxLayout* qtarch_layout_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
223 qtarch_layout_1->addLayout( qtarch_layout_1_1, 1 );
224 qtarch_layout_1_1->addStrut( 0 );
225 qtarch_layout_1_1->addWidget( check_pagebreakbelow, 1, 33 );
226 qtarch_layout_1_1->addStretch( 1 );
227 QBoxLayout* qtarch_layout_1_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
228 qtarch_layout_1->addLayout( qtarch_layout_1_2, 1 );
229 qtarch_layout_1_2->addStrut( 0 );
230 qtarch_layout_1_2->addWidget( check_keepbelow, 1, 33 );
231 qtarch_layout_1_2->addStretch( 1 );
232 QBoxLayout* qtarch_layout_1_3 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
233 qtarch_layout_1->addLayout( qtarch_layout_1_3, 1 );
234 qtarch_layout_1_3->addStrut( 0 );
235 qtarch_layout_1_3->addWidget( qtarch_belowlabel, 1, 33 );
236 qtarch_layout_1_3->addStretch( 1 );
237 qtarch_layout_1_3->addWidget( combo_spacebelow, 1, 33 );
238 qtarch_layout_1_3->addStretch( 1 );
239 QGridLayout* qtarch_layout_1_4 = new QGridLayout( 3, 5, 5, NULL );
240 qtarch_layout_1->addLayout( qtarch_layout_1_4, 3 );
241 qtarch_layout_1_4->addColSpacing( 0, 5 );
242 qtarch_layout_1_4->setColStretch( 0, 1 );
243 qtarch_layout_1_4->addColSpacing( 1, 5 );
244 qtarch_layout_1_4->setColStretch( 1, 2 );
245 qtarch_layout_1_4->addColSpacing( 2, 5 );
246 qtarch_layout_1_4->setColStretch( 2, 1 );
247 qtarch_layout_1_4->addColSpacing( 3, 5 );
248 qtarch_layout_1_4->setColStretch( 3, 4 );
249 qtarch_layout_1_4->addColSpacing( 4, 5 );
250 qtarch_layout_1_4->setColStretch( 4, 1 );
251 qtarch_layout_1_4->addRowSpacing( 0, 0 );
252 qtarch_layout_1_4->setRowStretch( 0, 1 );
253 qtarch_layout_1_4->addWidget( qtarch_ValueLabel, 0, 1, 33 );
254 qtarch_layout_1_4->addWidget( length_spacebelow, 0, 3, 33 );
255 qtarch_layout_1_4->addRowSpacing( 1, 0 );
256 qtarch_layout_1_4->setRowStretch( 1, 1 );
257 qtarch_layout_1_4->addWidget( qtarch_Label_14, 1, 1, 33 );
258 qtarch_layout_1_4->addWidget( length_spacebelowplus, 1, 3, 33 );
259 qtarch_layout_1_4->addRowSpacing( 2, 0 );
260 qtarch_layout_1_4->setRowStretch( 2, 1 );
261 qtarch_layout_1_4->addWidget( qtarch_belowminuslabel, 2, 1, 33 );
262 qtarch_layout_1_4->addWidget( length_spacebelowminus, 2, 3, 33 );
264 setMinimumSize( 0, 0 );
265 setMaximumSize( 32767, 32767 );
269 ParaBelowDialogData::~ParaBelowDialogData()
272 void ParaBelowDialogData::spacebelowHighlighted(int)