]> git.lyx.org Git - lyx.git/blob - src/frontends/kde/dlg/docdlgdata.C
formskdepatchthingie
[lyx.git] / src / frontends / kde / dlg / docdlgdata.C
1 /**********************************************************************
2
3         --- Qt Architect 1.4-6 generated file ---
4
5         File: docdlgdata.C
6         Last generated: Sat Feb 10 21:28:59 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 "docdlgdata.h"
18
19 #define Inherited QDialog
20
21
22 DocDialogData::DocDialogData
23 (
24         QWidget* parent,
25         const char* name
26 )
27         :
28         Inherited( parent, name, TRUE, 0 )
29 {
30         ok = new QPushButton( this, "OK" );
31         ok->setGeometry( 73, 555, 69, 55 );
32         ok->setMinimumSize( 0, 0 );
33         ok->setMaximumSize( 32767, 32767 );
34         connect( ok, SIGNAL(clicked()), SLOT(ok_adaptor()) );
35         ok->setFocusPolicy( QWidget::TabFocus );
36         ok->setBackgroundMode( QWidget::PaletteBackground );
37         ok->setFontPropagation( QWidget::NoChildren );
38         ok->setPalettePropagation( QWidget::NoChildren );
39         ok->setText( _("&OK") );
40         ok->setAutoRepeat( false );
41         ok->setAutoResize( false );
42         ok->setToggleButton( false );
43         ok->setDefault( true );
44         ok->setAutoDefault( false );
45         ok->setIsMenuButton( false );
46
47         apply = new QPushButton( this, "apply" );
48         apply->setGeometry( 215, 555, 68, 55 );
49         apply->setMinimumSize( 0, 0 );
50         apply->setMaximumSize( 32767, 32767 );
51         connect( apply, SIGNAL(clicked()), SLOT(apply_adaptor()) );
52         apply->setFocusPolicy( QWidget::TabFocus );
53         apply->setBackgroundMode( QWidget::PaletteBackground );
54         apply->setFontPropagation( QWidget::NoChildren );
55         apply->setPalettePropagation( QWidget::NoChildren );
56         apply->setText( _("&Apply") );
57         apply->setAutoRepeat( false );
58         apply->setAutoResize( false );
59         apply->setToggleButton( false );
60         apply->setDefault( false );
61         apply->setAutoDefault( false );
62         apply->setIsMenuButton( false );
63
64         restore = new QPushButton( this, "restore" );
65         restore->setGeometry( 357, 555, 68, 55 );
66         restore->setMinimumSize( 0, 0 );
67         restore->setMaximumSize( 32767, 32767 );
68         connect( restore, SIGNAL(clicked()), SLOT(restore_adaptor()) );
69         restore->setFocusPolicy( QWidget::TabFocus );
70         restore->setBackgroundMode( QWidget::PaletteBackground );
71         restore->setFontPropagation( QWidget::NoChildren );
72         restore->setPalettePropagation( QWidget::NoChildren );
73         restore->setText( _("&Restore") );
74         restore->setAutoRepeat( false );
75         restore->setAutoResize( false );
76         restore->setToggleButton( false );
77         restore->setDefault( false );
78         restore->setAutoDefault( false );
79         restore->setIsMenuButton( false );
80
81         cancel = new QPushButton( this, "Cancel" );
82         cancel->setGeometry( 498, 555, 69, 55 );
83         cancel->setMinimumSize( 0, 0 );
84         cancel->setMaximumSize( 32767, 32767 );
85         connect( cancel, SIGNAL(clicked()), SLOT(cancel_adaptor()) );
86         cancel->setFocusPolicy( QWidget::TabFocus );
87         cancel->setBackgroundMode( QWidget::PaletteBackground );
88         cancel->setFontPropagation( QWidget::NoChildren );
89         cancel->setPalettePropagation( QWidget::NoChildren );
90         cancel->setText( _("&Cancel") );
91         cancel->setAutoRepeat( false );
92         cancel->setAutoResize( false );
93         cancel->setToggleButton( false );
94         cancel->setDefault( false );
95         cancel->setAutoDefault( false );
96         cancel->setIsMenuButton( false );
97
98         tabstack = new TabStack( this, "User_1" );
99         tabstack->setGeometry( 5, 5, 630, 545 );
100         tabstack->setMinimumSize( 0, 0 );
101         tabstack->setMaximumSize( 32767, 32767 );
102         tabstack->setFocusPolicy( QWidget::NoFocus );
103         tabstack->setBackgroundMode( QWidget::PaletteBackground );
104         tabstack->setFontPropagation( QWidget::NoChildren );
105         tabstack->setPalettePropagation( QWidget::NoChildren );
106
107         if (ok->sizeHint().width()!=-1)
108                 ok->setMinimumWidth(ok->sizeHint().width());
109         if (ok->sizeHint().height()!=-1)
110                 ok->setMinimumHeight(ok->sizeHint().height());
111         if (ok->sizeHint().width()!=-1)
112                 ok->setMaximumWidth(ok->sizeHint().width());
113         if (ok->sizeHint().height()!=-1)
114                 ok->setMaximumHeight(ok->sizeHint().height());
115         if (apply->sizeHint().width()!=-1)
116                 apply->setMinimumWidth(apply->sizeHint().width());
117         if (apply->sizeHint().height()!=-1)
118                 apply->setMinimumHeight(apply->sizeHint().height());
119         if (apply->sizeHint().width()!=-1)
120                 apply->setMaximumWidth(apply->sizeHint().width());
121         if (apply->sizeHint().height()!=-1)
122                 apply->setMaximumHeight(apply->sizeHint().height());
123         if (restore->sizeHint().width()!=-1)
124                 restore->setMinimumWidth(restore->sizeHint().width());
125         if (restore->sizeHint().height()!=-1)
126                 restore->setMinimumHeight(restore->sizeHint().height());
127         if (restore->sizeHint().width()!=-1)
128                 restore->setMaximumWidth(restore->sizeHint().width());
129         if (restore->sizeHint().height()!=-1)
130                 restore->setMaximumHeight(restore->sizeHint().height());
131         if (cancel->sizeHint().width()!=-1)
132                 cancel->setMinimumWidth(cancel->sizeHint().width());
133         if (cancel->sizeHint().height()!=-1)
134                 cancel->setMinimumHeight(cancel->sizeHint().height());
135         if (cancel->sizeHint().width()!=-1)
136                 cancel->setMaximumWidth(cancel->sizeHint().width());
137         if (cancel->sizeHint().height()!=-1)
138                 cancel->setMaximumHeight(cancel->sizeHint().height());
139         if (tabstack->sizeHint().width()!=-1)
140                 tabstack->setMinimumWidth(tabstack->sizeHint().width());
141         if (tabstack->sizeHint().height()!=-1)
142                 tabstack->setMinimumHeight(tabstack->sizeHint().height());
143         QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
144         qtarch_layout_1->addStrut( 0 );
145         QBoxLayout* qtarch_layout_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
146         qtarch_layout_1->addLayout( qtarch_layout_1_1, 10 );
147         qtarch_layout_1_1->addStrut( 0 );
148         qtarch_layout_1_1->addWidget( tabstack, 1, 36 );
149         QBoxLayout* qtarch_layout_1_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
150         qtarch_layout_1->addLayout( qtarch_layout_1_2, 1 );
151         qtarch_layout_1_2->addStrut( 0 );
152         qtarch_layout_1_2->addStretch( 1 );
153         qtarch_layout_1_2->addWidget( ok, 1, 36 );
154         qtarch_layout_1_2->addStretch( 1 );
155         qtarch_layout_1_2->addWidget( apply, 1, 36 );
156         qtarch_layout_1_2->addStretch( 1 );
157         qtarch_layout_1_2->addWidget( restore, 1, 36 );
158         qtarch_layout_1_2->addStretch( 1 );
159         qtarch_layout_1_2->addWidget( cancel, 1, 36 );
160         qtarch_layout_1_2->addStretch( 1 );
161         resize( 640,615 );
162         setMinimumSize( 0, 0 );
163         setMaximumSize( 32767, 32767 );
164 }
165
166
167 DocDialogData::~DocDialogData()
168 {
169 }
170 void DocDialogData::ok_adaptor()
171 {
172 }
173 void DocDialogData::apply_adaptor()
174 {
175 }
176 void DocDialogData::restore_adaptor()
177 {
178 }
179 void DocDialogData::cancel_adaptor()
180 {
181 }