1 /**********************************************************************
3 --- Qt Architect generated file ---
5 File: copyrightdlgdata.C
6 Last generated: Sat Oct 14 03:43:37 2000
8 DO NOT EDIT!!! This file will be automatically
9 regenerated by qtarch. All changes will be lost.
11 *********************************************************************/
16 #include "copyrightdlgdata.h"
18 #define Inherited QWidget
22 CopyrightDialogData::CopyrightDialogData
28 Inherited( parent, name, 53248 )
30 buttonOk = new QPushButton( this, "PushButton_OK" );
31 buttonOk->setGeometry( 157, 343, 151, 107 );
32 buttonOk->setMinimumSize( 0, 0 );
33 buttonOk->setMaximumSize( 32767, 32767 );
34 connect( buttonOk, SIGNAL(clicked()), SLOT(clickedOK()) );
35 buttonOk->setFocusPolicy( QWidget::TabFocus );
36 buttonOk->setBackgroundMode( QWidget::PaletteBackground );
37 buttonOk->setFontPropagation( QWidget::NoChildren );
38 buttonOk->setPalettePropagation( QWidget::NoChildren );
39 buttonOk->setText( _("&OK") );
40 buttonOk->setAutoRepeat( FALSE );
41 buttonOk->setAutoResize( FALSE );
42 buttonOk->setToggleButton( FALSE );
43 buttonOk->setDefault( FALSE );
44 buttonOk->setAutoDefault( TRUE );
45 buttonOk->setIsMenuButton( FALSE );
47 QLabel* qtarch_Label_2;
48 qtarch_Label_2 = new QLabel( this, "Label_2" );
49 qtarch_Label_2->setGeometry( 5, 5, 455, 108 );
50 qtarch_Label_2->setMinimumSize( 0, 0 );
51 qtarch_Label_2->setMaximumSize( 32767, 32767 );
52 qtarch_Label_2->setFocusPolicy( QWidget::NoFocus );
53 qtarch_Label_2->setBackgroundMode( QWidget::PaletteBackground );
54 qtarch_Label_2->setFontPropagation( QWidget::NoChildren );
55 qtarch_Label_2->setPalettePropagation( QWidget::NoChildren );
56 qtarch_Label_2->setFrameStyle( 50 );
57 qtarch_Label_2->setLineWidth( 1 );
58 qtarch_Label_2->setMidLineWidth( 0 );
59 qtarch_Label_2->QFrame::setMargin( 1 );
60 qtarch_Label_2->setText( _("LyX is Copyright (C) 1995 by Matthias Ettrich, \n1995-2000 LyX Team") );
61 qtarch_Label_2->setAlignment( 1316 );
62 qtarch_Label_2->setMargin( -1 );
64 QLabel* qtarch_Label_3;
65 qtarch_Label_3 = new QLabel( this, "Label_3" );
66 qtarch_Label_3->setGeometry( 5, 118, 455, 107 );
67 qtarch_Label_3->setMinimumSize( 0, 0 );
68 qtarch_Label_3->setMaximumSize( 32767, 32767 );
69 qtarch_Label_3->setFocusPolicy( QWidget::NoFocus );
70 qtarch_Label_3->setBackgroundMode( QWidget::PaletteBackground );
71 qtarch_Label_3->setFontPropagation( QWidget::NoChildren );
72 qtarch_Label_3->setPalettePropagation( QWidget::NoChildren );
73 qtarch_Label_3->setFrameStyle( 50 );
74 qtarch_Label_3->setLineWidth( 1 );
75 qtarch_Label_3->setMidLineWidth( 0 );
76 qtarch_Label_3->QFrame::setMargin( 1 );
77 qtarch_Label_3->setText( _("This program is free software; you can redistribute it\nand/or modify it under the terms of the GNU General\nPublic License as published by the Free Software\nFoundation; either version 2 of the License, or\n(at your option) any later version.") );
78 qtarch_Label_3->setAlignment( 1316 );
79 qtarch_Label_3->setMargin( -1 );
81 QLabel* qtarch_Label_4;
82 qtarch_Label_4 = new QLabel( this, "Label_4" );
83 qtarch_Label_4->setGeometry( 5, 230, 455, 108 );
84 qtarch_Label_4->setMinimumSize( 0, 0 );
85 qtarch_Label_4->setMaximumSize( 32767, 32767 );
86 qtarch_Label_4->setFocusPolicy( QWidget::NoFocus );
87 qtarch_Label_4->setBackgroundMode( QWidget::PaletteBackground );
88 qtarch_Label_4->setFontPropagation( QWidget::NoChildren );
89 qtarch_Label_4->setPalettePropagation( QWidget::NoChildren );
90 qtarch_Label_4->setFrameStyle( 50 );
91 qtarch_Label_4->setLineWidth( 1 );
92 qtarch_Label_4->setMidLineWidth( 0 );
93 qtarch_Label_4->QFrame::setMargin( 1 );
94 qtarch_Label_4->setText( _("LyX is distributed in the hope that it will\nbe useful, but WITHOUT ANY WARRANTY;\nwithout even the implied warranty of MERCHANTABILITY\nor FITNESS FOR A PARTICULAR PURPOSE.\nSee the GNU General Public License for more details.\nYou should have received a copy of\nthe GNU General Public License\nalong with this program; if not, write to\nthe Free Software Foundation, Inc., \n675 Mass Ave, Cambridge, MA 02139, USA.") );
95 qtarch_Label_4->setAlignment( 1316 );
96 qtarch_Label_4->setMargin( -1 );
98 if (buttonOk->sizeHint().width()!=-1)
99 buttonOk->setMinimumWidth(buttonOk->sizeHint().width());
100 if (buttonOk->sizeHint().height()!=-1)
101 buttonOk->setMinimumHeight(buttonOk->sizeHint().height());
102 if (buttonOk->sizeHint().width()!=-1)
103 buttonOk->setMaximumWidth(buttonOk->sizeHint().width());
104 if (buttonOk->sizeHint().height()!=-1)
105 buttonOk->setMaximumHeight(buttonOk->sizeHint().height());
106 if (qtarch_Label_2->sizeHint().width()!=-1)
107 qtarch_Label_2->setMinimumWidth(qtarch_Label_2->sizeHint().width());
108 if (qtarch_Label_2->sizeHint().height()!=-1)
109 qtarch_Label_2->setMinimumHeight(qtarch_Label_2->sizeHint().height());
110 if (qtarch_Label_3->sizeHint().width()!=-1)
111 qtarch_Label_3->setMinimumWidth(qtarch_Label_3->sizeHint().width());
112 if (qtarch_Label_3->sizeHint().height()!=-1)
113 qtarch_Label_3->setMinimumHeight(qtarch_Label_3->sizeHint().height());
114 if (qtarch_Label_4->sizeHint().width()!=-1)
115 qtarch_Label_4->setMinimumWidth(qtarch_Label_4->sizeHint().width());
116 if (qtarch_Label_4->sizeHint().height()!=-1)
117 qtarch_Label_4->setMinimumHeight(qtarch_Label_4->sizeHint().height());
118 QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
119 qtarch_layout_1->addStrut( 0 );
120 qtarch_layout_1->addWidget( qtarch_Label_2, 1, 36 );
121 qtarch_layout_1->addWidget( qtarch_Label_3, 1, 36 );
122 qtarch_layout_1->addWidget( qtarch_Label_4, 1, 36 );
123 QBoxLayout* qtarch_layout_1_4 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
124 qtarch_layout_1->addLayout( qtarch_layout_1_4, 1 );
125 qtarch_layout_1_4->addStrut( 0 );
126 qtarch_layout_1_4->addStretch( 1 );
127 qtarch_layout_1_4->addWidget( buttonOk, 1, 36 );
128 qtarch_layout_1_4->addStretch( 1 );
130 setMinimumSize( 200, 65 );
131 setMaximumSize( 32767, 65 );
135 CopyrightDialogData::~CopyrightDialogData()
138 void CopyrightDialogData::clickedOK()