annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
442
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
1 # -*- coding: utf-8 -*-
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
2
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
3 # Form implementation generated from reading ui file 'project_properties.ui'
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
4 #
482
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
5 # Created: Sat Nov 17 23:14:55 2007
442
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
6 # by: PyQt4 UI code generator 4.1
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
7 #
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
8 # WARNING! All changes made in this file will be lost!
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
9
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
10 import sys
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
11 from PyQt4 import QtCore, QtGui
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
12
482
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
13 class Ui_ProjectPropertiesDialog(object):
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
14 def setupUi(self, ProjectPropertiesDialog):
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
15 ProjectPropertiesDialog.setObjectName("ProjectPropertiesDialog")
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
16 ProjectPropertiesDialog.resize(QtCore.QSize(QtCore.QRect(0,0,400,152).size()).expandedTo(ProjectPropertiesDialog.minimumSizeHint()))
442
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
17
482
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
18 self.vboxlayout = QtGui.QVBoxLayout(ProjectPropertiesDialog)
442
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
19 self.vboxlayout.setObjectName("vboxlayout")
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
20
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
21 self.gridlayout = QtGui.QGridLayout()
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
22 self.gridlayout.setObjectName("gridlayout")
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
23
482
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
24 self.label_2 = QtGui.QLabel(ProjectPropertiesDialog)
442
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
25 self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
26 self.label_2.setObjectName("label_2")
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
27 self.gridlayout.addWidget(self.label_2,0,0,1,1)
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
28
482
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
29 self.projectNameField = QtGui.QLineEdit(ProjectPropertiesDialog)
442
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
30 self.projectNameField.setObjectName("projectNameField")
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
31 self.gridlayout.addWidget(self.projectNameField,0,1,1,1)
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
32
482
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
33 self.label = QtGui.QLabel(ProjectPropertiesDialog)
442
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
34 self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
35 self.label.setObjectName("label")
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
36 self.gridlayout.addWidget(self.label,1,0,1,1)
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
37
482
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
38 self.hboxlayout = QtGui.QHBoxLayout()
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
39 self.hboxlayout.setObjectName("hboxlayout")
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
40
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
41 self.buildScriptField = QtGui.QLineEdit(ProjectPropertiesDialog)
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
42 self.buildScriptField.setObjectName("buildScriptField")
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
43 self.hboxlayout.addWidget(self.buildScriptField)
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
44
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
45 self.pickFileButton = QtGui.QToolButton(ProjectPropertiesDialog)
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
46 self.pickFileButton.setObjectName("pickFileButton")
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
47 self.hboxlayout.addWidget(self.pickFileButton)
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
48 self.gridlayout.addLayout(self.hboxlayout,1,1,1,1)
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
49
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
50 self.creationDateField = QtGui.QLineEdit(ProjectPropertiesDialog)
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
51 self.creationDateField.setObjectName("creationDateField")
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
52 self.gridlayout.addWidget(self.creationDateField,2,1,1,1)
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
53
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
54 self.label_3 = QtGui.QLabel(ProjectPropertiesDialog)
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
55 self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
56 self.label_3.setObjectName("label_3")
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
57 self.gridlayout.addWidget(self.label_3,2,0,1,1)
442
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
58 self.vboxlayout.addLayout(self.gridlayout)
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
59
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
60 spacerItem = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
61 self.vboxlayout.addItem(spacerItem)
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
62
482
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
63 self.buttonBox = QtGui.QDialogButtonBox(ProjectPropertiesDialog)
442
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
64 self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
65 self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
66 self.buttonBox.setObjectName("buttonBox")
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
67 self.vboxlayout.addWidget(self.buttonBox)
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
68 self.label_2.setBuddy(self.projectNameField)
482
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
69 self.label.setBuddy(self.buildScriptField)
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
70
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
71 self.retranslateUi(ProjectPropertiesDialog)
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
72 QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),ProjectPropertiesDialog.accept)
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
73 QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),ProjectPropertiesDialog.reject)
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
74 QtCore.QMetaObject.connectSlotsByName(ProjectPropertiesDialog)
442
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
75
482
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
76 def retranslateUi(self, ProjectPropertiesDialog):
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
77 ProjectPropertiesDialog.setWindowTitle(QtGui.QApplication.translate("ProjectPropertiesDialog", "Project Properties", None, QtGui.QApplication.UnicodeUTF8))
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
78 self.label_2.setText(QtGui.QApplication.translate("ProjectPropertiesDialog", "Project name:", None, QtGui.QApplication.UnicodeUTF8))
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
79 self.label.setText(QtGui.QApplication.translate("ProjectPropertiesDialog", "Build script:", None, QtGui.QApplication.UnicodeUTF8))
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
80 self.pickFileButton.setText(QtGui.QApplication.translate("ProjectPropertiesDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
1401e38d1e2e Translator: implemented project properties dialog.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents: 460
diff changeset
81 self.label_3.setText(QtGui.QApplication.translate("ProjectPropertiesDialog", "Creation date:", None, QtGui.QApplication.UnicodeUTF8))
442
5968e273449b Translator: added new modules; made fixes and many additions.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
diff changeset
82