1 /****************************************************************************
2 ** Form implementation generated from reading ui file 'FormCopyrightDialogBase.ui'
4 ** Created: Wed Feb 7 18:46:40 2001
5 ** by: The User Interface Compiler (uic)
7 ** WARNING! All changes made in this file will be lost!
8 ****************************************************************************/
9 #include "FormCopyrightDialogBase.h"
12 #include <qpushbutton.h>
16 #include <qwhatsthis.h>
19 * Constructs a FormCopyrightDialogBase which is a child of 'parent', with the
20 * name 'name' and widget flags set to 'f'
22 * The dialog will by default be modeless, unless you set 'modal' to
23 * TRUE to construct a modal dialog.
25 FormCopyrightDialogBase::FormCopyrightDialogBase( QWidget* parent, const char* name, bool modal, WFlags fl )
26 : QDialog( parent, name, modal, fl )
29 setName( "FormCopyrightDialogBase" );
31 setCaption( tr( "Form1" ) );
32 FormCopyrightDialogBaseLayout = new QVBoxLayout( this );
33 FormCopyrightDialogBaseLayout->setSpacing( 6 );
34 FormCopyrightDialogBaseLayout->setMargin( 11 );
36 TextLabel5 = new QLabel( this, "TextLabel5" );
37 TextLabel5->setText( tr( "LyX is Copyright (C) 1995 by Matthias Ettrich,\n1995-2001 LyX Team" ) );
38 TextLabel5->setFrameShape( QLabel::Box );
39 TextLabel5->setFrameShadow( QLabel::Sunken );
40 TextLabel5->setMargin( 6 );
41 TextLabel5->setAlignment( int( QLabel::AlignCenter ) );
42 FormCopyrightDialogBaseLayout->addWidget( TextLabel5 );
44 TextLabel5_2 = new QLabel( this, "TextLabel5_2" );
45 TextLabel5_2->setText( tr( "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version." ) );
46 TextLabel5_2->setFrameShape( QLabel::Box );
47 TextLabel5_2->setFrameShadow( QLabel::Sunken );
48 TextLabel5_2->setMargin( 6 );
49 TextLabel5_2->setAlignment( int( QLabel::WordBreak | QLabel::AlignCenter ) );
50 TextLabel5_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)1, TextLabel5_2->sizePolicy().hasHeightForWidth() ) );
51 FormCopyrightDialogBaseLayout->addWidget( TextLabel5_2 );
53 TextLabel5_2_2 = new QLabel( this, "TextLabel5_2_2" );
54 TextLabel5_2_2->setText( tr( "LyX is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA." ) );
55 TextLabel5_2_2->setFrameShape( QLabel::Box );
56 TextLabel5_2_2->setFrameShadow( QLabel::Sunken );
57 TextLabel5_2_2->setMargin( 6 );
58 TextLabel5_2_2->setAlignment( int( QLabel::WordBreak | QLabel::AlignCenter ) );
59 TextLabel5_2_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)1, TextLabel5_2_2->sizePolicy().hasHeightForWidth() ) );
60 TextLabel5_2_2->setMinimumSize( QSize( 0, 0 ) );
61 FormCopyrightDialogBaseLayout->addWidget( TextLabel5_2_2 );
63 okPB = new QPushButton( this, "okPB" );
64 okPB->setText( tr( "&OK" ) );
65 okPB->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, okPB->sizePolicy().hasHeightForWidth() ) );
66 okPB->setDefault( TRUE );
67 FormCopyrightDialogBaseLayout->addWidget( okPB );
69 // signals and slots connections
70 connect( okPB, SIGNAL( clicked() ), this, SLOT( reject() ) );
74 * Destroys the object and frees any allocated resources
76 FormCopyrightDialogBase::~FormCopyrightDialogBase()
78 // no need to delete child widgets, Qt does it all for us