diff --git a/schainpy/gui/viewer/ui_workspace.py b/schainpy/gui/viewer/ui_workspace.py index 50ce749..20e23d5 100644 --- a/schainpy/gui/viewer/ui_workspace.py +++ b/schainpy/gui/viewer/ui_workspace.py @@ -1,9 +1,9 @@ # -*- coding: utf-8 -*- -# Form implementation generated from reading ui file '/home/roj-idl71/SignalChain/signal/configuraproyect.ui' +# Form implementation generated from reading ui file 'C:\Users\alex\ericworkspace\GUIV1\workspacev2.ui' # -# Created: Wed Sep 5 11:53:34 2012 -# by: PyQt4 UI code generator 4.8.6 +# Created: Thu Dec 13 09:23:36 2012 +# by: PyQt4 UI code generator 4.9.4 # # WARNING! All changes made in this file will be lost! @@ -17,8 +17,7 @@ except AttributeError: class Ui_Workspace(object): def setupUi(self, MainWindow): MainWindow.setObjectName(_fromUtf8("MainWindow")) - MainWindow.resize(728, 272) - MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8)) + MainWindow.resize(728, 344) self.centralWidget = QtGui.QWidget(MainWindow) self.centralWidget.setObjectName(_fromUtf8("centralWidget")) self.line = QtGui.QFrame(self.centralWidget) @@ -27,45 +26,23 @@ class Ui_Workspace(object): self.line.setFrameShadow(QtGui.QFrame.Sunken) self.line.setObjectName(_fromUtf8("line")) self.dirLabel = QtGui.QTextEdit(self.centralWidget) - self.dirLabel.setGeometry(QtCore.QRect(0, 0, 731, 81)) + self.dirLabel.setGeometry(QtCore.QRect(0, 0, 731, 91)) self.dirLabel.setReadOnly(True) - self.dirLabel.setHtml(QtGui.QApplication.translate("MainWindow", "\n" -"\n" -"

Select a workspace

\n" -"

SignalChain stores your projects in a folder called a workspace.

\n" -"

Choose a workspace folder to use for this session.

", None, QtGui.QApplication.UnicodeUTF8)) self.dirLabel.setObjectName(_fromUtf8("dirLabel")) self.dirWork = QtGui.QLabel(self.centralWidget) - self.dirWork.setGeometry(QtCore.QRect(10, 90, 87, 22)) + self.dirWork.setGeometry(QtCore.QRect(10, 110, 87, 22)) font = QtGui.QFont() font.setPointSize(12) self.dirWork.setFont(font) - self.dirWork.setText(QtGui.QApplication.translate("MainWindow", "Workspace :", None, QtGui.QApplication.UnicodeUTF8)) self.dirWork.setObjectName(_fromUtf8("dirWork")) self.dirButton = QtGui.QRadioButton(self.centralWidget) - self.dirButton.setGeometry(QtCore.QRect(10, 200, 310, 26)) - self.dirButton.setText(QtGui.QApplication.translate("MainWindow", "Use this as the default and do not ask again", None, QtGui.QApplication.UnicodeUTF8)) + self.dirButton.setGeometry(QtCore.QRect(10, 250, 401, 26)) + font = QtGui.QFont() + font.setPointSize(12) + self.dirButton.setFont(font) self.dirButton.setObjectName(_fromUtf8("dirButton")) - self.layoutWidget = QtGui.QWidget(self.centralWidget) - self.layoutWidget.setGeometry(QtCore.QRect(20, 230, 701, 33)) - self.layoutWidget.setObjectName(_fromUtf8("layoutWidget")) - self.horizontalLayout_2 = QtGui.QHBoxLayout(self.layoutWidget) - self.horizontalLayout_2.setMargin(0) - self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) - spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout_2.addItem(spacerItem) - self.dirCancelbtn = QtGui.QPushButton(self.layoutWidget) - self.dirCancelbtn.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) - self.dirCancelbtn.setObjectName(_fromUtf8("dirCancelbtn")) - self.horizontalLayout_2.addWidget(self.dirCancelbtn) - self.dirOkbtn = QtGui.QPushButton(self.layoutWidget) - self.dirOkbtn.setText(QtGui.QApplication.translate("MainWindow", "OK", None, QtGui.QApplication.UnicodeUTF8)) - self.dirOkbtn.setObjectName(_fromUtf8("dirOkbtn")) - self.horizontalLayout_2.addWidget(self.dirOkbtn) self.dirCmbBox = QtGui.QComboBox(self.centralWidget) - self.dirCmbBox.setGeometry(QtCore.QRect(10, 120, 621, 21)) + self.dirCmbBox.setGeometry(QtCore.QRect(100, 110, 481, 31)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) @@ -79,16 +56,40 @@ class Ui_Workspace(object): self.dirCmbBox.setPalette(palette) self.dirCmbBox.setObjectName(_fromUtf8("dirCmbBox")) self.dirBrowsebtn = QtGui.QToolButton(self.centralWidget) - self.dirBrowsebtn.setGeometry(QtCore.QRect(640, 120, 76, 21)) - self.dirBrowsebtn.setText(QtGui.QApplication.translate("MainWindow", "Browse...", None, QtGui.QApplication.UnicodeUTF8)) + self.dirBrowsebtn.setGeometry(QtCore.QRect(600, 110, 111, 31)) + font = QtGui.QFont() + font.setPointSize(12) + self.dirBrowsebtn.setFont(font) self.dirBrowsebtn.setObjectName(_fromUtf8("dirBrowsebtn")) + self.dirOkbtn = QtGui.QPushButton(self.centralWidget) + self.dirOkbtn.setGeometry(QtCore.QRect(590, 300, 111, 31)) + font = QtGui.QFont() + font.setPointSize(12) + self.dirOkbtn.setFont(font) + self.dirOkbtn.setObjectName(_fromUtf8("dirOkbtn")) + self.dirCancelbtn = QtGui.QPushButton(self.centralWidget) + self.dirCancelbtn.setGeometry(QtCore.QRect(470, 300, 111, 31)) + self.dirCancelbtn.setObjectName(_fromUtf8("dirCancelbtn")) MainWindow.setCentralWidget(self.centralWidget) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): - pass + MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8)) + self.dirLabel.setHtml(QtGui.QApplication.translate("MainWindow", "\n" +"\n" +"

Select a workspace

\n" +"


\n" +"

Signal Chain stores your projects in a folder called a workspace.

\n" +"

Choose a workspace folder to use for this session.

", None, QtGui.QApplication.UnicodeUTF8)) + self.dirWork.setText(QtGui.QApplication.translate("MainWindow", "Workspace :", None, QtGui.QApplication.UnicodeUTF8)) + self.dirButton.setText(QtGui.QApplication.translate("MainWindow", "Use this as the default and do not ask again", None, QtGui.QApplication.UnicodeUTF8)) + self.dirBrowsebtn.setText(QtGui.QApplication.translate("MainWindow", "Browse...", None, QtGui.QApplication.UnicodeUTF8)) + self.dirOkbtn.setText(QtGui.QApplication.translate("MainWindow", "OK", None, QtGui.QApplication.UnicodeUTF8)) + self.dirCancelbtn.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) if __name__ == "__main__": @@ -98,4 +99,5 @@ if __name__ == "__main__": ui = Ui_Workspace() ui.setupUi(MainWindow) MainWindow.show() - sys.exit(app.exec_()) \ No newline at end of file + sys.exit(app.exec_()) +