1 | /****************************************************************************
|
---|
2 | ** Form implementation generated from reading ui file 'form1.ui'
|
---|
3 | **
|
---|
4 | ** Created: Fri Dec 10 16:41:10 2004
|
---|
5 | ** by: The User Interface Compiler (uic)
|
---|
6 | **
|
---|
7 | ** WARNING! All changes made in this file will be lost!
|
---|
8 | ****************************************************************************/
|
---|
9 | #include "form1.h"
|
---|
10 |
|
---|
11 | #include <qvariant.h>
|
---|
12 | #include <qcheckbox.h>
|
---|
13 | #include <qlabel.h>
|
---|
14 | #include <qmime.h>
|
---|
15 | #include <qdragobject.h>
|
---|
16 | #include <qlayout.h>
|
---|
17 | #include <qtooltip.h>
|
---|
18 | #include <qwhatsthis.h>
|
---|
19 | #include <qimage.h>
|
---|
20 | #include <qpixmap.h>
|
---|
21 |
|
---|
22 | static QPixmap uic_load_pixmap_Form1( const QString &name )
|
---|
23 | {
|
---|
24 | const QMimeSource *m = QMimeSourceFactory::defaultFactory()->data( name );
|
---|
25 | if ( !m )
|
---|
26 | return QPixmap();
|
---|
27 | QPixmap pix;
|
---|
28 | QImageDrag::decode( m, pix );
|
---|
29 | return pix;
|
---|
30 | }
|
---|
31 | /*
|
---|
32 | * Constructs a Form1 which is a child of 'parent', with the
|
---|
33 | * name 'name' and widget flags set to 'f'.
|
---|
34 | *
|
---|
35 | * The dialog will by default be modeless, unless you set 'modal' to
|
---|
36 | * TRUE to construct a modal dialog.
|
---|
37 | */
|
---|
38 | Form1::Form1( QWidget* parent, const char* name, bool modal, WFlags fl )
|
---|
39 | : QDialog( parent, name, modal, fl )
|
---|
40 | {
|
---|
41 | if ( !name )
|
---|
42 | setName( "Form1" );
|
---|
43 | resize( 600, 480 );
|
---|
44 | setCaption( trUtf8( "Form1" ) );
|
---|
45 |
|
---|
46 | CheckBox1 = new QCheckBox( this, "CheckBox1" );
|
---|
47 | CheckBox1->setGeometry( QRect( 261, 91, 209, 19 ) );
|
---|
48 | CheckBox1->setText( trUtf8( "Laat de winnende zet zien" ) );
|
---|
49 |
|
---|
50 | TextLabel1 = new QLabel( this, "TextLabel1" );
|
---|
51 | TextLabel1->setGeometry( QRect( 261, 116, 209, 33 ) );
|
---|
52 | TextLabel1->setFrameShape( QLabel::Box );
|
---|
53 | TextLabel1->setText( trUtf8( "Winnende Zet: Stapel: 04, Aantal: 2" ) );
|
---|
54 | }
|
---|
55 |
|
---|
56 | /*
|
---|
57 | * Destroys the object and frees any allocated resources
|
---|
58 | */
|
---|
59 | Form1::~Form1()
|
---|
60 | {
|
---|
61 | // no need to delete child widgets, Qt does it all for us
|
---|
62 | }
|
---|
63 |
|
---|