Mercurial > projects > dil
comparison src/translator/ui_new_project.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_new_project.py@77c17bbe9d20 |
children |
comparison
equal
deleted
inserted
replaced
805:a3fab8b74a7d | 806:bcb74c9b895c |
---|---|
1 # -*- coding: utf-8 -*- | |
2 | |
3 # Form implementation generated from reading ui file 'new_project.ui' | |
4 # | |
5 # Created: Sun Oct 21 17:33:29 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_NewProjectDialog(object): | |
14 def setupUi(self, NewProjectDialog): | |
15 NewProjectDialog.setObjectName("NewProjectDialog") | |
16 NewProjectDialog.resize(QtCore.QSize(QtCore.QRect(0,0,401,131).size()).expandedTo(NewProjectDialog.minimumSizeHint())) | |
17 | |
18 self.vboxlayout = QtGui.QVBoxLayout(NewProjectDialog) | |
19 self.vboxlayout.setObjectName("vboxlayout") | |
20 | |
21 self.gridlayout = QtGui.QGridLayout() | |
22 self.gridlayout.setObjectName("gridlayout") | |
23 | |
24 self.gridlayout1 = QtGui.QGridLayout() | |
25 self.gridlayout1.setObjectName("gridlayout1") | |
26 | |
27 self.label = QtGui.QLabel(NewProjectDialog) | |
28 self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) | |
29 self.label.setObjectName("label") | |
30 self.gridlayout1.addWidget(self.label,0,0,1,1) | |
31 | |
32 self.projectName = QtGui.QLineEdit(NewProjectDialog) | |
33 self.projectName.setObjectName("projectName") | |
34 self.gridlayout1.addWidget(self.projectName,0,1,1,1) | |
35 | |
36 self.label_2 = QtGui.QLabel(NewProjectDialog) | |
37 self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) | |
38 self.label_2.setObjectName("label_2") | |
39 self.gridlayout1.addWidget(self.label_2,1,0,1,1) | |
40 | |
41 self.hboxlayout = QtGui.QHBoxLayout() | |
42 self.hboxlayout.setObjectName("hboxlayout") | |
43 | |
44 self.projectFilePath = QtGui.QLineEdit(NewProjectDialog) | |
45 self.projectFilePath.setObjectName("projectFilePath") | |
46 self.hboxlayout.addWidget(self.projectFilePath) | |
47 | |
48 self.pickFileButton = QtGui.QToolButton(NewProjectDialog) | |
49 self.pickFileButton.setObjectName("pickFileButton") | |
50 self.hboxlayout.addWidget(self.pickFileButton) | |
51 self.gridlayout1.addLayout(self.hboxlayout,1,1,1,1) | |
52 self.gridlayout.addLayout(self.gridlayout1,0,0,1,1) | |
53 | |
54 spacerItem = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) | |
55 self.gridlayout.addItem(spacerItem,1,0,1,1) | |
56 | |
57 self.buttonBox = QtGui.QDialogButtonBox(NewProjectDialog) | |
58 self.buttonBox.setOrientation(QtCore.Qt.Horizontal) | |
59 self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok) | |
60 self.buttonBox.setObjectName("buttonBox") | |
61 self.gridlayout.addWidget(self.buttonBox,2,0,1,1) | |
62 self.vboxlayout.addLayout(self.gridlayout) | |
63 self.label.setBuddy(self.projectName) | |
64 self.label_2.setBuddy(self.projectFilePath) | |
65 | |
66 self.retranslateUi(NewProjectDialog) | |
67 QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),NewProjectDialog.accept) | |
68 QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),NewProjectDialog.reject) | |
69 QtCore.QMetaObject.connectSlotsByName(NewProjectDialog) | |
70 | |
71 def retranslateUi(self, NewProjectDialog): | |
72 NewProjectDialog.setWindowTitle(QtGui.QApplication.translate("NewProjectDialog", "Create New Project", None, QtGui.QApplication.UnicodeUTF8)) | |
73 self.label.setText(QtGui.QApplication.translate("NewProjectDialog", "Project name:", None, QtGui.QApplication.UnicodeUTF8)) | |
74 self.label_2.setText(QtGui.QApplication.translate("NewProjectDialog", "Project file:", None, QtGui.QApplication.UnicodeUTF8)) | |
75 self.pickFileButton.setText(QtGui.QApplication.translate("NewProjectDialog", "...", None, QtGui.QApplication.UnicodeUTF8)) | |
76 |