]> git.lyx.org Git - lyx.git/blob - src/frontends/kde/dlg/paraabovedlgdata.C
iA smaller KDE fix + remove l10n menu bindings
[lyx.git] / src / frontends / kde / dlg / paraabovedlgdata.C
1 /**********************************************************************
2
3         --- Qt Architect 1.4-6 generated file ---
4
5         File: paraabovedlgdata.C
6         Last generated: Mon Dec 4 18:21:59 2000
7
8         DO NOT EDIT!!!  This file will be automatically
9         regenerated by qtarch.  All changes will be lost.
10
11  *********************************************************************/
12
13 #include <gettext.h>
14
15 #include <qpixmap.h>
16 #include <qlayout.h>
17 #include "paraabovedlgdata.h"
18
19 #define Inherited QWidget
20
21 #include <qlabel.h>
22
23 ParaAboveDialogData::ParaAboveDialogData
24 (
25         QWidget* parent,
26         const char* name
27 )
28         :
29         Inherited( parent, name, 0 )
30 {
31         pagebreakabove = new QCheckBox( this, "pagebreakabove" );
32         pagebreakabove->setGeometry( 5, 5, 305, 73 );
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 );
43
44         keepabove = new QCheckBox( this, "keepabove" );
45         keepabove->setGeometry( 5, 83, 305, 73 );
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 );
56
57         QLabel* qtarch_abovelabel;
58         qtarch_abovelabel = new QLabel( this, "abovelabel" );
59         qtarch_abovelabel->setGeometry( 5, 161, 100, 36 );
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 );
73
74         spaceabove = new QComboBox( FALSE, this, "spaceabove" );
75         spaceabove->setGeometry( 110, 161, 200, 36 );
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 );
87
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 );
104
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 );
121
122         QLabel* qtarch_aboveminuslabel;
123         qtarch_aboveminuslabel = new QLabel( this, "aboveminuslabel" );
124         qtarch_aboveminuslabel->setGeometry( 5, 261, 58, 24 );
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 );
138
139         spaceabovevalue = new KRestrictedLine( this, "spaceabovevalue" );
140         spaceabovevalue->setGeometry( 68, 202, 3, 24 );
141         spaceabovevalue->setMinimumSize( 0, 0 );
142         spaceabovevalue->setMaximumSize( 32767, 32767 );
143         spaceabovevalue->setFocusPolicy( QWidget::StrongFocus );
144         spaceabovevalue->setBackgroundMode( QWidget::PaletteBase );
145         spaceabovevalue->setFontPropagation( QWidget::NoChildren );
146         spaceabovevalue->setPalettePropagation( QWidget::NoChildren );
147         spaceabovevalue->setText( "" );
148         spaceabovevalue->setMaxLength( 8 );
149         spaceabovevalue->setFrame( QLineEdit::Normal );
150         spaceabovevalue->setFrame( true );
151         spaceabovevalue->setValidChars( "0123456789.," );
152
153         spaceaboveplus = new KRestrictedLine( this, "spaceaboveplus" );
154         spaceaboveplus->setGeometry( 68, 231, 3, 25 );
155         spaceaboveplus->setMinimumSize( 0, 0 );
156         spaceaboveplus->setMaximumSize( 32767, 32767 );
157         spaceaboveplus->setFocusPolicy( QWidget::StrongFocus );
158         spaceaboveplus->setBackgroundMode( QWidget::PaletteBase );
159         spaceaboveplus->setFontPropagation( QWidget::NoChildren );
160         spaceaboveplus->setPalettePropagation( QWidget::NoChildren );
161         spaceaboveplus->setText( "" );
162         spaceaboveplus->setMaxLength( 8 );
163         spaceaboveplus->setFrame( QLineEdit::Normal );
164         spaceaboveplus->setFrame( true );
165         spaceaboveplus->setValidChars( "0123456789.," );
166
167         spaceaboveminus = new KRestrictedLine( this, "spaceaboveminus" );
168         spaceaboveminus->setGeometry( 68, 261, 3, 24 );
169         spaceaboveminus->setMinimumSize( 0, 0 );
170         spaceaboveminus->setMaximumSize( 32767, 32767 );
171         spaceaboveminus->setFocusPolicy( QWidget::StrongFocus );
172         spaceaboveminus->setBackgroundMode( QWidget::PaletteBase );
173         spaceaboveminus->setFontPropagation( QWidget::NoChildren );
174         spaceaboveminus->setPalettePropagation( QWidget::NoChildren );
175         spaceaboveminus->setText( "" );
176         spaceaboveminus->setMaxLength( 8 );
177         spaceaboveminus->setFrame( QLineEdit::Normal );
178         spaceaboveminus->setFrame( true );
179         spaceaboveminus->setValidChars( "0123456789.," );
180
181         spaceabovevalueunits = new QComboBox( FALSE, this, "spaceabovevalueunits" );
182         spaceabovevalueunits->setGeometry( 76, 202, 234, 24 );
183         spaceabovevalueunits->setMinimumSize( 0, 0 );
184         spaceabovevalueunits->setMaximumSize( 32767, 32767 );
185         spaceabovevalueunits->setFocusPolicy( QWidget::StrongFocus );
186         spaceabovevalueunits->setBackgroundMode( QWidget::PaletteBackground );
187         spaceabovevalueunits->setFontPropagation( QWidget::AllChildren );
188         spaceabovevalueunits->setPalettePropagation( QWidget::AllChildren );
189         spaceabovevalueunits->setSizeLimit( 10 );
190         spaceabovevalueunits->setAutoResize( false );
191         spaceabovevalueunits->setMaxCount( 2147483647 );
192         spaceabovevalueunits->setAutoCompletion( false );
193
194         spaceaboveplusunits = new QComboBox( FALSE, this, "spaceaboveplusunits" );
195         spaceaboveplusunits->setGeometry( 76, 231, 234, 25 );
196         spaceaboveplusunits->setMinimumSize( 0, 0 );
197         spaceaboveplusunits->setMaximumSize( 32767, 32767 );
198         spaceaboveplusunits->setFocusPolicy( QWidget::StrongFocus );
199         spaceaboveplusunits->setBackgroundMode( QWidget::PaletteBackground );
200         spaceaboveplusunits->setFontPropagation( QWidget::AllChildren );
201         spaceaboveplusunits->setPalettePropagation( QWidget::AllChildren );
202         spaceaboveplusunits->setSizeLimit( 10 );
203         spaceaboveplusunits->setAutoResize( false );
204         spaceaboveplusunits->setMaxCount( 2147483647 );
205         spaceaboveplusunits->setAutoCompletion( false );
206
207         spaceaboveminusunits = new QComboBox( FALSE, this, "spaceaboveminusunits" );
208         spaceaboveminusunits->setGeometry( 76, 261, 234, 24 );
209         spaceaboveminusunits->setMinimumSize( 0, 0 );
210         spaceaboveminusunits->setMaximumSize( 32767, 32767 );
211         spaceaboveminusunits->setFocusPolicy( QWidget::StrongFocus );
212         spaceaboveminusunits->setBackgroundMode( QWidget::PaletteBackground );
213         spaceaboveminusunits->setFontPropagation( QWidget::AllChildren );
214         spaceaboveminusunits->setPalettePropagation( QWidget::AllChildren );
215         spaceaboveminusunits->setSizeLimit( 10 );
216         spaceaboveminusunits->setAutoResize( false );
217         spaceaboveminusunits->setMaxCount( 2147483647 );
218         spaceaboveminusunits->setAutoCompletion( false );
219
220         if (pagebreakabove->sizeHint().width()!=-1)
221                 pagebreakabove->setMinimumWidth(pagebreakabove->sizeHint().width());
222         if (pagebreakabove->sizeHint().height()!=-1)
223                 pagebreakabove->setMinimumHeight(pagebreakabove->sizeHint().height());
224         if (pagebreakabove->sizeHint().width()!=-1)
225                 pagebreakabove->setMaximumWidth(pagebreakabove->sizeHint().width());
226         if (pagebreakabove->sizeHint().height()!=-1)
227                 pagebreakabove->setMaximumHeight(pagebreakabove->sizeHint().height());
228         if (keepabove->sizeHint().width()!=-1)
229                 keepabove->setMinimumWidth(keepabove->sizeHint().width());
230         if (keepabove->sizeHint().height()!=-1)
231                 keepabove->setMinimumHeight(keepabove->sizeHint().height());
232         if (keepabove->sizeHint().width()!=-1)
233                 keepabove->setMaximumWidth(keepabove->sizeHint().width());
234         if (keepabove->sizeHint().height()!=-1)
235                 keepabove->setMaximumHeight(keepabove->sizeHint().height());
236         if (qtarch_abovelabel->sizeHint().width()!=-1)
237                 qtarch_abovelabel->setMinimumWidth(qtarch_abovelabel->sizeHint().width());
238         if (qtarch_abovelabel->sizeHint().height()!=-1)
239                 qtarch_abovelabel->setMinimumHeight(qtarch_abovelabel->sizeHint().height());
240         if (qtarch_abovelabel->sizeHint().width()!=-1)
241                 qtarch_abovelabel->setMaximumWidth(qtarch_abovelabel->sizeHint().width());
242         if (qtarch_abovelabel->sizeHint().height()!=-1)
243                 qtarch_abovelabel->setMaximumHeight(qtarch_abovelabel->sizeHint().height());
244         if (spaceabove->sizeHint().width()!=-1)
245                 spaceabove->setMinimumWidth(spaceabove->sizeHint().width());
246         if (spaceabove->sizeHint().height()!=-1)
247                 spaceabove->setMinimumHeight(spaceabove->sizeHint().height());
248         if (spaceabove->sizeHint().height()!=-1)
249                 spaceabove->setMaximumHeight(spaceabove->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_aboveminuslabel->sizeHint().width()!=-1)
259                 qtarch_aboveminuslabel->setMinimumWidth(qtarch_aboveminuslabel->sizeHint().width());
260         if (qtarch_aboveminuslabel->sizeHint().height()!=-1)
261                 qtarch_aboveminuslabel->setMinimumHeight(qtarch_aboveminuslabel->sizeHint().height());
262         if (spaceabovevalue->sizeHint().width()!=-1)
263                 spaceabovevalue->setMinimumWidth(spaceabovevalue->sizeHint().width());
264         if (spaceabovevalue->sizeHint().height()!=-1)
265                 spaceabovevalue->setMinimumHeight(spaceabovevalue->sizeHint().height());
266         if (spaceabovevalue->sizeHint().height()!=-1)
267                 spaceabovevalue->setMaximumHeight(spaceabovevalue->sizeHint().height());
268         if (spaceaboveplus->sizeHint().width()!=-1)
269                 spaceaboveplus->setMinimumWidth(spaceaboveplus->sizeHint().width());
270         if (spaceaboveplus->sizeHint().height()!=-1)
271                 spaceaboveplus->setMinimumHeight(spaceaboveplus->sizeHint().height());
272         if (spaceaboveplus->sizeHint().height()!=-1)
273                 spaceaboveplus->setMaximumHeight(spaceaboveplus->sizeHint().height());
274         if (spaceaboveminus->sizeHint().width()!=-1)
275                 spaceaboveminus->setMinimumWidth(spaceaboveminus->sizeHint().width());
276         if (spaceaboveminus->sizeHint().height()!=-1)
277                 spaceaboveminus->setMinimumHeight(spaceaboveminus->sizeHint().height());
278         if (spaceaboveminus->sizeHint().height()!=-1)
279                 spaceaboveminus->setMaximumHeight(spaceaboveminus->sizeHint().height());
280         if (spaceabovevalueunits->sizeHint().width()!=-1)
281                 spaceabovevalueunits->setMinimumWidth(spaceabovevalueunits->sizeHint().width());
282         if (spaceabovevalueunits->sizeHint().height()!=-1)
283                 spaceabovevalueunits->setMinimumHeight(spaceabovevalueunits->sizeHint().height());
284         if (spaceabovevalueunits->sizeHint().height()!=-1)
285                 spaceabovevalueunits->setMaximumHeight(spaceabovevalueunits->sizeHint().height());
286         if (spaceaboveplusunits->sizeHint().width()!=-1)
287                 spaceaboveplusunits->setMinimumWidth(spaceaboveplusunits->sizeHint().width());
288         if (spaceaboveplusunits->sizeHint().height()!=-1)
289                 spaceaboveplusunits->setMinimumHeight(spaceaboveplusunits->sizeHint().height());
290         if (spaceaboveplusunits->sizeHint().height()!=-1)
291                 spaceaboveplusunits->setMaximumHeight(spaceaboveplusunits->sizeHint().height());
292         if (spaceaboveminusunits->sizeHint().width()!=-1)
293                 spaceaboveminusunits->setMinimumWidth(spaceaboveminusunits->sizeHint().width());
294         if (spaceaboveminusunits->sizeHint().height()!=-1)
295                 spaceaboveminusunits->setMinimumHeight(spaceaboveminusunits->sizeHint().height());
296         if (spaceaboveminusunits->sizeHint().height()!=-1)
297                 spaceaboveminusunits->setMaximumHeight(spaceaboveminusunits->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( pagebreakabove, 2, 1 );
301         qtarch_layout_1->addWidget( keepabove, 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_abovelabel, 1, 1 );
306         qtarch_layout_1_3->addWidget( spaceabove, 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( spaceabovevalue, 0, 1, 36 );
319         qtarch_layout_1_4->addWidget( spaceabovevalueunits, 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( spaceaboveplus, 1, 1, 36 );
324         qtarch_layout_1_4->addWidget( spaceaboveplusunits, 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_aboveminuslabel, 2, 0, 36 );
328         qtarch_layout_1_4->addWidget( spaceaboveminus, 2, 1, 36 );
329         qtarch_layout_1_4->addWidget( spaceaboveminusunits, 2, 2, 36 );
330         resize( 315,290 );
331         setMinimumSize( 0, 0 );
332         setMaximumSize( 32767, 32767 );
333 }
334
335
336 ParaAboveDialogData::~ParaAboveDialogData()
337 {
338 }
339 void ParaAboveDialogData::spaceaboveHighlighted(int)
340 {
341 }