##// END OF EJS Templates
Rewrite controller, remove MPDecorator to units (keep for plots an writers) use of queues for interproc comm instead of zmq, self operations are no longer supported
Rewrite controller, remove MPDecorator to units (keep for plots an writers) use of queues for interproc comm instead of zmq, self operations are no longer supported

File last commit:

r577:bea3bacb993a
r1287:af11e4aac00c
Show More
ui_workspace.py
115 lines | 5.8 KiB | text/x-python | PythonLexer
Alexander Valdez
ui_workspace:...
r374 # -*- coding: utf-8 -*-
Miguel Valdez
r577 # Form implementation generated from reading ui file '/home/alex/ui/workspacev5.ui'
Alexander Valdez
ui_workspace:...
r374 #
Miguel Valdez
r577 # Created: Sun May 12 16:45:47 2013
# by: PyQt4 UI code generator 4.10
Alexander Valdez
ui_workspace:...
r374 #
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
Miguel Valdez
r577 def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
Alexander Valdez
ui_workspace:...
r374
class Ui_Workspace(object):
def setupUi(self, Dialog):
Dialog.setObjectName(_fromUtf8("Dialog"))
Miguel Valdez
r577 Dialog.setEnabled(True)
Dialog.resize(730, 295)
Dialog.setMinimumSize(QtCore.QSize(730, 295))
Dialog.setMaximumSize(QtCore.QSize(730, 295))
Alexander Valdez
ui_workspace:...
r374 self.dirLabel = QtGui.QTextEdit(Dialog)
Miguel Valdez
r577 self.dirLabel.setGeometry(QtCore.QRect(0, 0, 731, 71))
Alexander Valdez
ui_workspace:...
r374 self.dirLabel.setReadOnly(True)
self.dirLabel.setObjectName(_fromUtf8("dirLabel"))
self.dirWork = QtGui.QLabel(Dialog)
Miguel Valdez
r577 self.dirWork.setGeometry(QtCore.QRect(10, 90, 91, 16))
Alexander Valdez
ui_workspace:...
r374 font = QtGui.QFont()
Miguel Valdez
r577 font.setPointSize(11)
Alexander Valdez
ui_workspace:...
r374 self.dirWork.setFont(font)
self.dirWork.setObjectName(_fromUtf8("dirWork"))
self.dirComBox = QtGui.QComboBox(Dialog)
Miguel Valdez
r577 self.dirComBox.setGeometry(QtCore.QRect(110, 80, 501, 31))
Alexander Valdez
ui_workspace:...
r374 palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
self.dirComBox.setPalette(palette)
self.dirComBox.setObjectName(_fromUtf8("dirComBox"))
self.dirToolPath = QtGui.QToolButton(Dialog)
Miguel Valdez
r577 self.dirToolPath.setGeometry(QtCore.QRect(620, 80, 101, 31))
Alexander Valdez
ui_workspace:...
r374 font = QtGui.QFont()
Miguel Valdez
r577 font.setPointSize(11)
Alexander Valdez
ui_workspace:...
r374 self.dirToolPath.setFont(font)
self.dirToolPath.setObjectName(_fromUtf8("dirToolPath"))
Miguel Valdez
r577 self.widget = QtGui.QWidget(Dialog)
self.widget.setGeometry(QtCore.QRect(10, 120, 711, 121))
self.widget.setObjectName(_fromUtf8("widget"))
self.horizontalLayout_3 = QtGui.QHBoxLayout(self.widget)
self.horizontalLayout_3.setMargin(0)
Alexander Valdez
ui_workspace:...
r374 self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.horizontalLayout_3.addItem(spacerItem)
spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.horizontalLayout_3.addItem(spacerItem1)
spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.horizontalLayout_3.addItem(spacerItem2)
spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.horizontalLayout_3.addItem(spacerItem3)
spacerItem4 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.horizontalLayout_3.addItem(spacerItem4)
Miguel Valdez
r577 self.dirCancelBtn = QtGui.QPushButton(Dialog)
self.dirCancelBtn.setGeometry(QtCore.QRect(490, 250, 111, 31))
self.dirCancelBtn.setObjectName(_fromUtf8("dirCancelBtn"))
Alexander Valdez
ui_workspace:...
r374 self.dirOkBtn = QtGui.QPushButton(Dialog)
Miguel Valdez
r577 self.dirOkBtn.setGeometry(QtCore.QRect(610, 250, 111, 31))
Alexander Valdez
ui_workspace:...
r374 font = QtGui.QFont()
Miguel Valdez
r577 font.setPointSize(11)
Alexander Valdez
ui_workspace:...
r374 self.dirOkBtn.setFont(font)
self.dirOkBtn.setObjectName(_fromUtf8("dirOkBtn"))
self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
Miguel Valdez
r577 Dialog.setWindowTitle(_translate("Dialog", "Dialog", None))
self.dirLabel.setHtml(_translate("Dialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Ubuntu\'; font-size:11pt; font-weight:400; font-style:normal;\">\n"
"<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:12pt; font-weight:600;\">Select a workspace</span></p>\n"
"<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\';\">Signal Chain stores your projects in a folder called a workspace.</span></p>\n"
"<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\';\">Choose a workspace folder to use for this session.</span></p></body></html>", None))
self.dirWork.setText(_translate("Dialog", "Workspace :", None))
self.dirToolPath.setText(_translate("Dialog", "Browse...", None))
self.dirCancelBtn.setText(_translate("Dialog", "Cancel", None))
self.dirOkBtn.setText(_translate("Dialog", "OK", None))
Alexander Valdez
ui_workspace:...
r374
if __name__ == "__main__":
import sys
app = QtGui.QApplication(sys.argv)
Dialog = QtGui.QDialog()
ui = Ui_Workspace()
ui.setupUi(Dialog)
Dialog.show()
sys.exit(app.exec_())