1 /**********************************************************************
3 --- Qt Architect 1.4-6 generated file ---
5 File: paraabovedlgdata.C
6 Last generated: Sat Mar 31 16:48:55 2001
8 DO NOT EDIT!!! This file will be automatically
9 regenerated by qtarch. All changes will be lost.
11 *********************************************************************/
17 #include "paraabovedlgdata.h"
19 #define Inherited QWidget
23 ParaAboveDialogData::ParaAboveDialogData
29 Inherited( parent, name, 0 )
31 check_pagebreakabove = new QCheckBox( this, "check_pagebreakabove" );
32 check_pagebreakabove->setGeometry( 5, 5, 228, 67 );
33 check_pagebreakabove->setMinimumSize( 0, 0 );
34 check_pagebreakabove->setMaximumSize( 32767, 32767 );
35 check_pagebreakabove->setFocusPolicy( QWidget::TabFocus );
36 check_pagebreakabove->setBackgroundMode( QWidget::PaletteBackground );
37 check_pagebreakabove->setFontPropagation( QWidget::NoChildren );
38 check_pagebreakabove->setPalettePropagation( QWidget::NoChildren );
39 check_pagebreakabove->setText( _("Page break") );
40 check_pagebreakabove->setAutoRepeat( false );
41 check_pagebreakabove->setAutoResize( false );
42 check_pagebreakabove->setChecked( false );
44 check_keepabove = new QCheckBox( this, "check_keepabove" );
45 check_keepabove->setGeometry( 5, 77, 228, 66 );
46 check_keepabove->setMinimumSize( 0, 0 );
47 check_keepabove->setMaximumSize( 32767, 32767 );
48 check_keepabove->setFocusPolicy( QWidget::TabFocus );
49 check_keepabove->setBackgroundMode( QWidget::PaletteBackground );
50 check_keepabove->setFontPropagation( QWidget::NoChildren );
51 check_keepabove->setPalettePropagation( QWidget::NoChildren );
52 check_keepabove->setText( _("Keep space when at top of page") );
53 check_keepabove->setAutoRepeat( false );
54 check_keepabove->setAutoResize( false );
55 check_keepabove->setChecked( false );
57 QLabel* qtarch_abovelabel;
58 qtarch_abovelabel = new QLabel( this, "abovelabel" );
59 qtarch_abovelabel->setGeometry( 5, 148, 113, 67 );
60 qtarch_abovelabel->setMinimumSize( 0, 0 );
61 qtarch_abovelabel->setMaximumSize( 32767, 32767 );
62 qtarch_abovelabel->setFocusPolicy( QWidget::NoFocus );
63 qtarch_abovelabel->setBackgroundMode( QWidget::PaletteBackground );
64 qtarch_abovelabel->setFontPropagation( QWidget::NoChildren );
65 qtarch_abovelabel->setPalettePropagation( QWidget::NoChildren );
66 qtarch_abovelabel->setFrameStyle( 0 );
67 qtarch_abovelabel->setLineWidth( 1 );
68 qtarch_abovelabel->setMidLineWidth( 0 );
69 qtarch_abovelabel->QFrame::setMargin( 0 );
70 qtarch_abovelabel->setText( _("Extra Space") );
71 qtarch_abovelabel->setAlignment( 289 );
72 qtarch_abovelabel->setMargin( -1 );
74 combo_spaceabove = new QComboBox( FALSE, this, "combo_spaceabove" );
75 combo_spaceabove->setGeometry( 235, 148, 113, 67 );
76 combo_spaceabove->setMinimumSize( 0, 0 );
77 combo_spaceabove->setMaximumSize( 32767, 32767 );
78 connect( combo_spaceabove, SIGNAL(highlighted(int)), SLOT(spaceaboveHighlighted(int)) );
79 combo_spaceabove->setFocusPolicy( QWidget::StrongFocus );
80 combo_spaceabove->setBackgroundMode( QWidget::PaletteBackground );
81 combo_spaceabove->setFontPropagation( QWidget::AllChildren );
82 combo_spaceabove->setPalettePropagation( QWidget::AllChildren );
83 combo_spaceabove->setSizeLimit( 10 );
84 combo_spaceabove->setAutoResize( false );
85 combo_spaceabove->setMaxCount( 2147483647 );
86 combo_spaceabove->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_aboveminuslabel;
123 qtarch_aboveminuslabel = new QLabel( this, "aboveminuslabel" );
124 qtarch_aboveminuslabel->setGeometry( 61, 363, 96, 67 );
125 qtarch_aboveminuslabel->setMinimumSize( 0, 0 );
126 qtarch_aboveminuslabel->setMaximumSize( 32767, 32767 );
127 qtarch_aboveminuslabel->setFocusPolicy( QWidget::NoFocus );
128 qtarch_aboveminuslabel->setBackgroundMode( QWidget::PaletteBackground );
129 qtarch_aboveminuslabel->setFontPropagation( QWidget::NoChildren );
130 qtarch_aboveminuslabel->setPalettePropagation( QWidget::NoChildren );
131 qtarch_aboveminuslabel->setFrameStyle( 0 );
132 qtarch_aboveminuslabel->setLineWidth( 1 );
133 qtarch_aboveminuslabel->setMidLineWidth( 0 );
134 qtarch_aboveminuslabel->QFrame::setMargin( 0 );
135 qtarch_aboveminuslabel->setText( _("Shrink") );
136 qtarch_aboveminuslabel->setAlignment( 289 );
137 qtarch_aboveminuslabel->setMargin( -1 );
139 length_spaceabove = new LengthEntry( this, "length_spaceabove" );
140 length_spaceabove->setGeometry( 217, 220, 187, 67 );
141 length_spaceabove->setMinimumSize( 0, 0 );
142 length_spaceabove->setMaximumSize( 32767, 32767 );
143 length_spaceabove->setFocusPolicy( QWidget::NoFocus );
144 length_spaceabove->setBackgroundMode( QWidget::PaletteBackground );
145 length_spaceabove->setFontPropagation( QWidget::NoChildren );
146 length_spaceabove->setPalettePropagation( QWidget::NoChildren );
148 length_spaceaboveplus = new LengthEntry( this, "length_spaceaboveplus" );
149 length_spaceaboveplus->setGeometry( 217, 292, 187, 66 );
150 length_spaceaboveplus->setMinimumSize( 0, 0 );
151 length_spaceaboveplus->setMaximumSize( 32767, 32767 );
152 length_spaceaboveplus->setFocusPolicy( QWidget::NoFocus );
153 length_spaceaboveplus->setBackgroundMode( QWidget::PaletteBackground );
154 length_spaceaboveplus->setFontPropagation( QWidget::NoChildren );
155 length_spaceaboveplus->setPalettePropagation( QWidget::NoChildren );
157 length_spaceaboveminus = new LengthEntry( this, "length_spaceaboveminus" );
158 length_spaceaboveminus->setGeometry( 217, 363, 187, 67 );
159 length_spaceaboveminus->setMinimumSize( 0, 0 );
160 length_spaceaboveminus->setMaximumSize( 32767, 32767 );
161 length_spaceaboveminus->setFocusPolicy( QWidget::NoFocus );
162 length_spaceaboveminus->setBackgroundMode( QWidget::PaletteBackground );
163 length_spaceaboveminus->setFontPropagation( QWidget::NoChildren );
164 length_spaceaboveminus->setPalettePropagation( QWidget::NoChildren );
166 if (check_pagebreakabove->sizeHint().width()!=-1)
167 check_pagebreakabove->setMinimumWidth(check_pagebreakabove->sizeHint().width());
168 if (check_pagebreakabove->sizeHint().height()!=-1)
169 check_pagebreakabove->setMinimumHeight(check_pagebreakabove->sizeHint().height());
170 if (check_pagebreakabove->sizeHint().width()!=-1)
171 check_pagebreakabove->setMaximumWidth(check_pagebreakabove->sizeHint().width());
172 if (check_pagebreakabove->sizeHint().height()!=-1)
173 check_pagebreakabove->setMaximumHeight(check_pagebreakabove->sizeHint().height());
174 if (check_keepabove->sizeHint().width()!=-1)
175 check_keepabove->setMinimumWidth(check_keepabove->sizeHint().width());
176 if (check_keepabove->sizeHint().height()!=-1)
177 check_keepabove->setMinimumHeight(check_keepabove->sizeHint().height());
178 if (check_keepabove->sizeHint().width()!=-1)
179 check_keepabove->setMaximumWidth(check_keepabove->sizeHint().width());
180 if (check_keepabove->sizeHint().height()!=-1)
181 check_keepabove->setMaximumHeight(check_keepabove->sizeHint().height());
182 if (qtarch_abovelabel->sizeHint().width()!=-1)
183 qtarch_abovelabel->setMinimumWidth(qtarch_abovelabel->sizeHint().width());
184 if (qtarch_abovelabel->sizeHint().height()!=-1)
185 qtarch_abovelabel->setMinimumHeight(qtarch_abovelabel->sizeHint().height());
186 if (qtarch_abovelabel->sizeHint().width()!=-1)
187 qtarch_abovelabel->setMaximumWidth(qtarch_abovelabel->sizeHint().width());
188 if (qtarch_abovelabel->sizeHint().height()!=-1)
189 qtarch_abovelabel->setMaximumHeight(qtarch_abovelabel->sizeHint().height());
190 if (combo_spaceabove->sizeHint().width()!=-1)
191 combo_spaceabove->setMinimumWidth(combo_spaceabove->sizeHint().width());
192 if (combo_spaceabove->sizeHint().height()!=-1)
193 combo_spaceabove->setMinimumHeight(combo_spaceabove->sizeHint().height());
194 if (combo_spaceabove->sizeHint().height()!=-1)
195 combo_spaceabove->setMaximumHeight(combo_spaceabove->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_aboveminuslabel->sizeHint().width()!=-1)
205 qtarch_aboveminuslabel->setMinimumWidth(qtarch_aboveminuslabel->sizeHint().width());
206 if (qtarch_aboveminuslabel->sizeHint().height()!=-1)
207 qtarch_aboveminuslabel->setMinimumHeight(qtarch_aboveminuslabel->sizeHint().height());
208 if (length_spaceabove->sizeHint().width()!=-1)
209 length_spaceabove->setMinimumWidth(length_spaceabove->sizeHint().width());
210 if (length_spaceabove->sizeHint().height()!=-1)
211 length_spaceabove->setMinimumHeight(length_spaceabove->sizeHint().height());
212 if (length_spaceaboveplus->sizeHint().width()!=-1)
213 length_spaceaboveplus->setMinimumWidth(length_spaceaboveplus->sizeHint().width());
214 if (length_spaceaboveplus->sizeHint().height()!=-1)
215 length_spaceaboveplus->setMinimumHeight(length_spaceaboveplus->sizeHint().height());
216 if (length_spaceaboveminus->sizeHint().width()!=-1)
217 length_spaceaboveminus->setMinimumWidth(length_spaceaboveminus->sizeHint().width());
218 if (length_spaceaboveminus->sizeHint().height()!=-1)
219 length_spaceaboveminus->setMinimumHeight(length_spaceaboveminus->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_pagebreakabove, 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_keepabove, 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_abovelabel, 1, 33 );
236 qtarch_layout_1_3->addStretch( 1 );
237 qtarch_layout_1_3->addWidget( combo_spaceabove, 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_spaceabove, 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_spaceaboveplus, 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_aboveminuslabel, 2, 1, 33 );
262 qtarch_layout_1_4->addWidget( length_spaceaboveminus, 2, 3, 33 );
264 setMinimumSize( 0, 0 );
265 setMaximumSize( 32767, 32767 );
269 ParaAboveDialogData::~ParaAboveDialogData()
272 void ParaAboveDialogData::spaceaboveHighlighted(int)