1 /**********************************************************************
3 --- Qt Architect 1.4-6 generated file ---
5 File: parageneraldlgdata.C
6 Last generated: Sat Feb 10 21:08:55 2001
8 DO NOT EDIT!!! This file will be automatically
9 regenerated by qtarch. All changes will be lost.
11 *********************************************************************/
17 #include "parageneraldlgdata.h"
19 #define Inherited QWidget
23 ParaGeneralDialogData::ParaGeneralDialogData
29 Inherited( parent, name, 0 )
31 justification = new QComboBox( FALSE, this, "justification" );
32 justification->setGeometry( 130, 5, 120, 59 );
33 justification->setMinimumSize( 0, 0 );
34 justification->setMaximumSize( 32767, 32767 );
35 justification->setFocusPolicy( QWidget::StrongFocus );
36 justification->setBackgroundMode( QWidget::PaletteBackground );
37 justification->setFontPropagation( QWidget::AllChildren );
38 justification->setPalettePropagation( QWidget::AllChildren );
39 justification->setSizeLimit( 4 );
40 justification->setAutoResize( false );
41 justification->setMaxCount( 4 );
42 justification->setAutoCompletion( false );
44 spacetab = new TabStack( this, "spacetab" );
45 spacetab->setGeometry( 5, 69, 605, 294 );
46 spacetab->setMinimumSize( 0, 0 );
47 spacetab->setMaximumSize( 32767, 32767 );
48 spacetab->setFocusPolicy( QWidget::NoFocus );
49 spacetab->setBackgroundMode( QWidget::PaletteBackground );
50 spacetab->setFontPropagation( QWidget::NoChildren );
51 spacetab->setPalettePropagation( QWidget::NoChildren );
53 lineabove = new QCheckBox( this, "lineabove" );
54 lineabove->setGeometry( 5, 368, 298, 39 );
55 lineabove->setMinimumSize( 0, 0 );
56 lineabove->setMaximumSize( 32767, 32767 );
57 lineabove->setFocusPolicy( QWidget::TabFocus );
58 lineabove->setBackgroundMode( QWidget::PaletteBackground );
59 lineabove->setFontPropagation( QWidget::NoChildren );
60 lineabove->setPalettePropagation( QWidget::NoChildren );
61 lineabove->setText( _("Draw line above paragraph") );
62 lineabove->setAutoRepeat( false );
63 lineabove->setAutoResize( false );
64 lineabove->setChecked( false );
66 linebelow = new QCheckBox( this, "linebelow" );
67 linebelow->setGeometry( 5, 412, 298, 39 );
68 linebelow->setMinimumSize( 0, 0 );
69 linebelow->setMaximumSize( 32767, 32767 );
70 linebelow->setFocusPolicy( QWidget::TabFocus );
71 linebelow->setBackgroundMode( QWidget::PaletteBackground );
72 linebelow->setFontPropagation( QWidget::NoChildren );
73 linebelow->setPalettePropagation( QWidget::NoChildren );
74 linebelow->setText( _("Draw line below paragraph") );
75 linebelow->setAutoRepeat( false );
76 linebelow->setAutoResize( false );
77 linebelow->setChecked( false );
79 noindent = new QCheckBox( this, "noindent" );
80 noindent->setGeometry( 5, 456, 298, 39 );
81 noindent->setMinimumSize( 0, 0 );
82 noindent->setMaximumSize( 32767, 32767 );
83 noindent->setFocusPolicy( QWidget::TabFocus );
84 noindent->setBackgroundMode( QWidget::PaletteBackground );
85 noindent->setFontPropagation( QWidget::NoChildren );
86 noindent->setPalettePropagation( QWidget::NoChildren );
87 noindent->setText( _("Don't indent paragraph") );
88 noindent->setAutoRepeat( false );
89 noindent->setAutoResize( false );
90 noindent->setChecked( false );
92 QLabel* qtarch_labelwidthlabel;
93 qtarch_labelwidthlabel = new QLabel( this, "labelwidthlabel" );
94 qtarch_labelwidthlabel->setGeometry( 308, 368, 149, 127 );
95 qtarch_labelwidthlabel->setMinimumSize( 0, 0 );
96 qtarch_labelwidthlabel->setMaximumSize( 32767, 32767 );
97 qtarch_labelwidthlabel->setFocusPolicy( QWidget::NoFocus );
98 qtarch_labelwidthlabel->setBackgroundMode( QWidget::PaletteBackground );
99 qtarch_labelwidthlabel->setFontPropagation( QWidget::NoChildren );
100 qtarch_labelwidthlabel->setPalettePropagation( QWidget::NoChildren );
101 qtarch_labelwidthlabel->setFrameStyle( 0 );
102 qtarch_labelwidthlabel->setLineWidth( 1 );
103 qtarch_labelwidthlabel->setMidLineWidth( 0 );
104 qtarch_labelwidthlabel->QFrame::setMargin( 0 );
105 qtarch_labelwidthlabel->setText( _("Label width") );
106 qtarch_labelwidthlabel->setAlignment( 289 );
107 qtarch_labelwidthlabel->setMargin( -1 );
109 labelwidth = new QLineEdit( this, "labelwidth" );
110 labelwidth->setGeometry( 462, 368, 148, 127 );
111 labelwidth->setMinimumSize( 0, 0 );
112 labelwidth->setMaximumSize( 32767, 32767 );
113 labelwidth->setFocusPolicy( QWidget::StrongFocus );
114 labelwidth->setBackgroundMode( QWidget::PaletteBase );
115 labelwidth->setFontPropagation( QWidget::NoChildren );
116 labelwidth->setPalettePropagation( QWidget::NoChildren );
117 labelwidth->setText( "" );
118 labelwidth->setMaxLength( 32767 );
119 labelwidth->setFrame( QLineEdit::Normal );
120 labelwidth->setFrame( true );
122 QLabel* qtarch_labelJustification;
123 qtarch_labelJustification = new QLabel( this, "labelJustification" );
124 qtarch_labelJustification->setGeometry( 5, 5, 120, 59 );
125 qtarch_labelJustification->setMinimumSize( 0, 0 );
126 qtarch_labelJustification->setMaximumSize( 32767, 32767 );
127 qtarch_labelJustification->setFocusPolicy( QWidget::NoFocus );
128 qtarch_labelJustification->setBackgroundMode( QWidget::PaletteBackground );
129 qtarch_labelJustification->setFontPropagation( QWidget::NoChildren );
130 qtarch_labelJustification->setPalettePropagation( QWidget::NoChildren );
131 qtarch_labelJustification->setFrameStyle( 0 );
132 qtarch_labelJustification->setLineWidth( 1 );
133 qtarch_labelJustification->setMidLineWidth( 0 );
134 qtarch_labelJustification->QFrame::setMargin( 0 );
135 qtarch_labelJustification->setText( _("Justification") );
136 qtarch_labelJustification->setAlignment( 289 );
137 qtarch_labelJustification->setMargin( -1 );
139 if (justification->sizeHint().width()!=-1)
140 justification->setMinimumWidth(justification->sizeHint().width());
141 if (justification->sizeHint().height()!=-1)
142 justification->setMinimumHeight(justification->sizeHint().height());
143 if (justification->sizeHint().height()!=-1)
144 justification->setMaximumHeight(justification->sizeHint().height());
145 if (spacetab->sizeHint().width()!=-1)
146 spacetab->setMinimumWidth(spacetab->sizeHint().width());
147 if (spacetab->sizeHint().height()!=-1)
148 spacetab->setMinimumHeight(spacetab->sizeHint().height());
149 if (lineabove->sizeHint().width()!=-1)
150 lineabove->setMinimumWidth(lineabove->sizeHint().width());
151 if (lineabove->sizeHint().height()!=-1)
152 lineabove->setMinimumHeight(lineabove->sizeHint().height());
153 if (lineabove->sizeHint().width()!=-1)
154 lineabove->setMaximumWidth(lineabove->sizeHint().width());
155 if (lineabove->sizeHint().height()!=-1)
156 lineabove->setMaximumHeight(lineabove->sizeHint().height());
157 if (linebelow->sizeHint().width()!=-1)
158 linebelow->setMinimumWidth(linebelow->sizeHint().width());
159 if (linebelow->sizeHint().height()!=-1)
160 linebelow->setMinimumHeight(linebelow->sizeHint().height());
161 if (linebelow->sizeHint().width()!=-1)
162 linebelow->setMaximumWidth(linebelow->sizeHint().width());
163 if (linebelow->sizeHint().height()!=-1)
164 linebelow->setMaximumHeight(linebelow->sizeHint().height());
165 if (noindent->sizeHint().width()!=-1)
166 noindent->setMinimumWidth(noindent->sizeHint().width());
167 if (noindent->sizeHint().height()!=-1)
168 noindent->setMinimumHeight(noindent->sizeHint().height());
169 if (noindent->sizeHint().width()!=-1)
170 noindent->setMaximumWidth(noindent->sizeHint().width());
171 if (noindent->sizeHint().height()!=-1)
172 noindent->setMaximumHeight(noindent->sizeHint().height());
173 if (qtarch_labelwidthlabel->sizeHint().width()!=-1)
174 qtarch_labelwidthlabel->setMinimumWidth(qtarch_labelwidthlabel->sizeHint().width());
175 if (qtarch_labelwidthlabel->sizeHint().height()!=-1)
176 qtarch_labelwidthlabel->setMinimumHeight(qtarch_labelwidthlabel->sizeHint().height());
177 if (qtarch_labelwidthlabel->sizeHint().width()!=-1)
178 qtarch_labelwidthlabel->setMaximumWidth(qtarch_labelwidthlabel->sizeHint().width());
179 if (qtarch_labelwidthlabel->sizeHint().height()!=-1)
180 qtarch_labelwidthlabel->setMaximumHeight(qtarch_labelwidthlabel->sizeHint().height());
181 if (labelwidth->sizeHint().width()!=-1)
182 labelwidth->setMinimumWidth(labelwidth->sizeHint().width());
183 if (labelwidth->sizeHint().height()!=-1)
184 labelwidth->setMinimumHeight(labelwidth->sizeHint().height());
185 if (labelwidth->sizeHint().height()!=-1)
186 labelwidth->setMaximumHeight(labelwidth->sizeHint().height());
187 if (qtarch_labelJustification->sizeHint().width()!=-1)
188 qtarch_labelJustification->setMinimumWidth(qtarch_labelJustification->sizeHint().width());
189 if (qtarch_labelJustification->sizeHint().height()!=-1)
190 qtarch_labelJustification->setMinimumHeight(qtarch_labelJustification->sizeHint().height());
191 if (qtarch_labelJustification->sizeHint().width()!=-1)
192 qtarch_labelJustification->setMaximumWidth(qtarch_labelJustification->sizeHint().width());
193 if (qtarch_labelJustification->sizeHint().height()!=-1)
194 qtarch_labelJustification->setMaximumHeight(qtarch_labelJustification->sizeHint().height());
195 QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
196 qtarch_layout_1->addStrut( 0 );
197 QBoxLayout* qtarch_layout_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
198 qtarch_layout_1->addLayout( qtarch_layout_1_1, 1 );
199 qtarch_layout_1_1->addStrut( 0 );
200 qtarch_layout_1_1->addWidget( qtarch_labelJustification, 1, 36 );
201 qtarch_layout_1_1->addWidget( justification, 1, 36 );
202 qtarch_layout_1_1->addStretch( 3 );
203 QBoxLayout* qtarch_layout_1_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
204 qtarch_layout_1->addLayout( qtarch_layout_1_2, 5 );
205 qtarch_layout_1_2->addStrut( 0 );
206 qtarch_layout_1_2->addWidget( spacetab, 5, 36 );
207 QBoxLayout* qtarch_layout_1_3 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
208 qtarch_layout_1->addLayout( qtarch_layout_1_3, 2 );
209 qtarch_layout_1_3->addStrut( 0 );
210 QBoxLayout* qtarch_layout_1_3_1 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
211 qtarch_layout_1_3->addLayout( qtarch_layout_1_3_1, 1 );
212 qtarch_layout_1_3_1->addStrut( 0 );
213 qtarch_layout_1_3_1->addWidget( lineabove, 1, 1 );
214 qtarch_layout_1_3_1->addWidget( linebelow, 1, 1 );
215 qtarch_layout_1_3_1->addWidget( noindent, 1, 1 );
216 QBoxLayout* qtarch_layout_1_3_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
217 qtarch_layout_1_3->addLayout( qtarch_layout_1_3_2, 1 );
218 qtarch_layout_1_3_2->addStrut( 0 );
219 qtarch_layout_1_3_2->addWidget( qtarch_labelwidthlabel, 1, 36 );
220 qtarch_layout_1_3_2->addWidget( labelwidth, 1, 36 );
222 setMinimumSize( 0, 0 );
223 setMaximumSize( 32767, 32767 );
227 ParaGeneralDialogData::~ParaGeneralDialogData()