1 /**********************************************************************
3 --- Qt Architect 1.4-6 generated file ---
5 File: paraabovedlgdata.C
6 Last generated: Wed Jan 24 06:43:38 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 pagebreakabove = new QCheckBox( this, "pagebreakabove" );
32 pagebreakabove->setGeometry( 5, 5, 228, 67 );
33 pagebreakabove->setMinimumSize( 0, 0 );
34 pagebreakabove->setMaximumSize( 32767, 32767 );
35 pagebreakabove->setFocusPolicy( QWidget::TabFocus );
36 pagebreakabove->setBackgroundMode( QWidget::PaletteBackground );
37 pagebreakabove->setFontPropagation( QWidget::NoChildren );
38 pagebreakabove->setPalettePropagation( QWidget::NoChildren );
39 pagebreakabove->setText( _("Page break") );
40 pagebreakabove->setAutoRepeat( false );
41 pagebreakabove->setAutoResize( false );
42 pagebreakabove->setChecked( false );
44 keepabove = new QCheckBox( this, "keepabove" );
45 keepabove->setGeometry( 5, 77, 228, 66 );
46 keepabove->setMinimumSize( 0, 0 );
47 keepabove->setMaximumSize( 32767, 32767 );
48 keepabove->setFocusPolicy( QWidget::TabFocus );
49 keepabove->setBackgroundMode( QWidget::PaletteBackground );
50 keepabove->setFontPropagation( QWidget::NoChildren );
51 keepabove->setPalettePropagation( QWidget::NoChildren );
52 keepabove->setText( _("Keep space when at top of page") );
53 keepabove->setAutoRepeat( false );
54 keepabove->setAutoResize( false );
55 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 spaceabove = new QComboBox( FALSE, this, "spaceabove" );
75 spaceabove->setGeometry( 235, 148, 113, 67 );
76 spaceabove->setMinimumSize( 0, 0 );
77 spaceabove->setMaximumSize( 32767, 32767 );
78 connect( spaceabove, SIGNAL(highlighted(int)), SLOT(spaceaboveHighlighted(int)) );
79 spaceabove->setFocusPolicy( QWidget::StrongFocus );
80 spaceabove->setBackgroundMode( QWidget::PaletteBackground );
81 spaceabove->setFontPropagation( QWidget::AllChildren );
82 spaceabove->setPalettePropagation( QWidget::AllChildren );
83 spaceabove->setSizeLimit( 10 );
84 spaceabove->setAutoResize( false );
85 spaceabove->setMaxCount( 2147483647 );
86 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( _("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( 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( _("Plus") );
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( _("Minus") );
136 qtarch_aboveminuslabel->setAlignment( 289 );
137 qtarch_aboveminuslabel->setMargin( -1 );
139 spaceabovevalue = new LengthEntry( this, "spaceabovevalue" );
140 spaceabovevalue->setGeometry( 217, 220, 187, 67 );
141 spaceabovevalue->setMinimumSize( 0, 0 );
142 spaceabovevalue->setMaximumSize( 32767, 32767 );
143 spaceabovevalue->setFocusPolicy( QWidget::NoFocus );
144 spaceabovevalue->setBackgroundMode( QWidget::PaletteBackground );
145 spaceabovevalue->setFontPropagation( QWidget::NoChildren );
146 spaceabovevalue->setPalettePropagation( QWidget::NoChildren );
148 spaceaboveplus = new LengthEntry( this, "spaceaboveplus" );
149 spaceaboveplus->setGeometry( 217, 292, 187, 66 );
150 spaceaboveplus->setMinimumSize( 0, 0 );
151 spaceaboveplus->setMaximumSize( 32767, 32767 );
152 spaceaboveplus->setFocusPolicy( QWidget::NoFocus );
153 spaceaboveplus->setBackgroundMode( QWidget::PaletteBackground );
154 spaceaboveplus->setFontPropagation( QWidget::NoChildren );
155 spaceaboveplus->setPalettePropagation( QWidget::NoChildren );
157 spaceaboveminus = new LengthEntry( this, "spaceaboveminus" );
158 spaceaboveminus->setGeometry( 217, 363, 187, 67 );
159 spaceaboveminus->setMinimumSize( 0, 0 );
160 spaceaboveminus->setMaximumSize( 32767, 32767 );
161 spaceaboveminus->setFocusPolicy( QWidget::NoFocus );
162 spaceaboveminus->setBackgroundMode( QWidget::PaletteBackground );
163 spaceaboveminus->setFontPropagation( QWidget::NoChildren );
164 spaceaboveminus->setPalettePropagation( QWidget::NoChildren );
166 if (pagebreakabove->sizeHint().width()!=-1)
167 pagebreakabove->setMinimumWidth(pagebreakabove->sizeHint().width());
168 if (pagebreakabove->sizeHint().height()!=-1)
169 pagebreakabove->setMinimumHeight(pagebreakabove->sizeHint().height());
170 if (pagebreakabove->sizeHint().width()!=-1)
171 pagebreakabove->setMaximumWidth(pagebreakabove->sizeHint().width());
172 if (pagebreakabove->sizeHint().height()!=-1)
173 pagebreakabove->setMaximumHeight(pagebreakabove->sizeHint().height());
174 if (keepabove->sizeHint().width()!=-1)
175 keepabove->setMinimumWidth(keepabove->sizeHint().width());
176 if (keepabove->sizeHint().height()!=-1)
177 keepabove->setMinimumHeight(keepabove->sizeHint().height());
178 if (keepabove->sizeHint().width()!=-1)
179 keepabove->setMaximumWidth(keepabove->sizeHint().width());
180 if (keepabove->sizeHint().height()!=-1)
181 keepabove->setMaximumHeight(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 (spaceabove->sizeHint().width()!=-1)
191 spaceabove->setMinimumWidth(spaceabove->sizeHint().width());
192 if (spaceabove->sizeHint().height()!=-1)
193 spaceabove->setMinimumHeight(spaceabove->sizeHint().height());
194 if (spaceabove->sizeHint().height()!=-1)
195 spaceabove->setMaximumHeight(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 (spaceabovevalue->sizeHint().width()!=-1)
209 spaceabovevalue->setMinimumWidth(spaceabovevalue->sizeHint().width());
210 if (spaceabovevalue->sizeHint().height()!=-1)
211 spaceabovevalue->setMinimumHeight(spaceabovevalue->sizeHint().height());
212 if (spaceaboveplus->sizeHint().width()!=-1)
213 spaceaboveplus->setMinimumWidth(spaceaboveplus->sizeHint().width());
214 if (spaceaboveplus->sizeHint().height()!=-1)
215 spaceaboveplus->setMinimumHeight(spaceaboveplus->sizeHint().height());
216 if (spaceaboveminus->sizeHint().width()!=-1)
217 spaceaboveminus->setMinimumWidth(spaceaboveminus->sizeHint().width());
218 if (spaceaboveminus->sizeHint().height()!=-1)
219 spaceaboveminus->setMinimumHeight(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( 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( 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( 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( spaceabovevalue, 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( 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( spaceaboveminus, 2, 3, 33 );
264 setMinimumSize( 0, 0 );
265 setMaximumSize( 32767, 32767 );
269 ParaAboveDialogData::~ParaAboveDialogData()
272 void ParaAboveDialogData::spaceaboveHighlighted(int)