Mercurial > projects > dil
comparison src/translator/ui_project_properties.py @ 806:bcb74c9b895c
Moved out files in the trunk folder to the root.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sun, 09 Mar 2008 00:12:19 +0100 |
parents | trunk/src/translator/ui_project_properties.py@1401e38d1e2e |
children |
comparison
equal
deleted
inserted
replaced
805:a3fab8b74a7d | 806:bcb74c9b895c |
---|---|
1 # -*- coding: utf-8 -*- | |
2 | |
3 # Form implementation generated from reading ui file 'project_properties.ui' | |
4 # | |
5 # Created: Sat Nov 17 23:14:55 2007 | |
6 # by: PyQt4 UI code generator 4.1 | |
7 # | |
8 # WARNING! All changes made in this file will be lost! | |
9 | |
10 import sys | |
11 from PyQt4 import QtCore, QtGui | |
12 | |
13 class Ui_ProjectPropertiesDialog(object): | |
14 def setupUi(self, ProjectPropertiesDialog): | |
15 ProjectPropertiesDialog.setObjectName("ProjectPropertiesDialog") | |
16 ProjectPropertiesDialog.resize(QtCore.QSize(QtCore.QRect(0,0,400,152).size()).expandedTo(ProjectPropertiesDialog.minimumSizeHint())) | |
17 | |
18 self.vboxlayout = QtGui.QVBoxLayout(ProjectPropertiesDialog) | |
19 self.vboxlayout.setObjectName("vboxlayout") | |
20 | |
21 self.gridlayout = QtGui.QGridLayout() | |
22 self.gridlayout.setObjectName("gridlayout") | |
23 | |
24 self.label_2 = QtGui.QLabel(ProjectPropertiesDialog) | |
25 self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) | |
26 self.label_2.setObjectName("label_2") | |
27 self.gridlayout.addWidget(self.label_2,0,0,1,1) | |
28 | |
29 self.projectNameField = QtGui.QLineEdit(ProjectPropertiesDialog) | |
30 self.projectNameField.setObjectName("projectNameField") | |
31 self.gridlayout.addWidget(self.projectNameField,0,1,1,1) | |
32 | |
33 self.label = QtGui.QLabel(ProjectPropertiesDialog) | |
34 self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) | |
35 self.label.setObjectName("label") | |
36 self.gridlayout.addWidget(self.label,1,0,1,1) | |
37 | |
38 self.hboxlayout = QtGui.QHBoxLayout() | |
39 self.hboxlayout.setObjectName("hboxlayout") | |
40 | |
41 self.buildScriptField = QtGui.QLineEdit(ProjectPropertiesDialog) | |
42 self.buildScriptField.setObjectName("buildScriptField") | |
43 self.hboxlayout.addWidget(self.buildScriptField) | |
44 | |
45 self.pickFileButton = QtGui.QToolButton(ProjectPropertiesDialog) | |
46 self.pickFileButton.setObjectName("pickFileButton") | |
47 self.hboxlayout.addWidget(self.pickFileButton) | |
48 self.gridlayout.addLayout(self.hboxlayout,1,1,1,1) | |
49 | |
50 self.creationDateField = QtGui.QLineEdit(ProjectPropertiesDialog) | |
51 self.creationDateField.setObjectName("creationDateField") | |
52 self.gridlayout.addWidget(self.creationDateField,2,1,1,1) | |
53 | |
54 self.label_3 = QtGui.QLabel(ProjectPropertiesDialog) | |
55 self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) | |
56 self.label_3.setObjectName("label_3") | |
57 self.gridlayout.addWidget(self.label_3,2,0,1,1) | |
58 self.vboxlayout.addLayout(self.gridlayout) | |
59 | |
60 spacerItem = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) | |
61 self.vboxlayout.addItem(spacerItem) | |
62 | |
63 self.buttonBox = QtGui.QDialogButtonBox(ProjectPropertiesDialog) | |
64 self.buttonBox.setOrientation(QtCore.Qt.Horizontal) | |
65 self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok) | |
66 self.buttonBox.setObjectName("buttonBox") | |
67 self.vboxlayout.addWidget(self.buttonBox) | |
68 self.label_2.setBuddy(self.projectNameField) | |
69 self.label.setBuddy(self.buildScriptField) | |
70 | |
71 self.retranslateUi(ProjectPropertiesDialog) | |
72 QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),ProjectPropertiesDialog.accept) | |
73 QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),ProjectPropertiesDialog.reject) | |
74 QtCore.QMetaObject.connectSlotsByName(ProjectPropertiesDialog) | |
75 | |
76 def retranslateUi(self, ProjectPropertiesDialog): | |
77 ProjectPropertiesDialog.setWindowTitle(QtGui.QApplication.translate("ProjectPropertiesDialog", "Project Properties", None, QtGui.QApplication.UnicodeUTF8)) | |
78 self.label_2.setText(QtGui.QApplication.translate("ProjectPropertiesDialog", "Project name:", None, QtGui.QApplication.UnicodeUTF8)) | |
79 self.label.setText(QtGui.QApplication.translate("ProjectPropertiesDialog", "Build script:", None, QtGui.QApplication.UnicodeUTF8)) | |
80 self.pickFileButton.setText(QtGui.QApplication.translate("ProjectPropertiesDialog", "...", None, QtGui.QApplication.UnicodeUTF8)) | |
81 self.label_3.setText(QtGui.QApplication.translate("ProjectPropertiesDialog", "Creation date:", None, QtGui.QApplication.UnicodeUTF8)) | |
82 |