# -*- 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", "\n" "
\n" "Select a workspace
\n" "Signal Chain stores your projects in a folder called a workspace.
\n" "Choose a workspace folder to use for this session.
", 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_())