]> git.lyx.org Git - features.git/blob - src/frontends/kde/dlg/paraextradlgdata.C
023278608c76449c39b86efe6624b5506dc32324
[features.git] / src / frontends / kde / dlg / paraextradlgdata.C
1 /**********************************************************************
2
3         --- Qt Architect 1.4-6 generated file ---
4
5         File: paraextradlgdata.C
6         Last generated: Sat Feb 10 21:08:55 2001
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 "paraextradlgdata.h"
18
19 #define Inherited QWidget
20
21 #include <qlabel.h>
22
23 ParaExtraDialogData::ParaExtraDialogData
24 (
25         QWidget* parent,
26         const char* name
27 )
28         :
29         Inherited( parent, name, 0 )
30 {
31         type = new QComboBox( FALSE, this, "type" );
32         type->setGeometry( 5, 65, 265, 54 );
33         type->setMinimumSize( 0, 0 );
34         type->setMaximumSize( 32767, 32767 );
35         connect( type, SIGNAL(highlighted(int)), SLOT(typeHighlighted(int)) );
36         type->setFocusPolicy( QWidget::StrongFocus );
37         type->setBackgroundMode( QWidget::PaletteBackground );
38         type->setFontPropagation( QWidget::AllChildren );
39         type->setPalettePropagation( QWidget::AllChildren );
40         type->setSizeLimit( 10 );
41         type->setAutoResize( false );
42         type->setMaxCount( 2147483647 );
43         type->setAutoCompletion( false );
44
45         QLabel* qtarch_speciallabel;
46         qtarch_speciallabel = new QLabel( this, "speciallabel" );
47         qtarch_speciallabel->setGeometry( 5, 5, 265, 55 );
48         qtarch_speciallabel->setMinimumSize( 0, 0 );
49         qtarch_speciallabel->setMaximumSize( 32767, 32767 );
50         qtarch_speciallabel->setFocusPolicy( QWidget::NoFocus );
51         qtarch_speciallabel->setBackgroundMode( QWidget::PaletteBackground );
52         qtarch_speciallabel->setFontPropagation( QWidget::NoChildren );
53         qtarch_speciallabel->setPalettePropagation( QWidget::NoChildren );
54         qtarch_speciallabel->setFrameStyle( 0 );
55         qtarch_speciallabel->setLineWidth( 1 );
56         qtarch_speciallabel->setMidLineWidth( 0 );
57         qtarch_speciallabel->QFrame::setMargin( 0 );
58         qtarch_speciallabel->setText( _("Type") );
59         qtarch_speciallabel->setAlignment( 289 );
60         qtarch_speciallabel->setMargin( -1 );
61
62         QLabel* qtarch_specialwidthlabel;
63         qtarch_specialwidthlabel = new QLabel( this, "specialwidthlabel" );
64         qtarch_specialwidthlabel->setGeometry( 275, 5, 265, 55 );
65         qtarch_specialwidthlabel->setMinimumSize( 0, 0 );
66         qtarch_specialwidthlabel->setMaximumSize( 32767, 32767 );
67         qtarch_specialwidthlabel->setFocusPolicy( QWidget::NoFocus );
68         qtarch_specialwidthlabel->setBackgroundMode( QWidget::PaletteBackground );
69         qtarch_specialwidthlabel->setFontPropagation( QWidget::NoChildren );
70         qtarch_specialwidthlabel->setPalettePropagation( QWidget::NoChildren );
71         qtarch_specialwidthlabel->setFrameStyle( 0 );
72         qtarch_specialwidthlabel->setLineWidth( 1 );
73         qtarch_specialwidthlabel->setMidLineWidth( 0 );
74         qtarch_specialwidthlabel->QFrame::setMargin( 0 );
75         qtarch_specialwidthlabel->setText( _("Width") );
76         qtarch_specialwidthlabel->setAlignment( 289 );
77         qtarch_specialwidthlabel->setMargin( -1 );
78
79         widthvalue = new KRestrictedLine( this, "widthvalue" );
80         widthvalue->setGeometry( 275, 65, 87, 54 );
81         widthvalue->setMinimumSize( 0, 0 );
82         widthvalue->setMaximumSize( 32767, 32767 );
83         widthvalue->setFocusPolicy( QWidget::StrongFocus );
84         widthvalue->setBackgroundMode( QWidget::PaletteBase );
85         widthvalue->setFontPropagation( QWidget::NoChildren );
86         widthvalue->setPalettePropagation( QWidget::NoChildren );
87         widthvalue->setText( "" );
88         widthvalue->setMaxLength( 32767 );
89         widthvalue->setFrame( QLineEdit::Normal );
90         widthvalue->setFrame( true );
91         widthvalue->setValidChars( "0123456789.-," );
92
93         widthvalueunits = new QComboBox( FALSE, this, "widthvalueunits" );
94         widthvalueunits->setGeometry( 367, 65, 173, 54 );
95         widthvalueunits->setMinimumSize( 0, 0 );
96         widthvalueunits->setMaximumSize( 32767, 32767 );
97         widthvalueunits->setFocusPolicy( QWidget::StrongFocus );
98         widthvalueunits->setBackgroundMode( QWidget::PaletteBackground );
99         widthvalueunits->setFontPropagation( QWidget::AllChildren );
100         widthvalueunits->setPalettePropagation( QWidget::AllChildren );
101         widthvalueunits->setSizeLimit( 10 );
102         widthvalueunits->setAutoResize( false );
103         widthvalueunits->setMaxCount( 2147483647 );
104         widthvalueunits->setAutoCompletion( false );
105
106         specialalignment = new QButtonGroup( this, "specialalignment" );
107         specialalignment->setGeometry( 5, 124, 265, 331 );
108         specialalignment->setMinimumSize( 0, 0 );
109         specialalignment->setMaximumSize( 32767, 32767 );
110         specialalignment->setFocusPolicy( QWidget::NoFocus );
111         specialalignment->setBackgroundMode( QWidget::PaletteBackground );
112         specialalignment->setFontPropagation( QWidget::NoChildren );
113         specialalignment->setPalettePropagation( QWidget::NoChildren );
114         specialalignment->setFrameStyle( 49 );
115         specialalignment->setLineWidth( 1 );
116         specialalignment->setMidLineWidth( 0 );
117         specialalignment->QFrame::setMargin( 0 );
118         specialalignment->setTitle( _("Alignment") );
119         specialalignment->setAlignment( 1 );
120         specialalignment->setExclusive( true );
121
122         top = new QRadioButton( specialalignment, "top" );
123         top->setGeometry( 5, 49, 255, 45 );
124         top->setMinimumSize( 0, 0 );
125         top->setMaximumSize( 32767, 32767 );
126         top->setFocusPolicy( QWidget::TabFocus );
127         top->setBackgroundMode( QWidget::PaletteBackground );
128         top->setFontPropagation( QWidget::NoChildren );
129         top->setPalettePropagation( QWidget::NoChildren );
130         top->setText( _("&Top") );
131         top->setAutoRepeat( false );
132         top->setAutoResize( false );
133         top->setChecked( false );
134
135         middle = new QRadioButton( specialalignment, "middle" );
136         middle->setGeometry( 5, 143, 255, 45 );
137         middle->setMinimumSize( 0, 0 );
138         middle->setMaximumSize( 32767, 32767 );
139         middle->setFocusPolicy( QWidget::TabFocus );
140         middle->setBackgroundMode( QWidget::PaletteBackground );
141         middle->setFontPropagation( QWidget::NoChildren );
142         middle->setPalettePropagation( QWidget::NoChildren );
143         middle->setText( _("&Middle") );
144         middle->setAutoRepeat( false );
145         middle->setAutoResize( false );
146         middle->setChecked( false );
147
148         bottom = new QRadioButton( specialalignment, "bottom" );
149         bottom->setGeometry( 5, 237, 255, 45 );
150         bottom->setMinimumSize( 0, 0 );
151         bottom->setMaximumSize( 32767, 32767 );
152         bottom->setFocusPolicy( QWidget::TabFocus );
153         bottom->setBackgroundMode( QWidget::PaletteBackground );
154         bottom->setFontPropagation( QWidget::NoChildren );
155         bottom->setPalettePropagation( QWidget::NoChildren );
156         bottom->setText( _("&Bottom") );
157         bottom->setAutoRepeat( false );
158         bottom->setAutoResize( false );
159         bottom->setChecked( false );
160
161         hfillbetween = new QCheckBox( this, "hfillbetween" );
162         hfillbetween->setGeometry( 275, 189, 265, 65 );
163         hfillbetween->setMinimumSize( 0, 0 );
164         hfillbetween->setMaximumSize( 32767, 32767 );
165         hfillbetween->setFocusPolicy( QWidget::TabFocus );
166         hfillbetween->setBackgroundMode( QWidget::PaletteBackground );
167         hfillbetween->setFontPropagation( QWidget::NoChildren );
168         hfillbetween->setPalettePropagation( QWidget::NoChildren );
169         hfillbetween->setText( _("&HFill between minipage paragraphs") );
170         hfillbetween->setAutoRepeat( false );
171         hfillbetween->setAutoResize( false );
172         hfillbetween->setChecked( false );
173
174         startnewminipage = new QCheckBox( this, "startnewminipage" );
175         startnewminipage->setGeometry( 275, 325, 265, 65 );
176         startnewminipage->setMinimumSize( 0, 0 );
177         startnewminipage->setMaximumSize( 32767, 32767 );
178         startnewminipage->setFocusPolicy( QWidget::TabFocus );
179         startnewminipage->setBackgroundMode( QWidget::PaletteBackground );
180         startnewminipage->setFontPropagation( QWidget::NoChildren );
181         startnewminipage->setPalettePropagation( QWidget::NoChildren );
182         startnewminipage->setText( _("&Start new minipage") );
183         startnewminipage->setAutoRepeat( false );
184         startnewminipage->setAutoResize( false );
185         startnewminipage->setChecked( false );
186
187         if (type->sizeHint().width()!=-1)
188                 type->setMinimumWidth(type->sizeHint().width());
189         if (type->sizeHint().height()!=-1)
190                 type->setMinimumHeight(type->sizeHint().height());
191         if (type->sizeHint().height()!=-1)
192                 type->setMaximumHeight(type->sizeHint().height());
193         if (qtarch_speciallabel->sizeHint().width()!=-1)
194                 qtarch_speciallabel->setMinimumWidth(qtarch_speciallabel->sizeHint().width());
195         if (qtarch_speciallabel->sizeHint().height()!=-1)
196                 qtarch_speciallabel->setMinimumHeight(qtarch_speciallabel->sizeHint().height());
197         if (qtarch_speciallabel->sizeHint().width()!=-1)
198                 qtarch_speciallabel->setMaximumWidth(qtarch_speciallabel->sizeHint().width());
199         if (qtarch_speciallabel->sizeHint().height()!=-1)
200                 qtarch_speciallabel->setMaximumHeight(qtarch_speciallabel->sizeHint().height());
201         if (qtarch_specialwidthlabel->sizeHint().width()!=-1)
202                 qtarch_specialwidthlabel->setMinimumWidth(qtarch_specialwidthlabel->sizeHint().width());
203         if (qtarch_specialwidthlabel->sizeHint().height()!=-1)
204                 qtarch_specialwidthlabel->setMinimumHeight(qtarch_specialwidthlabel->sizeHint().height());
205         if (qtarch_specialwidthlabel->sizeHint().width()!=-1)
206                 qtarch_specialwidthlabel->setMaximumWidth(qtarch_specialwidthlabel->sizeHint().width());
207         if (qtarch_specialwidthlabel->sizeHint().height()!=-1)
208                 qtarch_specialwidthlabel->setMaximumHeight(qtarch_specialwidthlabel->sizeHint().height());
209         if (widthvalue->sizeHint().width()!=-1)
210                 widthvalue->setMinimumWidth(widthvalue->sizeHint().width());
211         if (widthvalue->sizeHint().height()!=-1)
212                 widthvalue->setMinimumHeight(widthvalue->sizeHint().height());
213         if (widthvalue->sizeHint().height()!=-1)
214                 widthvalue->setMaximumHeight(widthvalue->sizeHint().height());
215         if (widthvalueunits->sizeHint().width()!=-1)
216                 widthvalueunits->setMinimumWidth(widthvalueunits->sizeHint().width());
217         if (widthvalueunits->sizeHint().height()!=-1)
218                 widthvalueunits->setMinimumHeight(widthvalueunits->sizeHint().height());
219         if (widthvalueunits->sizeHint().height()!=-1)
220                 widthvalueunits->setMaximumHeight(widthvalueunits->sizeHint().height());
221         specialalignment->insert( top );
222         specialalignment->insert( middle );
223         specialalignment->insert( bottom );
224
225         if (top->sizeHint().width()!=-1)
226                 top->setMinimumWidth(top->sizeHint().width());
227         if (top->sizeHint().height()!=-1)
228                 top->setMinimumHeight(top->sizeHint().height());
229         if (top->sizeHint().width()!=-1)
230                 top->setMaximumWidth(top->sizeHint().width());
231         if (top->sizeHint().height()!=-1)
232                 top->setMaximumHeight(top->sizeHint().height());
233         if (middle->sizeHint().width()!=-1)
234                 middle->setMinimumWidth(middle->sizeHint().width());
235         if (middle->sizeHint().height()!=-1)
236                 middle->setMinimumHeight(middle->sizeHint().height());
237         if (middle->sizeHint().width()!=-1)
238                 middle->setMaximumWidth(middle->sizeHint().width());
239         if (middle->sizeHint().height()!=-1)
240                 middle->setMaximumHeight(middle->sizeHint().height());
241         if (bottom->sizeHint().width()!=-1)
242                 bottom->setMinimumWidth(bottom->sizeHint().width());
243         if (bottom->sizeHint().height()!=-1)
244                 bottom->setMinimumHeight(bottom->sizeHint().height());
245         if (bottom->sizeHint().width()!=-1)
246                 bottom->setMaximumWidth(bottom->sizeHint().width());
247         if (bottom->sizeHint().height()!=-1)
248                 bottom->setMaximumHeight(bottom->sizeHint().height());
249         if (hfillbetween->sizeHint().width()!=-1)
250                 hfillbetween->setMinimumWidth(hfillbetween->sizeHint().width());
251         if (hfillbetween->sizeHint().height()!=-1)
252                 hfillbetween->setMinimumHeight(hfillbetween->sizeHint().height());
253         if (hfillbetween->sizeHint().width()!=-1)
254                 hfillbetween->setMaximumWidth(hfillbetween->sizeHint().width());
255         if (hfillbetween->sizeHint().height()!=-1)
256                 hfillbetween->setMaximumHeight(hfillbetween->sizeHint().height());
257         if (startnewminipage->sizeHint().width()!=-1)
258                 startnewminipage->setMinimumWidth(startnewminipage->sizeHint().width());
259         if (startnewminipage->sizeHint().height()!=-1)
260                 startnewminipage->setMinimumHeight(startnewminipage->sizeHint().height());
261         if (startnewminipage->sizeHint().width()!=-1)
262                 startnewminipage->setMaximumWidth(startnewminipage->sizeHint().width());
263         if (startnewminipage->sizeHint().height()!=-1)
264                 startnewminipage->setMaximumHeight(startnewminipage->sizeHint().height());
265         QGridLayout* qtarch_layout_1 = new QGridLayout( this, 2, 2, 5, 5, NULL );
266         qtarch_layout_1->addColSpacing( 0, 5 );
267         qtarch_layout_1->setColStretch( 0, 1 );
268         qtarch_layout_1->addColSpacing( 1, 5 );
269         qtarch_layout_1->setColStretch( 1, 1 );
270         qtarch_layout_1->addRowSpacing( 0, 5 );
271         qtarch_layout_1->setRowStretch( 0, 1 );
272         QBoxLayout* qtarch_layout_1_1_1 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
273         qtarch_layout_1->addLayout( qtarch_layout_1_1_1, 0, 0 );
274         qtarch_layout_1_1_1->addStrut( 5 );
275         qtarch_layout_1_1_1->addWidget( qtarch_speciallabel, 1, 1 );
276         qtarch_layout_1_1_1->addWidget( type, 1, 36 );
277         QBoxLayout* qtarch_layout_1_1_2 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
278         qtarch_layout_1->addLayout( qtarch_layout_1_1_2, 0, 1 );
279         qtarch_layout_1_1_2->addStrut( 5 );
280         qtarch_layout_1_1_2->addWidget( qtarch_specialwidthlabel, 1, 1 );
281         QBoxLayout* qtarch_layout_1_1_2_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
282         qtarch_layout_1_1_2->addLayout( qtarch_layout_1_1_2_2, 1 );
283         qtarch_layout_1_1_2_2->addStrut( 0 );
284         qtarch_layout_1_1_2_2->addWidget( widthvalue, 1, 36 );
285         qtarch_layout_1_1_2_2->addWidget( widthvalueunits, 2, 36 );
286         qtarch_layout_1->addRowSpacing( 1, 5 );
287         qtarch_layout_1->setRowStretch( 1, 3 );
288         qtarch_layout_1->addWidget( specialalignment, 1, 0, 33 );
289         QBoxLayout* qtarch_layout_1_2_1 = new QBoxLayout( specialalignment, QBoxLayout::TopToBottom, 5, 5, NULL );
290         qtarch_layout_1_2_1->addStrut( 0 );
291         qtarch_layout_1_2_1->addStretch( 1 );
292         qtarch_layout_1_2_1->addWidget( top, 1, 1 );
293         qtarch_layout_1_2_1->addStretch( 1 );
294         qtarch_layout_1_2_1->addWidget( middle, 1, 1 );
295         qtarch_layout_1_2_1->addStretch( 1 );
296         qtarch_layout_1_2_1->addWidget( bottom, 1, 1 );
297         qtarch_layout_1_2_1->addStretch( 1 );
298         QBoxLayout* qtarch_layout_1_2_2 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
299         qtarch_layout_1->addLayout( qtarch_layout_1_2_2, 1, 1 );
300         qtarch_layout_1_2_2->addStrut( 0 );
301         qtarch_layout_1_2_2->addStretch( 1 );
302         qtarch_layout_1_2_2->addWidget( hfillbetween, 1, 1 );
303         qtarch_layout_1_2_2->addStretch( 1 );
304         qtarch_layout_1_2_2->addWidget( startnewminipage, 1, 1 );
305         qtarch_layout_1_2_2->addStretch( 1 );
306         resize( 545,460 );
307         setMinimumSize( 0, 0 );
308         setMaximumSize( 32767, 32767 );
309 }
310
311
312 ParaExtraDialogData::~ParaExtraDialogData()
313 {
314 }
315 void ParaExtraDialogData::typeHighlighted(int)
316 {
317 }