Mercurial > projects > qtd
comparison tools/duic/tests/ui_helloworld.d @ 1:e78566595089
initial import
author | mandel |
---|---|
date | Mon, 11 May 2009 16:01:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:36fb74dc547d | 1:e78566595089 |
---|---|
1 /******************************************************************************** | |
2 ** Form generated from reading ui file 'helloworld.ui' | |
3 ** | |
4 ** Created: Wed Dec 17 23:20:28 2008 | |
5 ** by: QtD User Interface Compiler version 4.4.3 | |
6 ** | |
7 ** WARNING! All changes made in this file will be lost when recompiling ui file! | |
8 ********************************************************************************/ | |
9 | |
10 module ui.HelloWorldForm | |
11 | |
12 import qt.core.QVariant; | |
13 import qt.gui.QAction; | |
14 import qt.gui.QApplication; | |
15 import qt.gui.QButtonGroup; | |
16 import qt.gui.QLabel; | |
17 import qt.gui.QVBoxLayout; | |
18 import qt.gui.QWidget; | |
19 | |
20 mixin QT_BEGIN_NAMESPACE; | |
21 | |
22 class Ui_HelloWorldForm | |
23 { | |
24 public: | |
25 QVBoxLayout *verticalLayout; | |
26 QLabel *label; | |
27 | |
28 void setupUi(QWidget *HelloWorldForm) | |
29 { | |
30 if (HelloWorldForm.objectName().isEmpty()) | |
31 HelloWorldForm.setObjectName(qt.core.QString.fromUtf8("HelloWorldForm")); | |
32 HelloWorldForm.resize(96, 48); | |
33 verticalLayout = new QVBoxLayout(HelloWorldForm); | |
34 verticalLayout.setObjectName(qt.core.QString.fromUtf8("verticalLayout")); | |
35 label = new QLabel(HelloWorldForm); | |
36 label.setObjectName(qt.core.QString.fromUtf8("label")); | |
37 | |
38 verticalLayout.addWidget(label); | |
39 | |
40 | |
41 retranslateUi(HelloWorldForm); | |
42 | |
43 QMetaObject.connectSlotsByName(HelloWorldForm); | |
44 } // setupUi | |
45 | |
46 void retranslateUi(QWidget *HelloWorldForm) | |
47 { | |
48 HelloWorldForm.setWindowTitle(qt.gui.QApplication.translate("HelloWorldForm", "Form", 0, qt.gui.QApplication.UnicodeUTF8)); | |
49 label.setText(qt.gui.QApplication.translate("HelloWorldForm", "Hello World!", 0, qt.gui.QApplication.UnicodeUTF8)); | |
50 Q_UNUSED(HelloWorldForm); | |
51 } // retranslateUi | |
52 | |
53 }; | |
54 | |
55 mixin QT_END_NAMESPACE; | |
56 |