|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
# Form implementation generated from reading ui file '/home/alex/ui/workspacev5.ui'
|
|
|
#
|
|
|
# Created: Sun May 12 16:45:47 2013
|
|
|
# by: PyQt4 UI code generator 4.10
|
|
|
#
|
|
|
# WARNING! All changes made in this file will be lost!
|
|
|
|
|
|
from PyQt4 import QtCore, QtGui
|
|
|
|
|
|
try:
|
|
|
_fromUtf8 = QtCore.QString.fromUtf8
|
|
|
except AttributeError:
|
|
|
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)
|
|
|
|
|
|
class Ui_Workspace(object):
|
|
|
def setupUi(self, Dialog):
|
|
|
Dialog.setObjectName(_fromUtf8("Dialog"))
|
|
|
Dialog.setEnabled(True)
|
|
|
Dialog.resize(730, 295)
|
|
|
Dialog.setMinimumSize(QtCore.QSize(730, 295))
|
|
|
Dialog.setMaximumSize(QtCore.QSize(730, 295))
|
|
|
self.dirLabel = QtGui.QTextEdit(Dialog)
|
|
|
self.dirLabel.setGeometry(QtCore.QRect(0, 0, 731, 71))
|
|
|
self.dirLabel.setReadOnly(True)
|
|
|
self.dirLabel.setObjectName(_fromUtf8("dirLabel"))
|
|
|
self.dirWork = QtGui.QLabel(Dialog)
|
|
|
self.dirWork.setGeometry(QtCore.QRect(10, 90, 91, 16))
|
|
|
font = QtGui.QFont()
|
|
|
font.setPointSize(11)
|
|
|
self.dirWork.setFont(font)
|
|
|
self.dirWork.setObjectName(_fromUtf8("dirWork"))
|
|
|
self.dirComBox = QtGui.QComboBox(Dialog)
|
|
|
self.dirComBox.setGeometry(QtCore.QRect(110, 80, 501, 31))
|
|
|
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)
|
|
|
self.dirToolPath.setGeometry(QtCore.QRect(620, 80, 101, 31))
|
|
|
font = QtGui.QFont()
|
|
|
font.setPointSize(11)
|
|
|
self.dirToolPath.setFont(font)
|
|
|
self.dirToolPath.setObjectName(_fromUtf8("dirToolPath"))
|
|
|
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)
|
|
|
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)
|
|
|
self.dirCancelBtn = QtGui.QPushButton(Dialog)
|
|
|
self.dirCancelBtn.setGeometry(QtCore.QRect(490, 250, 111, 31))
|
|
|
self.dirCancelBtn.setObjectName(_fromUtf8("dirCancelBtn"))
|
|
|
self.dirOkBtn = QtGui.QPushButton(Dialog)
|
|
|
self.dirOkBtn.setGeometry(QtCore.QRect(610, 250, 111, 31))
|
|
|
font = QtGui.QFont()
|
|
|
font.setPointSize(11)
|
|
|
self.dirOkBtn.setFont(font)
|
|
|
self.dirOkBtn.setObjectName(_fromUtf8("dirOkBtn"))
|
|
|
|
|
|
self.retranslateUi(Dialog)
|
|
|
QtCore.QMetaObject.connectSlotsByName(Dialog)
|
|
|
|
|
|
def retranslateUi(self, Dialog):
|
|
|
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))
|
|
|
|
|
|
|
|
|
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_())
|
|
|
|
|
|
|