##// END OF EJS Templates
update ui_workspace
Alexander Valdez -
r262:4645eec0199f
parent child
Show More
@@ -1,101 +1,103
1 1 # -*- coding: utf-8 -*-
2 2
3 # Form implementation generated from reading ui file '/home/roj-idl71/SignalChain/signal/configuraproyect.ui'
3 # Form implementation generated from reading ui file 'C:\Users\alex\ericworkspace\GUIV1\workspacev2.ui'
4 4 #
5 # Created: Wed Sep 5 11:53:34 2012
6 # by: PyQt4 UI code generator 4.8.6
5 # Created: Thu Dec 13 09:23:36 2012
6 # by: PyQt4 UI code generator 4.9.4
7 7 #
8 8 # WARNING! All changes made in this file will be lost!
9 9
10 10 from PyQt4 import QtCore, QtGui
11 11
12 12 try:
13 13 _fromUtf8 = QtCore.QString.fromUtf8
14 14 except AttributeError:
15 15 _fromUtf8 = lambda s: s
16 16
17 17 class Ui_Workspace(object):
18 18 def setupUi(self, MainWindow):
19 19 MainWindow.setObjectName(_fromUtf8("MainWindow"))
20 MainWindow.resize(728, 272)
21 MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
20 MainWindow.resize(728, 344)
22 21 self.centralWidget = QtGui.QWidget(MainWindow)
23 22 self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
24 23 self.line = QtGui.QFrame(self.centralWidget)
25 24 self.line.setGeometry(QtCore.QRect(0, 60, 731, 20))
26 25 self.line.setFrameShape(QtGui.QFrame.HLine)
27 26 self.line.setFrameShadow(QtGui.QFrame.Sunken)
28 27 self.line.setObjectName(_fromUtf8("line"))
29 28 self.dirLabel = QtGui.QTextEdit(self.centralWidget)
30 self.dirLabel.setGeometry(QtCore.QRect(0, 0, 731, 81))
29 self.dirLabel.setGeometry(QtCore.QRect(0, 0, 731, 91))
31 30 self.dirLabel.setReadOnly(True)
32 self.dirLabel.setHtml(QtGui.QApplication.translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
33 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
34 "p, li { white-space: pre-wrap; }\n"
35 "</style></head><body style=\" font-family:\'Cantarell\'; font-size:11pt; font-weight:400; font-style:normal;\">\n"
36 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:12pt; font-weight:600;\">Select a workspace</span></p>\n"
37 "<p align=\"justify\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">SignalChain stores your projects in a folder called a workspace.</p>\n"
38 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Choose a workspace folder to use for this session.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
39 31 self.dirLabel.setObjectName(_fromUtf8("dirLabel"))
40 32 self.dirWork = QtGui.QLabel(self.centralWidget)
41 self.dirWork.setGeometry(QtCore.QRect(10, 90, 87, 22))
33 self.dirWork.setGeometry(QtCore.QRect(10, 110, 87, 22))
42 34 font = QtGui.QFont()
43 35 font.setPointSize(12)
44 36 self.dirWork.setFont(font)
45 self.dirWork.setText(QtGui.QApplication.translate("MainWindow", "Workspace :", None, QtGui.QApplication.UnicodeUTF8))
46 37 self.dirWork.setObjectName(_fromUtf8("dirWork"))
47 38 self.dirButton = QtGui.QRadioButton(self.centralWidget)
48 self.dirButton.setGeometry(QtCore.QRect(10, 200, 310, 26))
49 self.dirButton.setText(QtGui.QApplication.translate("MainWindow", "Use this as the default and do not ask again", None, QtGui.QApplication.UnicodeUTF8))
39 self.dirButton.setGeometry(QtCore.QRect(10, 250, 401, 26))
40 font = QtGui.QFont()
41 font.setPointSize(12)
42 self.dirButton.setFont(font)
50 43 self.dirButton.setObjectName(_fromUtf8("dirButton"))
51 self.layoutWidget = QtGui.QWidget(self.centralWidget)
52 self.layoutWidget.setGeometry(QtCore.QRect(20, 230, 701, 33))
53 self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
54 self.horizontalLayout_2 = QtGui.QHBoxLayout(self.layoutWidget)
55 self.horizontalLayout_2.setMargin(0)
56 self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
57 spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
58 self.horizontalLayout_2.addItem(spacerItem)
59 self.dirCancelbtn = QtGui.QPushButton(self.layoutWidget)
60 self.dirCancelbtn.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
61 self.dirCancelbtn.setObjectName(_fromUtf8("dirCancelbtn"))
62 self.horizontalLayout_2.addWidget(self.dirCancelbtn)
63 self.dirOkbtn = QtGui.QPushButton(self.layoutWidget)
64 self.dirOkbtn.setText(QtGui.QApplication.translate("MainWindow", "OK", None, QtGui.QApplication.UnicodeUTF8))
65 self.dirOkbtn.setObjectName(_fromUtf8("dirOkbtn"))
66 self.horizontalLayout_2.addWidget(self.dirOkbtn)
67 44 self.dirCmbBox = QtGui.QComboBox(self.centralWidget)
68 self.dirCmbBox.setGeometry(QtCore.QRect(10, 120, 621, 21))
45 self.dirCmbBox.setGeometry(QtCore.QRect(100, 110, 481, 31))
69 46 palette = QtGui.QPalette()
70 47 brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
71 48 brush.setStyle(QtCore.Qt.SolidPattern)
72 49 palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
73 50 brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
74 51 brush.setStyle(QtCore.Qt.SolidPattern)
75 52 palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
76 53 brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
77 54 brush.setStyle(QtCore.Qt.SolidPattern)
78 55 palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
79 56 self.dirCmbBox.setPalette(palette)
80 57 self.dirCmbBox.setObjectName(_fromUtf8("dirCmbBox"))
81 58 self.dirBrowsebtn = QtGui.QToolButton(self.centralWidget)
82 self.dirBrowsebtn.setGeometry(QtCore.QRect(640, 120, 76, 21))
83 self.dirBrowsebtn.setText(QtGui.QApplication.translate("MainWindow", "Browse...", None, QtGui.QApplication.UnicodeUTF8))
59 self.dirBrowsebtn.setGeometry(QtCore.QRect(600, 110, 111, 31))
60 font = QtGui.QFont()
61 font.setPointSize(12)
62 self.dirBrowsebtn.setFont(font)
84 63 self.dirBrowsebtn.setObjectName(_fromUtf8("dirBrowsebtn"))
64 self.dirOkbtn = QtGui.QPushButton(self.centralWidget)
65 self.dirOkbtn.setGeometry(QtCore.QRect(590, 300, 111, 31))
66 font = QtGui.QFont()
67 font.setPointSize(12)
68 self.dirOkbtn.setFont(font)
69 self.dirOkbtn.setObjectName(_fromUtf8("dirOkbtn"))
70 self.dirCancelbtn = QtGui.QPushButton(self.centralWidget)
71 self.dirCancelbtn.setGeometry(QtCore.QRect(470, 300, 111, 31))
72 self.dirCancelbtn.setObjectName(_fromUtf8("dirCancelbtn"))
85 73 MainWindow.setCentralWidget(self.centralWidget)
86 74
87 75 self.retranslateUi(MainWindow)
88 76 QtCore.QMetaObject.connectSlotsByName(MainWindow)
89 77
90 78 def retranslateUi(self, MainWindow):
91 pass
79 MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
80 self.dirLabel.setHtml(QtGui.QApplication.translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
81 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
82 "p, li { white-space: pre-wrap; }\n"
83 "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
84 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Cantarell\'; font-size:11pt; font-weight:600;\"> Select a workspace</span></p>\n"
85 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Cantarell\'; font-size:11pt; font-weight:600;\"><br /></p>\n"
86 "<p align=\"justify\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Cantarell\'; font-size:11pt;\"> Signal Chain stores your projects in a folder called a workspace.</span></p>\n"
87 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Cantarell\'; font-size:11pt;\"> Choose a workspace folder to use for this session.</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
88 self.dirWork.setText(QtGui.QApplication.translate("MainWindow", "Workspace :", None, QtGui.QApplication.UnicodeUTF8))
89 self.dirButton.setText(QtGui.QApplication.translate("MainWindow", "Use this as the default and do not ask again", None, QtGui.QApplication.UnicodeUTF8))
90 self.dirBrowsebtn.setText(QtGui.QApplication.translate("MainWindow", "Browse...", None, QtGui.QApplication.UnicodeUTF8))
91 self.dirOkbtn.setText(QtGui.QApplication.translate("MainWindow", "OK", None, QtGui.QApplication.UnicodeUTF8))
92 self.dirCancelbtn.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
92 93
93 94
94 95 if __name__ == "__main__":
95 96 import sys
96 97 app = QtGui.QApplication(sys.argv)
97 98 MainWindow = QtGui.QMainWindow()
98 99 ui = Ui_Workspace()
99 100 ui.setupUi(MainWindow)
100 101 MainWindow.show()
101 102 sys.exit(app.exec_())
103
General Comments 0
You need to be logged in to leave comments. Login now