1 /**********************************************************************
3 --- Qt Architect generated file ---
5 File: copyrightdlgdata.C
6 Last generated: Tue Oct 24 13:38:02 2000
8 DO NOT EDIT!!! This file will be automatically
9 regenerated by qtarch. All changes will be lost.
11 *********************************************************************/
17 #include "copyrightdlgdata.h"
19 #define Inherited QWidget
23 CopyrightDialogData::CopyrightDialogData
29 Inherited( parent, name, 53248 )
31 buttonOk = new QPushButton( this, "PushButton_OK" );
32 buttonOk->setGeometry( 157, 343, 151, 107 );
33 buttonOk->setMinimumSize( 0, 0 );
34 buttonOk->setMaximumSize( 32767, 32767 );
35 connect( buttonOk, SIGNAL(clicked()), SLOT(clickedOK()) );
36 buttonOk->setFocusPolicy( QWidget::TabFocus );
37 buttonOk->setBackgroundMode( QWidget::PaletteBackground );
38 buttonOk->setFontPropagation( QWidget::NoChildren );
39 buttonOk->setPalettePropagation( QWidget::NoChildren );
40 buttonOk->setText( _("&OK") );
41 buttonOk->setAutoRepeat( FALSE );
42 buttonOk->setAutoResize( FALSE );
43 buttonOk->setToggleButton( FALSE );
44 buttonOk->setDefault( FALSE );
45 buttonOk->setAutoDefault( TRUE );
46 buttonOk->setIsMenuButton( FALSE );
48 QLabel* qtarch_Label_2;
49 qtarch_Label_2 = new QLabel( this, "Label_2" );
50 qtarch_Label_2->setGeometry( 5, 5, 455, 108 );
51 qtarch_Label_2->setMinimumSize( 0, 0 );
52 qtarch_Label_2->setMaximumSize( 32767, 32767 );
53 qtarch_Label_2->setFocusPolicy( QWidget::NoFocus );
54 qtarch_Label_2->setBackgroundMode( QWidget::PaletteBackground );
55 qtarch_Label_2->setFontPropagation( QWidget::NoChildren );
56 qtarch_Label_2->setPalettePropagation( QWidget::NoChildren );
57 qtarch_Label_2->setFrameStyle( 50 );
58 qtarch_Label_2->setLineWidth( 1 );
59 qtarch_Label_2->setMidLineWidth( 0 );
60 qtarch_Label_2->QFrame::setMargin( 1 );
61 qtarch_Label_2->setText( _("LyX is Copyright (C) 1995 by Matthias Ettrich, \n1995-2000 LyX Team") );
62 qtarch_Label_2->setAlignment( 1316 );
63 qtarch_Label_2->setMargin( -1 );
65 QLabel* qtarch_Label_3;
66 qtarch_Label_3 = new QLabel( this, "Label_3" );
67 qtarch_Label_3->setGeometry( 5, 118, 455, 107 );
68 qtarch_Label_3->setMinimumSize( 0, 0 );
69 qtarch_Label_3->setMaximumSize( 32767, 32767 );
70 qtarch_Label_3->setFocusPolicy( QWidget::NoFocus );
71 qtarch_Label_3->setBackgroundMode( QWidget::PaletteBackground );
72 qtarch_Label_3->setFontPropagation( QWidget::NoChildren );
73 qtarch_Label_3->setPalettePropagation( QWidget::NoChildren );
74 qtarch_Label_3->setFrameStyle( 50 );
75 qtarch_Label_3->setLineWidth( 1 );
76 qtarch_Label_3->setMidLineWidth( 0 );
77 qtarch_Label_3->QFrame::setMargin( 1 );
78 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.") );
79 qtarch_Label_3->setAlignment( 1316 );
80 qtarch_Label_3->setMargin( -1 );
82 QLabel* qtarch_Label_4;
83 qtarch_Label_4 = new QLabel( this, "Label_4" );
84 qtarch_Label_4->setGeometry( 5, 230, 455, 108 );
85 qtarch_Label_4->setMinimumSize( 0, 0 );
86 qtarch_Label_4->setMaximumSize( 32767, 32767 );
87 qtarch_Label_4->setFocusPolicy( QWidget::NoFocus );
88 qtarch_Label_4->setBackgroundMode( QWidget::PaletteBackground );
89 qtarch_Label_4->setFontPropagation( QWidget::NoChildren );
90 qtarch_Label_4->setPalettePropagation( QWidget::NoChildren );
91 qtarch_Label_4->setFrameStyle( 50 );
92 qtarch_Label_4->setLineWidth( 1 );
93 qtarch_Label_4->setMidLineWidth( 0 );
94 qtarch_Label_4->QFrame::setMargin( 1 );
95 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.") );
96 qtarch_Label_4->setAlignment( 1316 );
97 qtarch_Label_4->setMargin( -1 );
99 if (buttonOk->sizeHint().width()!=-1)
100 buttonOk->setMinimumWidth(buttonOk->sizeHint().width());
101 if (buttonOk->sizeHint().height()!=-1)
102 buttonOk->setMinimumHeight(buttonOk->sizeHint().height());
103 if (buttonOk->sizeHint().width()!=-1)
104 buttonOk->setMaximumWidth(buttonOk->sizeHint().width());
105 if (buttonOk->sizeHint().height()!=-1)
106 buttonOk->setMaximumHeight(buttonOk->sizeHint().height());
107 if (qtarch_Label_2->sizeHint().width()!=-1)
108 qtarch_Label_2->setMinimumWidth(qtarch_Label_2->sizeHint().width());
109 if (qtarch_Label_2->sizeHint().height()!=-1)
110 qtarch_Label_2->setMinimumHeight(qtarch_Label_2->sizeHint().height());
111 if (qtarch_Label_3->sizeHint().width()!=-1)
112 qtarch_Label_3->setMinimumWidth(qtarch_Label_3->sizeHint().width());
113 if (qtarch_Label_3->sizeHint().height()!=-1)
114 qtarch_Label_3->setMinimumHeight(qtarch_Label_3->sizeHint().height());
115 if (qtarch_Label_4->sizeHint().width()!=-1)
116 qtarch_Label_4->setMinimumWidth(qtarch_Label_4->sizeHint().width());
117 if (qtarch_Label_4->sizeHint().height()!=-1)
118 qtarch_Label_4->setMinimumHeight(qtarch_Label_4->sizeHint().height());
119 QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
120 qtarch_layout_1->addStrut( 0 );
121 qtarch_layout_1->addWidget( qtarch_Label_2, 1, 36 );
122 qtarch_layout_1->addWidget( qtarch_Label_3, 1, 36 );
123 qtarch_layout_1->addWidget( qtarch_Label_4, 1, 36 );
124 QBoxLayout* qtarch_layout_1_4 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
125 qtarch_layout_1->addLayout( qtarch_layout_1_4, 1 );
126 qtarch_layout_1_4->addStrut( 0 );
127 qtarch_layout_1_4->addStretch( 1 );
128 qtarch_layout_1_4->addWidget( buttonOk, 1, 36 );
129 qtarch_layout_1_4->addStretch( 1 );
131 setMinimumSize( 200, 65 );
132 setMaximumSize( 32767, 65 );
136 CopyrightDialogData::~CopyrightDialogData()
139 void CopyrightDialogData::clickedOK()