##// END OF EJS Templates
-Nueva vista
Alexander Valdez -
r367:0b218fbab485
parent child
Show More
@@ -1,8 +1,8
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2
2
3 # Form implementation generated from reading ui file 'C:\Users\alex\ericworkspace\GUIV1\workspacev2.ui'
3 # Form implementation generated from reading ui file 'C:\Users\alex\ericworkspace\GUIV1\workspacev3.ui'
4 #
4 #
5 # Created: Thu Dec 13 09:23:36 2012
5 # Created: Tue Mar 05 16:29:15 2013
6 # by: PyQt4 UI code generator 4.9.4
6 # by: PyQt4 UI code generator 4.9.4
7 #
7 #
8 # WARNING! All changes made in this file will be lost!
8 # WARNING! All changes made in this file will be lost!
@@ -17,32 +17,28 except AttributeError:
17 class Ui_Workspace(object):
17 class Ui_Workspace(object):
18 def setupUi(self, MainWindow):
18 def setupUi(self, MainWindow):
19 MainWindow.setObjectName(_fromUtf8("MainWindow"))
19 MainWindow.setObjectName(_fromUtf8("MainWindow"))
20 MainWindow.resize(728, 344)
20 MainWindow.resize(678, 304)
21 self.centralWidget = QtGui.QWidget(MainWindow)
21 self.centralWidget = QtGui.QWidget(MainWindow)
22 self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
22 self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
23 self.line = QtGui.QFrame(self.centralWidget)
23 self.gridLayout = QtGui.QGridLayout(self.centralWidget)
24 self.line.setGeometry(QtCore.QRect(0, 60, 731, 20))
24 self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
25 self.line.setFrameShape(QtGui.QFrame.HLine)
26 self.line.setFrameShadow(QtGui.QFrame.Sunken)
27 self.line.setObjectName(_fromUtf8("line"))
28 self.dirLabel = QtGui.QTextEdit(self.centralWidget)
29 self.dirLabel.setGeometry(QtCore.QRect(0, 0, 731, 91))
30 self.dirLabel.setReadOnly(True)
31 self.dirLabel.setObjectName(_fromUtf8("dirLabel"))
32 self.dirWork = QtGui.QLabel(self.centralWidget)
25 self.dirWork = QtGui.QLabel(self.centralWidget)
33 self.dirWork.setGeometry(QtCore.QRect(10, 110, 87, 22))
34 font = QtGui.QFont()
26 font = QtGui.QFont()
35 font.setPointSize(12)
27 font.setPointSize(8)
36 self.dirWork.setFont(font)
28 self.dirWork.setFont(font)
37 self.dirWork.setObjectName(_fromUtf8("dirWork"))
29 self.dirWork.setObjectName(_fromUtf8("dirWork"))
38 self.dirButton = QtGui.QRadioButton(self.centralWidget)
30 self.gridLayout.addWidget(self.dirWork, 3, 0, 1, 1)
39 self.dirButton.setGeometry(QtCore.QRect(10, 250, 401, 26))
31 self.dirLabel = QtGui.QTextEdit(self.centralWidget)
40 font = QtGui.QFont()
32 self.dirLabel.setMaximumSize(QtCore.QSize(16777215, 75))
41 font.setPointSize(12)
33 self.dirLabel.setReadOnly(True)
42 self.dirButton.setFont(font)
34 self.dirLabel.setObjectName(_fromUtf8("dirLabel"))
43 self.dirButton.setObjectName(_fromUtf8("dirButton"))
35 self.gridLayout.addWidget(self.dirLabel, 0, 0, 1, 2)
44 self.dirCmbBox = QtGui.QComboBox(self.centralWidget)
36 self.line = QtGui.QFrame(self.centralWidget)
45 self.dirCmbBox.setGeometry(QtCore.QRect(100, 110, 481, 31))
37 self.line.setFrameShape(QtGui.QFrame.HLine)
38 self.line.setFrameShadow(QtGui.QFrame.Sunken)
39 self.line.setObjectName(_fromUtf8("line"))
40 self.gridLayout.addWidget(self.line, 1, 0, 1, 2)
41 self.dirComBox = QtGui.QComboBox(self.centralWidget)
46 palette = QtGui.QPalette()
42 palette = QtGui.QPalette()
47 brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
43 brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
48 brush.setStyle(QtCore.Qt.SolidPattern)
44 brush.setStyle(QtCore.Qt.SolidPattern)
@@ -53,23 +49,53 class Ui_Workspace(object):
53 brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
49 brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
54 brush.setStyle(QtCore.Qt.SolidPattern)
50 brush.setStyle(QtCore.Qt.SolidPattern)
55 palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
51 palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
56 self.dirCmbBox.setPalette(palette)
52 self.dirComBox.setPalette(palette)
57 self.dirCmbBox.setObjectName(_fromUtf8("dirCmbBox"))
53 self.dirComBox.setObjectName(_fromUtf8("dirComBox"))
58 self.dirBrowsebtn = QtGui.QToolButton(self.centralWidget)
54 self.gridLayout.addWidget(self.dirComBox, 5, 0, 1, 1)
59 self.dirBrowsebtn.setGeometry(QtCore.QRect(600, 110, 111, 31))
55 self.horizontalLayout_3 = QtGui.QHBoxLayout()
56 self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
57 spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
58 self.horizontalLayout_3.addItem(spacerItem)
59 spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
60 self.horizontalLayout_3.addItem(spacerItem1)
61 spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
62 self.horizontalLayout_3.addItem(spacerItem2)
63 spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
64 self.horizontalLayout_3.addItem(spacerItem3)
65 spacerItem4 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
66 self.horizontalLayout_3.addItem(spacerItem4)
67 self.gridLayout.addLayout(self.horizontalLayout_3, 8, 0, 1, 1)
68 self.horizontalLayout_2 = QtGui.QHBoxLayout()
69 self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
70 self.dirButton = QtGui.QRadioButton(self.centralWidget)
60 font = QtGui.QFont()
71 font = QtGui.QFont()
61 font.setPointSize(12)
72 font.setPointSize(8)
62 self.dirBrowsebtn.setFont(font)
73 self.dirButton.setFont(font)
63 self.dirBrowsebtn.setObjectName(_fromUtf8("dirBrowsebtn"))
74 self.dirButton.setObjectName(_fromUtf8("dirButton"))
64 self.dirOkbtn = QtGui.QPushButton(self.centralWidget)
75 self.horizontalLayout_2.addWidget(self.dirButton)
65 self.dirOkbtn.setGeometry(QtCore.QRect(590, 300, 111, 31))
76 spacerItem5 = QtGui.QSpacerItem(428, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
77 self.horizontalLayout_2.addItem(spacerItem5)
78 self.gridLayout.addLayout(self.horizontalLayout_2, 9, 0, 1, 2)
79 self.horizontalLayout = QtGui.QHBoxLayout()
80 self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
81 spacerItem6 = QtGui.QSpacerItem(438, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
82 self.horizontalLayout.addItem(spacerItem6)
83 self.dirOkBtn = QtGui.QPushButton(self.centralWidget)
84 font = QtGui.QFont()
85 font.setPointSize(8)
86 self.dirOkBtn.setFont(font)
87 self.dirOkBtn.setObjectName(_fromUtf8("dirOkBtn"))
88 self.horizontalLayout.addWidget(self.dirOkBtn)
89 self.dirCancelBtn = QtGui.QPushButton(self.centralWidget)
90 self.dirCancelBtn.setObjectName(_fromUtf8("dirCancelBtn"))
91 self.horizontalLayout.addWidget(self.dirCancelBtn)
92 self.gridLayout.addLayout(self.horizontalLayout, 10, 0, 1, 2)
93 self.dirToolPath = QtGui.QToolButton(self.centralWidget)
66 font = QtGui.QFont()
94 font = QtGui.QFont()
67 font.setPointSize(12)
95 font.setPointSize(8)
68 self.dirOkbtn.setFont(font)
96 self.dirToolPath.setFont(font)
69 self.dirOkbtn.setObjectName(_fromUtf8("dirOkbtn"))
97 self.dirToolPath.setObjectName(_fromUtf8("dirToolPath"))
70 self.dirCancelbtn = QtGui.QPushButton(self.centralWidget)
98 self.gridLayout.addWidget(self.dirToolPath, 5, 1, 1, 1)
71 self.dirCancelbtn.setGeometry(QtCore.QRect(470, 300, 111, 31))
72 self.dirCancelbtn.setObjectName(_fromUtf8("dirCancelbtn"))
73 MainWindow.setCentralWidget(self.centralWidget)
99 MainWindow.setCentralWidget(self.centralWidget)
74
100
75 self.retranslateUi(MainWindow)
101 self.retranslateUi(MainWindow)
@@ -77,19 +103,19 class Ui_Workspace(object):
77
103
78 def retranslateUi(self, MainWindow):
104 def retranslateUi(self, MainWindow):
79 MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
105 MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
106 self.dirWork.setText(QtGui.QApplication.translate("MainWindow", "Workspace :", 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"
107 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"
108 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
82 "p, li { white-space: pre-wrap; }\n"
109 "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"
110 "</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"
111 "<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:8pt; 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"
112 "<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:8pt; 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"
113 "<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:8pt;\"> 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))
114 "<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:8pt;\"> 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))
115 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))
116 self.dirOkBtn.setText(QtGui.QApplication.translate("MainWindow", "OK", None, QtGui.QApplication.UnicodeUTF8))
91 self.dirOkbtn.setText(QtGui.QApplication.translate("MainWindow", "OK", None, QtGui.QApplication.UnicodeUTF8))
117 self.dirCancelBtn.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
92 self.dirCancelbtn.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
118 self.dirToolPath.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8))
93
119
94
120
95 if __name__ == "__main__":
121 if __name__ == "__main__":
@@ -101,3 +127,5 if __name__ == "__main__":
101 MainWindow.show()
127 MainWindow.show()
102 sys.exit(app.exec_())
128 sys.exit(app.exec_())
103
129
130
131
General Comments 0
You need to be logged in to leave comments. Login now