Permalink
Browse files

Update build script for Linux

  • Loading branch information...
1 parent b7cb5a1 commit ecc18aaeb4841bb514351167c182754b286f5369 @smathot committed Jul 29, 2012
View
6 MANIFEST.in
@@ -2,6 +2,7 @@ include data/opensesame.desktop
include resources/*.ttf
include resources/tips.txt
include resources/templates/*.opensesame
+recursive-exclude .hidden
recursive-include resources/theme *
recursive-exclude resources/theme *~
recursive-exclude resources/theme *.pyc
@@ -19,6 +20,11 @@ recursive-include plugins/text_input *
recursive-include plugins/notepad *
recursive-include plugins/srbox *
recursive-include plugins/reset_feedback *
+recursive-include plugins/form_base *
+recursive-include plugins/form_consent *
+recursive-include plugins/form_text_input *
+recursive-include plugins/form_text_display *
+recursive-include plugins/parallel *
recursive-exclude plugins *~
recursive-exclude plugins *.csv
recursive-exclude plugins *.pyc
View
6 debian/changelog
@@ -1,3 +1,9 @@
+opensesame (0.27-pre1-1) unstable; urgency=low
+
+ * Loads of bug-fixes.
+
+ -- Sebastiaan Mathot <s.mathot@cogsci.nl> Sun, 29 Jul 2012 15:56:46 +0200
+
opensesame (0.26-2) unstable; urgency=low
* Loads of bug-fixes.
View
132 libqtopensesame/ui/gabor_dialog_ui.py
@@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'resources/ui/gabor_dialog.ui'
#
-# Created: Tue Jul 17 12:45:38 2012
+# Created: Sat Mar 31 16:00:41 2012
# by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!
@@ -14,25 +14,26 @@
except AttributeError:
_fromUtf8 = lambda s: s
-class Ui_gabor_dialog(object):
- def setupUi(self, gabor_dialog):
- gabor_dialog.setObjectName(_fromUtf8("gabor_dialog"))
- gabor_dialog.resize(476, 510)
- self.verticalLayout = QtGui.QVBoxLayout(gabor_dialog)
+class Ui_Dialog(object):
+ def setupUi(self, Dialog):
+ Dialog.setObjectName(_fromUtf8("Dialog"))
+ Dialog.resize(476, 510)
+ self.verticalLayout = QtGui.QVBoxLayout(Dialog)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
- self.widget_header_box = QtGui.QWidget(gabor_dialog)
+ self.widget_2 = QtGui.QWidget(Dialog)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.widget_header_box.sizePolicy().hasHeightForWidth())
- self.widget_header_box.setSizePolicy(sizePolicy)
- self.widget_header_box.setObjectName(_fromUtf8("widget_header_box"))
- self.horizontalLayout = QtGui.QHBoxLayout(self.widget_header_box)
- self.horizontalLayout.setSpacing(0)
+ sizePolicy.setHeightForWidth(self.widget_2.sizePolicy().hasHeightForWidth())
+ self.widget_2.setSizePolicy(sizePolicy)
+ self.widget_2.setStyleSheet(_fromUtf8("background-color: #4e9a06;\n"
+"color: rgb(255, 255, 255);"))
+ self.widget_2.setObjectName(_fromUtf8("widget_2"))
+ self.horizontalLayout = QtGui.QHBoxLayout(self.widget_2)
self.horizontalLayout.setMargin(5)
self.horizontalLayout.setMargin(0)
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
- self.label_gabor = QtGui.QLabel(self.widget_header_box)
+ self.label_gabor = QtGui.QLabel(self.widget_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -42,16 +43,16 @@ def setupUi(self, gabor_dialog):
self.label_gabor.setPixmap(QtGui.QPixmap(_fromUtf8(":/icons/gabor.png")))
self.label_gabor.setObjectName(_fromUtf8("label_gabor"))
self.horizontalLayout.addWidget(self.label_gabor)
- self.label_2 = QtGui.QLabel(self.widget_header_box)
+ self.label_2 = QtGui.QLabel(self.widget_2)
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.label_2.setFont(font)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.horizontalLayout.addWidget(self.label_2)
- self.verticalLayout.addWidget(self.widget_header_box)
- self.widget = QtGui.QWidget(gabor_dialog)
+ self.verticalLayout.addWidget(self.widget_2)
+ self.widget = QtGui.QWidget(Dialog)
font = QtGui.QFont()
font.setPointSize(8)
self.widget.setFont(font)
@@ -136,7 +137,7 @@ def setupUi(self, gabor_dialog):
self.combobox_bgmode.addItem(_fromUtf8(""))
self.formLayout.setWidget(8, QtGui.QFormLayout.FieldRole, self.combobox_bgmode)
self.verticalLayout.addWidget(self.widget)
- self.widget_3 = QtGui.QWidget(gabor_dialog)
+ self.widget_3 = QtGui.QWidget(Dialog)
self.widget_3.setObjectName(_fromUtf8("widget_3"))
self.verticalLayout_2 = QtGui.QVBoxLayout(self.widget_3)
self.verticalLayout_2.setMargin(0)
@@ -150,40 +151,79 @@ def setupUi(self, gabor_dialog):
self.label_12.setObjectName(_fromUtf8("label_12"))
self.verticalLayout_2.addWidget(self.label_12)
self.verticalLayout.addWidget(self.widget_3)
- self.buttonBox = QtGui.QDialogButtonBox(gabor_dialog)
+ self.buttonBox = QtGui.QDialogButtonBox(Dialog)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
self.buttonBox.setCenterButtons(False)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.verticalLayout.addWidget(self.buttonBox)
- self.retranslateUi(gabor_dialog)
- QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), gabor_dialog.accept)
- QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), gabor_dialog.reject)
- QtCore.QMetaObject.connectSlotsByName(gabor_dialog)
+ self.retranslateUi(Dialog)
+ QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept)
+ QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject)
+ QtCore.QMetaObject.connectSlotsByName(Dialog)
- def retranslateUi(self, gabor_dialog):
- gabor_dialog.setWindowTitle(QtGui.QApplication.translate("gabor_dialog", "Insert Gabor patch", None, QtGui.QApplication.UnicodeUTF8))
- self.label_2.setText(QtGui.QApplication.translate("gabor_dialog", "Insert Gabor patch", None, QtGui.QApplication.UnicodeUTF8))
- self.label_3.setText(QtGui.QApplication.translate("gabor_dialog", "Orientation<br /><i>in degrees (0 .. 360)</i>", None, QtGui.QApplication.UnicodeUTF8))
- self.spin_orient.setSuffix(QtGui.QApplication.translate("gabor_dialog", "deg", None, QtGui.QApplication.UnicodeUTF8))
- self.label_4.setText(QtGui.QApplication.translate("gabor_dialog", "Size<br /><i>in pixels</i>", None, QtGui.QApplication.UnicodeUTF8))
- self.spin_size.setSuffix(QtGui.QApplication.translate("gabor_dialog", "px", None, QtGui.QApplication.UnicodeUTF8))
- self.label_5.setText(QtGui.QApplication.translate("gabor_dialog", "Envelope", None, QtGui.QApplication.UnicodeUTF8))
- self.combobox_env.setItemText(0, QtGui.QApplication.translate("gabor_dialog", "gaussian", None, QtGui.QApplication.UnicodeUTF8))
- self.combobox_env.setItemText(1, QtGui.QApplication.translate("gabor_dialog", "linear", None, QtGui.QApplication.UnicodeUTF8))
- self.combobox_env.setItemText(2, QtGui.QApplication.translate("gabor_dialog", "circular (sharp edge)", None, QtGui.QApplication.UnicodeUTF8))
- self.combobox_env.setItemText(3, QtGui.QApplication.translate("gabor_dialog", "rectangle (no envelope)", None, QtGui.QApplication.UnicodeUTF8))
- self.label_6.setText(QtGui.QApplication.translate("gabor_dialog", "Standard deviation<br /><i>in pixels, only applies to Gaussian envelope</i>", None, QtGui.QApplication.UnicodeUTF8))
- self.spin_stdev.setSuffix(QtGui.QApplication.translate("gabor_dialog", "px", None, QtGui.QApplication.UnicodeUTF8))
- self.label_7.setText(QtGui.QApplication.translate("gabor_dialog", "Frequency<br /><i>in cycles/ px</i>", None, QtGui.QApplication.UnicodeUTF8))
- self.label_8.setText(QtGui.QApplication.translate("gabor_dialog", "Phase<br /><i>in cycles (0 .. 1)</i>", None, QtGui.QApplication.UnicodeUTF8))
- self.label_10.setText(QtGui.QApplication.translate("gabor_dialog", "Color 1<br /><i>e.g., \'white\' or \'#FFFFFF\'</i>", None, QtGui.QApplication.UnicodeUTF8))
- self.edit_color1.setText(QtGui.QApplication.translate("gabor_dialog", "white", None, QtGui.QApplication.UnicodeUTF8))
- self.label_9.setText(QtGui.QApplication.translate("gabor_dialog", "Color 1<br /><i>e.g., \'black\' or \'#000000\'</i>", None, QtGui.QApplication.UnicodeUTF8))
- self.edit_color2.setText(QtGui.QApplication.translate("gabor_dialog", "black", None, QtGui.QApplication.UnicodeUTF8))
- self.label_11.setText(QtGui.QApplication.translate("gabor_dialog", "Background color *", None, QtGui.QApplication.UnicodeUTF8))
- self.combobox_bgmode.setItemText(0, QtGui.QApplication.translate("gabor_dialog", "Color average", None, QtGui.QApplication.UnicodeUTF8))
- self.combobox_bgmode.setItemText(1, QtGui.QApplication.translate("gabor_dialog", "Color 2", None, QtGui.QApplication.UnicodeUTF8))
- self.label_12.setText(QtGui.QApplication.translate("gabor_dialog", "* Has no effect in psycho back-end", None, QtGui.QApplication.UnicodeUTF8))
+ def retranslateUi(self, Dialog):
+ Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Insert Gabor patch", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_2.setText(QtGui.QApplication.translate("Dialog", "Insert Gabor patch", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_3.setText(QtGui.QApplication.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:9pt; 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;\">Orientation</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-style:italic;\">in degrees (0 .. 360)</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+ self.spin_orient.setSuffix(QtGui.QApplication.translate("Dialog", "deg", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_4.setText(QtGui.QApplication.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:9pt; 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;\">Size</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-style:italic;\">in pixels</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+ self.spin_size.setSuffix(QtGui.QApplication.translate("Dialog", "px", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_5.setText(QtGui.QApplication.translate("Dialog", "Envelope", None, QtGui.QApplication.UnicodeUTF8))
+ self.combobox_env.setItemText(0, QtGui.QApplication.translate("Dialog", "gaussian", None, QtGui.QApplication.UnicodeUTF8))
+ self.combobox_env.setItemText(1, QtGui.QApplication.translate("Dialog", "linear", None, QtGui.QApplication.UnicodeUTF8))
+ self.combobox_env.setItemText(2, QtGui.QApplication.translate("Dialog", "circular (sharp edge)", None, QtGui.QApplication.UnicodeUTF8))
+ self.combobox_env.setItemText(3, QtGui.QApplication.translate("Dialog", "rectangle (no envelope)", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_6.setText(QtGui.QApplication.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:8pt; 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-size:9pt;\">Standard deviation</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-size:9pt; font-style:italic;\">in pixels, only applies to the Gaussian envelope</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+ self.spin_stdev.setSuffix(QtGui.QApplication.translate("Dialog", "px", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_7.setText(QtGui.QApplication.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:9pt; 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;\">Frequence</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-style:italic;\">in cycles/ pixel</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_8.setText(QtGui.QApplication.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:9pt; 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;\">Phase</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-style:italic;\">in cycles (0 .. 1)</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_10.setText(QtGui.QApplication.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:8pt; 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-size:9pt;\">Color 1</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-size:9pt; font-style:italic;\">E.g., \'white\' or \'#FFFFFF\'</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+ self.edit_color1.setText(QtGui.QApplication.translate("Dialog", "white", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_9.setText(QtGui.QApplication.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:8pt; 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-size:9pt;\">Color 2 *</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-size:9pt; font-style:italic;\">E.g., \'black\' or \'#000000\'</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+ self.edit_color2.setText(QtGui.QApplication.translate("Dialog", "black", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_11.setText(QtGui.QApplication.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:9pt; 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;\">Background color *</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+ self.combobox_bgmode.setItemText(0, QtGui.QApplication.translate("Dialog", "Color average", None, QtGui.QApplication.UnicodeUTF8))
+ self.combobox_bgmode.setItemText(1, QtGui.QApplication.translate("Dialog", "Color 2", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_12.setText(QtGui.QApplication.translate("Dialog", "* Has no effect in psycho back-end", None, QtGui.QApplication.UnicodeUTF8))
View
390 libqtopensesame/ui/general_widget_ui.py
@@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'resources/ui/general_widget.ui'
#
-# Created: Fri Jul 27 15:34:12 2012
+# Created: Sat Mar 31 16:00:40 2012
# by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!
@@ -14,193 +14,251 @@
except AttributeError:
_fromUtf8 = lambda s: s
-class Ui_general_widget(object):
- def setupUi(self, general_widget):
- general_widget.setObjectName(_fromUtf8("general_widget"))
- general_widget.resize(829, 852)
- self.gridLayout_5 = QtGui.QGridLayout(general_widget)
- self.gridLayout_5.setMargin(0)
- self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
- self.widget_credits = credits_widget(general_widget)
+class Ui_Form(object):
+ def setupUi(self, Form):
+ Form.setObjectName(_fromUtf8("Form"))
+ Form.resize(807, 805)
+ self.verticalLayout = QtGui.QVBoxLayout(Form)
+ self.verticalLayout.setMargin(0)
+ self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
+ self.widget = QtGui.QWidget(Form)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.widget_credits.sizePolicy().hasHeightForWidth())
- self.widget_credits.setSizePolicy(sizePolicy)
- self.widget_credits.setObjectName(_fromUtf8("widget_credits"))
- self.gridLayout_5.addWidget(self.widget_credits, 1, 0, 1, 1)
- self.widget_2 = QtGui.QWidget(general_widget)
- sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.widget_2.sizePolicy().hasHeightForWidth())
- self.widget_2.setSizePolicy(sizePolicy)
- self.widget_2.setObjectName(_fromUtf8("widget_2"))
- self.horizontalLayout_5 = QtGui.QHBoxLayout(self.widget_2)
- self.horizontalLayout_5.setMargin(0)
- self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
- self.widget = QtGui.QWidget(self.widget_2)
- sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth())
self.widget.setSizePolicy(sizePolicy)
- self.widget.setMinimumSize(QtCore.QSize(20, 20))
self.widget.setObjectName(_fromUtf8("widget"))
- self.formLayout = QtGui.QFormLayout(self.widget)
- self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
- self.formLayout.setLabelAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
- self.formLayout.setMargin(0)
- self.formLayout.setMargin(0)
- self.formLayout.setObjectName(_fromUtf8("formLayout"))
+ self.layout_general_properties = QtGui.QGridLayout(self.widget)
+ self.layout_general_properties.setMargin(0)
+ self.layout_general_properties.setMargin(0)
+ self.layout_general_properties.setObjectName(_fromUtf8("layout_general_properties"))
+ self.label_2 = QtGui.QLabel(self.widget)
+ self.label_2.setObjectName(_fromUtf8("label_2"))
+ self.layout_general_properties.addWidget(self.label_2, 4, 0, 1, 1)
+ self.combobox_backend = QtGui.QComboBox(self.widget)
+ self.combobox_backend.setObjectName(_fromUtf8("combobox_backend"))
+ self.layout_general_properties.addWidget(self.combobox_backend, 3, 1, 1, 3)
+ self.combobox_start = QtGui.QComboBox(self.widget)
+ self.combobox_start.setObjectName(_fromUtf8("combobox_start"))
+ self.layout_general_properties.addWidget(self.combobox_start, 0, 1, 1, 3)
self.label = QtGui.QLabel(self.widget)
self.label.setObjectName(_fromUtf8("label"))
- self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
- self.label_3 = QtGui.QLabel(self.widget)
- self.label_3.setObjectName(_fromUtf8("label_3"))
- self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
- self.frame_resolution = QtGui.QFrame(self.widget)
- sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.frame_resolution.sizePolicy().hasHeightForWidth())
- self.frame_resolution.setSizePolicy(sizePolicy)
- self.frame_resolution.setFrameShape(QtGui.QFrame.NoFrame)
- self.frame_resolution.setObjectName(_fromUtf8("frame_resolution"))
- self.horizontalLayout_3 = QtGui.QHBoxLayout(self.frame_resolution)
- self.horizontalLayout_3.setMargin(0)
- self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
- self.spinbox_width = QtGui.QSpinBox(self.frame_resolution)
+ self.layout_general_properties.addWidget(self.label, 0, 0, 1, 1)
+ self.spinbox_width = QtGui.QSpinBox(self.widget)
self.spinbox_width.setMinimum(1)
self.spinbox_width.setMaximum(10000)
self.spinbox_width.setObjectName(_fromUtf8("spinbox_width"))
- self.horizontalLayout_3.addWidget(self.spinbox_width)
- self.label_6 = QtGui.QLabel(self.frame_resolution)
- self.label_6.setObjectName(_fromUtf8("label_6"))
- self.horizontalLayout_3.addWidget(self.label_6)
- self.spinbox_height = QtGui.QSpinBox(self.frame_resolution)
+ self.layout_general_properties.addWidget(self.spinbox_width, 4, 1, 1, 1)
+ self.label_4 = QtGui.QLabel(self.widget)
+ self.label_4.setObjectName(_fromUtf8("label_4"))
+ self.layout_general_properties.addWidget(self.label_4, 4, 2, 1, 1)
+ self.label_8 = QtGui.QLabel(self.widget)
+ self.label_8.setObjectName(_fromUtf8("label_8"))
+ self.layout_general_properties.addWidget(self.label_8, 3, 0, 1, 1)
+ self.spinbox_height = QtGui.QSpinBox(self.widget)
self.spinbox_height.setMinimum(1)
self.spinbox_height.setMaximum(10000)
self.spinbox_height.setObjectName(_fromUtf8("spinbox_height"))
- self.horizontalLayout_3.addWidget(self.spinbox_height)
- self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.frame_resolution)
- self.label_8 = QtGui.QLabel(self.widget)
- self.label_8.setObjectName(_fromUtf8("label_8"))
- self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_8)
- self.frame_colors = QtGui.QFrame(self.widget)
- sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.frame_colors.sizePolicy().hasHeightForWidth())
- self.frame_colors.setSizePolicy(sizePolicy)
- self.frame_colors.setFrameShape(QtGui.QFrame.NoFrame)
- self.frame_colors.setObjectName(_fromUtf8("frame_colors"))
- self.gridLayout_6 = QtGui.QGridLayout(self.frame_colors)
- self.gridLayout_6.setMargin(0)
- self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
- self.edit_foreground = color_edit(self.frame_colors)
- self.edit_foreground.setObjectName(_fromUtf8("edit_foreground"))
- self.gridLayout_6.addWidget(self.edit_foreground, 0, 1, 1, 1)
- self.label_4 = QtGui.QLabel(self.frame_colors)
- self.label_4.setObjectName(_fromUtf8("label_4"))
- self.gridLayout_6.addWidget(self.label_4, 0, 0, 1, 1)
- self.label_5 = QtGui.QLabel(self.frame_colors)
+ self.layout_general_properties.addWidget(self.spinbox_height, 5, 1, 1, 1)
+ self.label_5 = QtGui.QLabel(self.widget)
self.label_5.setObjectName(_fromUtf8("label_5"))
- self.gridLayout_6.addWidget(self.label_5, 1, 0, 1, 1)
- self.edit_background = color_edit(self.frame_colors)
- self.edit_background.setObjectName(_fromUtf8("edit_background"))
- self.gridLayout_6.addWidget(self.edit_background, 1, 1, 1, 1)
- self.label_2 = QtGui.QLabel(self.frame_colors)
+ self.layout_general_properties.addWidget(self.label_5, 5, 2, 1, 1)
+ self.label_3 = QtGui.QLabel(self.widget)
+ self.label_3.setObjectName(_fromUtf8("label_3"))
+ self.layout_general_properties.addWidget(self.label_3, 5, 0, 1, 1)
+ self.verticalLayout.addWidget(self.widget)
+ self.group_backend_settings = QtGui.QGroupBox(Form)
+ self.group_backend_settings.setCheckable(True)
+ self.group_backend_settings.setChecked(False)
+ self.group_backend_settings.setObjectName(_fromUtf8("group_backend_settings"))
+ self.verticalLayout_4 = QtGui.QVBoxLayout(self.group_backend_settings)
+ self.verticalLayout_4.setMargin(4)
+ self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
+ self.scrollarea_backend_settings = QtGui.QScrollArea(self.group_backend_settings)
+ self.scrollarea_backend_settings.setWidgetResizable(True)
+ self.scrollarea_backend_settings.setObjectName(_fromUtf8("scrollarea_backend_settings"))
+ self.scrollAreaWidgetContents = QtGui.QWidget()
+ self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 789, 285))
+ self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
+ self.verticalLayout_7 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
+ self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
+ self.group_canvas = QtGui.QGroupBox(self.scrollAreaWidgetContents)
+ self.group_canvas.setObjectName(_fromUtf8("group_canvas"))
+ self.layout_canvas = QtGui.QVBoxLayout(self.group_canvas)
+ self.layout_canvas.setContentsMargins(0, -1, 0, 0)
+ self.layout_canvas.setObjectName(_fromUtf8("layout_canvas"))
+ self.label_canvas = QtGui.QLabel(self.group_canvas)
+ self.label_canvas.setObjectName(_fromUtf8("label_canvas"))
+ self.layout_canvas.addWidget(self.label_canvas)
+ self.verticalLayout_7.addWidget(self.group_canvas)
+ self.group_keyboard = QtGui.QGroupBox(self.scrollAreaWidgetContents)
+ self.group_keyboard.setObjectName(_fromUtf8("group_keyboard"))
+ self.layout_keyboard = QtGui.QVBoxLayout(self.group_keyboard)
+ self.layout_keyboard.setContentsMargins(0, -1, 0, 0)
+ self.layout_keyboard.setObjectName(_fromUtf8("layout_keyboard"))
+ self.label_keyboard = QtGui.QLabel(self.group_keyboard)
+ self.label_keyboard.setObjectName(_fromUtf8("label_keyboard"))
+ self.layout_keyboard.addWidget(self.label_keyboard)
+ self.verticalLayout_7.addWidget(self.group_keyboard)
+ self.group_mouse = QtGui.QGroupBox(self.scrollAreaWidgetContents)
+ self.group_mouse.setObjectName(_fromUtf8("group_mouse"))
+ self.layout_mouse = QtGui.QVBoxLayout(self.group_mouse)
+ self.layout_mouse.setContentsMargins(0, -1, 0, 0)
+ self.layout_mouse.setObjectName(_fromUtf8("layout_mouse"))
+ self.label_mouse = QtGui.QLabel(self.group_mouse)
+ self.label_mouse.setObjectName(_fromUtf8("label_mouse"))
+ self.layout_mouse.addWidget(self.label_mouse)
+ self.verticalLayout_7.addWidget(self.group_mouse)
+ self.group_sampler = QtGui.QGroupBox(self.scrollAreaWidgetContents)
+ self.group_sampler.setObjectName(_fromUtf8("group_sampler"))
+ self.layout_sampler = QtGui.QVBoxLayout(self.group_sampler)
+ self.layout_sampler.setContentsMargins(0, -1, 0, 0)
+ self.layout_sampler.setObjectName(_fromUtf8("layout_sampler"))
+ self.label_sampler = QtGui.QLabel(self.group_sampler)
+ self.label_sampler.setObjectName(_fromUtf8("label_sampler"))
+ self.layout_sampler.addWidget(self.label_sampler)
+ self.verticalLayout_7.addWidget(self.group_sampler)
+ self.group_synth = QtGui.QGroupBox(self.scrollAreaWidgetContents)
+ self.group_synth.setObjectName(_fromUtf8("group_synth"))
+ self.layout_synth = QtGui.QVBoxLayout(self.group_synth)
+ self.layout_synth.setContentsMargins(0, -1, 0, 0)
+ self.layout_synth.setObjectName(_fromUtf8("layout_synth"))
+ self.label_synth = QtGui.QLabel(self.group_synth)
+ self.label_synth.setObjectName(_fromUtf8("label_synth"))
+ self.layout_synth.addWidget(self.label_synth)
+ self.verticalLayout_7.addWidget(self.group_synth)
+ self.scrollarea_backend_settings.setWidget(self.scrollAreaWidgetContents)
+ self.verticalLayout_4.addWidget(self.scrollarea_backend_settings)
+ self.verticalLayout.addWidget(self.group_backend_settings)
+ self.group_script = QtGui.QGroupBox(Form)
+ self.group_script.setCheckable(True)
+ self.group_script.setChecked(False)
+ self.group_script.setObjectName(_fromUtf8("group_script"))
+ self.layout_script = QtGui.QVBoxLayout(self.group_script)
+ self.layout_script.setMargin(4)
+ self.layout_script.setObjectName(_fromUtf8("layout_script"))
+ self.verticalLayout.addWidget(self.group_script)
+ self.spacer = QtGui.QWidget(Form)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
- self.label_2.setSizePolicy(sizePolicy)
- self.label_2.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label_2.setWordWrap(True)
- self.label_2.setObjectName(_fromUtf8("label_2"))
- self.gridLayout_6.addWidget(self.label_2, 2, 0, 1, 2)
- self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.frame_colors)
- self.label_9 = QtGui.QLabel(self.widget)
- self.label_9.setObjectName(_fromUtf8("label_9"))
- self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_9)
- self.frame_font = QtGui.QFrame(self.widget)
- sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.frame_font.sizePolicy().hasHeightForWidth())
- self.frame_font.setSizePolicy(sizePolicy)
- self.frame_font.setFrameShape(QtGui.QFrame.NoFrame)
- self.frame_font.setFrameShadow(QtGui.QFrame.Raised)
- self.frame_font.setObjectName(_fromUtf8("frame_font"))
- self.horizontalLayout_4 = QtGui.QHBoxLayout(self.frame_font)
- self.horizontalLayout_4.setMargin(0)
- self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
- self.widget_font = font_widget(self.frame_font)
- sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.widget_font.sizePolicy().hasHeightForWidth())
- self.widget_font.setSizePolicy(sizePolicy)
- self.widget_font.setMinimumSize(QtCore.QSize(10, 10))
- self.widget_font.setObjectName(_fromUtf8("widget_font"))
- self.horizontalLayout_4.addWidget(self.widget_font)
- self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.frame_font)
- self.label_11 = QtGui.QLabel(self.widget)
- self.label_11.setObjectName(_fromUtf8("label_11"))
- self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_11)
- self.combobox_backend = QtGui.QComboBox(self.widget)
- sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHeightForWidth(self.spacer.sizePolicy().hasHeightForWidth())
+ self.spacer.setSizePolicy(sizePolicy)
+ self.spacer.setObjectName(_fromUtf8("spacer"))
+ self.verticalLayout_2 = QtGui.QVBoxLayout(self.spacer)
+ self.verticalLayout_2.setMargin(0)
+ self.verticalLayout_2.setMargin(0)
+ self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
+ self.widget_2 = QtGui.QWidget(self.spacer)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.combobox_backend.sizePolicy().hasHeightForWidth())
- self.combobox_backend.setSizePolicy(sizePolicy)
- self.combobox_backend.setObjectName(_fromUtf8("combobox_backend"))
- self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.combobox_backend)
- self.frame_advanced = QtGui.QFrame(self.widget)
- sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
+ sizePolicy.setHeightForWidth(self.widget_2.sizePolicy().hasHeightForWidth())
+ self.widget_2.setSizePolicy(sizePolicy)
+ self.widget_2.setObjectName(_fromUtf8("widget_2"))
+ self.verticalLayout_6 = QtGui.QVBoxLayout(self.widget_2)
+ self.verticalLayout_6.setMargin(0)
+ self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
+ spacerItem = QtGui.QSpacerItem(20, 193, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.verticalLayout_6.addItem(spacerItem)
+ self.frame = QtGui.QFrame(self.widget_2)
+ self.frame.setFrameShape(QtGui.QFrame.HLine)
+ self.frame.setFrameShadow(QtGui.QFrame.Raised)
+ self.frame.setObjectName(_fromUtf8("frame"))
+ self.verticalLayout_6.addWidget(self.frame)
+ self.verticalLayout_2.addWidget(self.widget_2)
+ self.widget_3 = QtGui.QWidget(self.spacer)
+ self.widget_3.setObjectName(_fromUtf8("widget_3"))
+ self.horizontalLayout = QtGui.QHBoxLayout(self.widget_3)
+ self.horizontalLayout.setSpacing(0)
+ self.horizontalLayout.setMargin(0)
+ self.horizontalLayout.setMargin(0)
+ self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
+ self.widget_5 = QtGui.QWidget(self.widget_3)
+ self.widget_5.setObjectName(_fromUtf8("widget_5"))
+ self.verticalLayout_3 = QtGui.QVBoxLayout(self.widget_5)
+ self.verticalLayout_3.setSpacing(0)
+ self.verticalLayout_3.setMargin(0)
+ self.verticalLayout_3.setMargin(0)
+ self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
+ self.widget_4 = QtGui.QWidget(self.widget_5)
+ self.widget_4.setObjectName(_fromUtf8("widget_4"))
+ self.horizontalLayout_2 = QtGui.QHBoxLayout(self.widget_4)
+ self.horizontalLayout_2.setSpacing(4)
+ self.horizontalLayout_2.setMargin(0)
+ self.horizontalLayout_2.setMargin(0)
+ self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
+ self.label_facebook = QtGui.QLabel(self.widget_4)
+ self.label_facebook.setObjectName(_fromUtf8("label_facebook"))
+ self.horizontalLayout_2.addWidget(self.label_facebook)
+ self.label_twitter = QtGui.QLabel(self.widget_4)
+ self.label_twitter.setObjectName(_fromUtf8("label_twitter"))
+ self.horizontalLayout_2.addWidget(self.label_twitter)
+ self.label_website = QtGui.QLabel(self.widget_4)
+ self.label_website.setObjectName(_fromUtf8("label_website"))
+ self.horizontalLayout_2.addWidget(self.label_website)
+ self.label_cogscinl = QtGui.QLabel(self.widget_4)
+ self.label_cogscinl.setObjectName(_fromUtf8("label_cogscinl"))
+ self.horizontalLayout_2.addWidget(self.label_cogscinl)
+ spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_2.addItem(spacerItem1)
+ self.verticalLayout_3.addWidget(self.widget_4)
+ self.horizontalLayout.addWidget(self.widget_5)
+ spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout.addItem(spacerItem2)
+ self.label_opensesame = QtGui.QLabel(self.widget_3)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.frame_advanced.sizePolicy().hasHeightForWidth())
- self.frame_advanced.setSizePolicy(sizePolicy)
- self.frame_advanced.setFrameShape(QtGui.QFrame.NoFrame)
- self.frame_advanced.setFrameShadow(QtGui.QFrame.Raised)
- self.frame_advanced.setObjectName(_fromUtf8("frame_advanced"))
- self.horizontalLayout_6 = QtGui.QHBoxLayout(self.frame_advanced)
- self.horizontalLayout_6.setSpacing(0)
- self.horizontalLayout_6.setMargin(0)
- self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
- self.button_backend_settings = QtGui.QCommandLinkButton(self.frame_advanced)
- self.button_backend_settings.setObjectName(_fromUtf8("button_backend_settings"))
- self.horizontalLayout_6.addWidget(self.button_backend_settings)
- self.button_script_editor = QtGui.QCommandLinkButton(self.frame_advanced)
- self.button_script_editor.setObjectName(_fromUtf8("button_script_editor"))
- self.horizontalLayout_6.addWidget(self.button_script_editor)
- self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.frame_advanced)
- self.horizontalLayout_5.addWidget(self.widget)
- self.gridLayout_5.addWidget(self.widget_2, 0, 0, 1, 1)
+ sizePolicy.setHeightForWidth(self.label_opensesame.sizePolicy().hasHeightForWidth())
+ self.label_opensesame.setSizePolicy(sizePolicy)
+ self.label_opensesame.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing)
+ self.label_opensesame.setObjectName(_fromUtf8("label_opensesame"))
+ self.horizontalLayout.addWidget(self.label_opensesame)
+ self.verticalLayout_2.addWidget(self.widget_3)
+ self.verticalLayout.addWidget(self.spacer)
- self.retranslateUi(general_widget)
- QtCore.QMetaObject.connectSlotsByName(general_widget)
+ self.retranslateUi(Form)
+ QtCore.QMetaObject.connectSlotsByName(Form)
- def retranslateUi(self, general_widget):
- general_widget.setWindowTitle(QtGui.QApplication.translate("general_widget", "Form", None, QtGui.QApplication.UnicodeUTF8))
- self.label.setText(QtGui.QApplication.translate("general_widget", "<h3>Back-end</h3>", None, QtGui.QApplication.UnicodeUTF8))
- self.label_3.setText(QtGui.QApplication.translate("general_widget", "<h3>Resolution</h3>", None, QtGui.QApplication.UnicodeUTF8))
- self.spinbox_width.setToolTip(QtGui.QApplication.translate("general_widget", "The display resolution (width) in pixels", None, QtGui.QApplication.UnicodeUTF8))
- self.spinbox_width.setSuffix(QtGui.QApplication.translate("general_widget", "px", None, QtGui.QApplication.UnicodeUTF8))
- self.label_6.setText(QtGui.QApplication.translate("general_widget", "x", None, QtGui.QApplication.UnicodeUTF8))
- self.spinbox_height.setToolTip(QtGui.QApplication.translate("general_widget", "The display resolution (height) in pixels", None, QtGui.QApplication.UnicodeUTF8))
- self.spinbox_height.setSuffix(QtGui.QApplication.translate("general_widget", "px", None, QtGui.QApplication.UnicodeUTF8))
- self.label_8.setText(QtGui.QApplication.translate("general_widget", "<h3>Colors</h3>", None, QtGui.QApplication.UnicodeUTF8))
- self.label_4.setText(QtGui.QApplication.translate("general_widget", "Foreground", None, QtGui.QApplication.UnicodeUTF8))
- self.label_5.setText(QtGui.QApplication.translate("general_widget", "Background", None, QtGui.QApplication.UnicodeUTF8))
- self.label_2.setText(QtGui.QApplication.translate("general_widget", "<small><i>Examples: \'white\', \'#FFFFFF\'</i></small>", None, QtGui.QApplication.UnicodeUTF8))
- self.label_9.setText(QtGui.QApplication.translate("general_widget", "<h3>Font</h3>", None, QtGui.QApplication.UnicodeUTF8))
- self.label_11.setText(QtGui.QApplication.translate("general_widget", "<h3>Advanced</h3>", None, QtGui.QApplication.UnicodeUTF8))
- self.button_backend_settings.setText(QtGui.QApplication.translate("general_widget", "Back-end settings", None, QtGui.QApplication.UnicodeUTF8))
- self.button_script_editor.setText(QtGui.QApplication.translate("general_widget", "Script editor", None, QtGui.QApplication.UnicodeUTF8))
+ def retranslateUi(self, Form):
+ Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_2.setText(QtGui.QApplication.translate("Form", "Display width<br />\n"
+"<small><i>In pixels</i></small>", None, QtGui.QApplication.UnicodeUTF8))
+ self.combobox_start.setToolTip(QtGui.QApplication.translate("Form", "This is item (typically a sequence) is the starting point for your experiment.", None, QtGui.QApplication.UnicodeUTF8))
+ self.label.setText(QtGui.QApplication.translate("Form", "Entry point<br />\n"
+"<small><i>First item to run</i></small>", None, QtGui.QApplication.UnicodeUTF8))
+ self.spinbox_width.setToolTip(QtGui.QApplication.translate("Form", "The display resolution (width) in pixels", None, QtGui.QApplication.UnicodeUTF8))
+ self.spinbox_width.setSuffix(QtGui.QApplication.translate("Form", "px", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_4.setText(QtGui.QApplication.translate("Form", "Default foreground color<br />\n"
+"<small><i>E.g., \"white\" or \"#ffffff\"</i></small>", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_8.setText(QtGui.QApplication.translate("Form", "Back-end<br />\n"
+"<small><i>Handles display, sound, and input</i></small>", None, QtGui.QApplication.UnicodeUTF8))
+ self.spinbox_height.setToolTip(QtGui.QApplication.translate("Form", "The display resolution (height) in pixels", None, QtGui.QApplication.UnicodeUTF8))
+ self.spinbox_height.setSuffix(QtGui.QApplication.translate("Form", "px", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_5.setText(QtGui.QApplication.translate("Form", "Default background color<br />\n"
+"<small><i>E.g., \"black\" or \"#000000\"</i></small>", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_3.setText(QtGui.QApplication.translate("Form", "Display height<br />\n"
+"<small><i>In pixels</i></small>", None, QtGui.QApplication.UnicodeUTF8))
+ self.group_backend_settings.setTitle(QtGui.QApplication.translate("Form", "Show back-end settings and info", None, QtGui.QApplication.UnicodeUTF8))
+ self.group_canvas.setTitle(QtGui.QApplication.translate("Form", "Canvas", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_canvas.setText(QtGui.QApplication.translate("Form", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+ self.group_keyboard.setTitle(QtGui.QApplication.translate("Form", "Keyboard", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_keyboard.setText(QtGui.QApplication.translate("Form", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+ self.group_mouse.setTitle(QtGui.QApplication.translate("Form", "Mouse", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_mouse.setText(QtGui.QApplication.translate("Form", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+ self.group_sampler.setTitle(QtGui.QApplication.translate("Form", "Sampler", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_sampler.setText(QtGui.QApplication.translate("Form", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+ self.group_synth.setTitle(QtGui.QApplication.translate("Form", "Synth", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_synth.setText(QtGui.QApplication.translate("Form", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+ self.group_script.setTitle(QtGui.QApplication.translate("Form", "Show script editor", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_facebook.setToolTip(QtGui.QApplication.translate("Form", "Visit Facebook page", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_facebook.setText(QtGui.QApplication.translate("Form", "F", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_twitter.setToolTip(QtGui.QApplication.translate("Form", "Visit Twitter page", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_twitter.setText(QtGui.QApplication.translate("Form", "T", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_website.setToolTip(QtGui.QApplication.translate("Form", "Visit cogsci.nl", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_website.setText(QtGui.QApplication.translate("Form", "H", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_cogscinl.setText(QtGui.QApplication.translate("Form", "<html><head/><body><p>COGSCIdotNL // cognitive science and more</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_opensesame.setText(QtGui.QApplication.translate("Form", "OpenSesame [version] [codename]\n"
+"Copyright Sebastiaan Mathôt (2010-2012)", None, QtGui.QApplication.UnicodeUTF8))
-from libqtopensesame.widgets.credits_widget import credits_widget
-from libqtopensesame.widgets.font_widget import font_widget
-from libqtopensesame.widgets.color_edit import color_edit
View
125 libqtopensesame/ui/loop_widget_ui.py
@@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'resources/ui/loop_widget.ui'
#
-# Created: Mon Jul 9 13:58:21 2012
+# Created: Sat Mar 31 16:00:41 2012
# by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!
@@ -17,70 +17,11 @@
class Ui_loop_widget(object):
def setupUi(self, loop_widget):
loop_widget.setObjectName(_fromUtf8("loop_widget"))
- loop_widget.resize(811, 318)
+ loop_widget.resize(760, 159)
self.gridLayout = QtGui.QGridLayout(loop_widget)
self.gridLayout.setMargin(0)
self.gridLayout.setVerticalSpacing(8)
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
- self.widget_buttons = QtGui.QWidget(loop_widget)
- self.widget_buttons.setObjectName(_fromUtf8("widget_buttons"))
- self.horizontalLayout = QtGui.QHBoxLayout(self.widget_buttons)
- self.horizontalLayout.setMargin(0)
- self.horizontalLayout.setMargin(0)
- self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
- self.button_add_cyclevar = QtGui.QPushButton(self.widget_buttons)
- self.button_add_cyclevar.setIconSize(QtCore.QSize(16, 16))
- self.button_add_cyclevar.setObjectName(_fromUtf8("button_add_cyclevar"))
- self.horizontalLayout.addWidget(self.button_add_cyclevar)
- self.button_rename_cyclevar = QtGui.QPushButton(self.widget_buttons)
- self.button_rename_cyclevar.setIconSize(QtCore.QSize(16, 16))
- self.button_rename_cyclevar.setObjectName(_fromUtf8("button_rename_cyclevar"))
- self.horizontalLayout.addWidget(self.button_rename_cyclevar)
- self.button_remove_cyclevar = QtGui.QPushButton(self.widget_buttons)
- self.button_remove_cyclevar.setIconSize(QtCore.QSize(16, 16))
- self.button_remove_cyclevar.setObjectName(_fromUtf8("button_remove_cyclevar"))
- self.horizontalLayout.addWidget(self.button_remove_cyclevar)
- spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
- self.button_wizard = QtGui.QPushButton(self.widget_buttons)
- self.button_wizard.setIconSize(QtCore.QSize(16, 16))
- self.button_wizard.setObjectName(_fromUtf8("button_wizard"))
- self.horizontalLayout.addWidget(self.button_wizard)
- self.gridLayout.addWidget(self.widget_buttons, 6, 0, 1, 1)
- self.frame = QtGui.QFrame(loop_widget)
- self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
- self.frame.setFrameShadow(QtGui.QFrame.Raised)
- self.frame.setObjectName(_fromUtf8("frame"))
- self.verticalLayout = QtGui.QVBoxLayout(self.frame)
- self.verticalLayout.setMargin(4)
- self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
- self.checkbox_advanced = QtGui.QCheckBox(self.frame)
- self.checkbox_advanced.setObjectName(_fromUtf8("checkbox_advanced"))
- self.verticalLayout.addWidget(self.checkbox_advanced)
- self.widget_advanced = QtGui.QWidget(self.frame)
- self.widget_advanced.setObjectName(_fromUtf8("widget_advanced"))
- self.gridLayout_3 = QtGui.QGridLayout(self.widget_advanced)
- self.gridLayout_3.setMargin(0)
- self.gridLayout_3.setMargin(0)
- self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
- self.spin_skip = QtGui.QSpinBox(self.widget_advanced)
- self.spin_skip.setMaximum(10000)
- self.spin_skip.setObjectName(_fromUtf8("spin_skip"))
- self.gridLayout_3.addWidget(self.spin_skip, 1, 1, 1, 1)
- self.label_skip = QtGui.QLabel(self.widget_advanced)
- self.label_skip.setObjectName(_fromUtf8("label_skip"))
- self.gridLayout_3.addWidget(self.label_skip, 1, 0, 1, 1)
- self.label = QtGui.QLabel(self.widget_advanced)
- self.label.setObjectName(_fromUtf8("label"))
- self.gridLayout_3.addWidget(self.label, 0, 0, 1, 1)
- self.edit_break_if = QtGui.QLineEdit(self.widget_advanced)
- self.edit_break_if.setObjectName(_fromUtf8("edit_break_if"))
- self.gridLayout_3.addWidget(self.edit_break_if, 0, 1, 1, 1)
- self.checkbox_offset = QtGui.QCheckBox(self.widget_advanced)
- self.checkbox_offset.setObjectName(_fromUtf8("checkbox_offset"))
- self.gridLayout_3.addWidget(self.checkbox_offset, 2, 0, 1, 2)
- self.verticalLayout.addWidget(self.widget_advanced)
- self.gridLayout.addWidget(self.frame, 2, 0, 1, 1)
self.widget_options = QtGui.QWidget(loop_widget)
self.widget_options.setObjectName(_fromUtf8("widget_options"))
self.gridLayout_2 = QtGui.QGridLayout(self.widget_options)
@@ -105,17 +46,52 @@ def setupUi(self, loop_widget):
self.label_order.setObjectName(_fromUtf8("label_order"))
self.gridLayout_2.addWidget(self.label_order, 0, 2, 1, 1)
self.spin_cycles = QtGui.QSpinBox(self.widget_options)
- self.spin_cycles.setMaximum(10000000)
+ self.spin_cycles.setMaximum(10000)
self.spin_cycles.setObjectName(_fromUtf8("spin_cycles"))
self.gridLayout_2.addWidget(self.spin_cycles, 3, 1, 1, 1)
self.label_repeat = QtGui.QLabel(self.widget_options)
self.label_repeat.setObjectName(_fromUtf8("label_repeat"))
- self.gridLayout_2.addWidget(self.label_repeat, 3, 2, 1, 1)
+ self.gridLayout_2.addWidget(self.label_repeat, 4, 0, 1, 1)
self.spin_repeat = QtGui.QDoubleSpinBox(self.widget_options)
- self.spin_repeat.setMaximum(100000.0)
+ self.spin_repeat.setMaximum(10000.0)
self.spin_repeat.setObjectName(_fromUtf8("spin_repeat"))
- self.gridLayout_2.addWidget(self.spin_repeat, 3, 3, 1, 1)
+ self.gridLayout_2.addWidget(self.spin_repeat, 4, 1, 1, 1)
+ self.label_skip = QtGui.QLabel(self.widget_options)
+ self.label_skip.setObjectName(_fromUtf8("label_skip"))
+ self.gridLayout_2.addWidget(self.label_skip, 3, 2, 1, 1)
+ self.spin_skip = QtGui.QSpinBox(self.widget_options)
+ self.spin_skip.setMaximum(10000)
+ self.spin_skip.setObjectName(_fromUtf8("spin_skip"))
+ self.gridLayout_2.addWidget(self.spin_skip, 3, 3, 1, 1)
+ self.checkbox_offset = QtGui.QCheckBox(self.widget_options)
+ self.checkbox_offset.setObjectName(_fromUtf8("checkbox_offset"))
+ self.gridLayout_2.addWidget(self.checkbox_offset, 4, 2, 1, 2)
self.gridLayout.addWidget(self.widget_options, 0, 0, 1, 1)
+ self.widget_buttons = QtGui.QWidget(loop_widget)
+ self.widget_buttons.setObjectName(_fromUtf8("widget_buttons"))
+ self.horizontalLayout = QtGui.QHBoxLayout(self.widget_buttons)
+ self.horizontalLayout.setMargin(0)
+ self.horizontalLayout.setMargin(0)
+ self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
+ self.button_add_cyclevar = QtGui.QPushButton(self.widget_buttons)
+ self.button_add_cyclevar.setIconSize(QtCore.QSize(16, 16))
+ self.button_add_cyclevar.setObjectName(_fromUtf8("button_add_cyclevar"))
+ self.horizontalLayout.addWidget(self.button_add_cyclevar)
+ self.button_rename_cyclevar = QtGui.QPushButton(self.widget_buttons)
+ self.button_rename_cyclevar.setIconSize(QtCore.QSize(16, 16))
+ self.button_rename_cyclevar.setObjectName(_fromUtf8("button_rename_cyclevar"))
+ self.horizontalLayout.addWidget(self.button_rename_cyclevar)
+ self.button_remove_cyclevar = QtGui.QPushButton(self.widget_buttons)
+ self.button_remove_cyclevar.setIconSize(QtCore.QSize(16, 16))
+ self.button_remove_cyclevar.setObjectName(_fromUtf8("button_remove_cyclevar"))
+ self.horizontalLayout.addWidget(self.button_remove_cyclevar)
+ spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout.addItem(spacerItem)
+ self.button_wizard = QtGui.QPushButton(self.widget_buttons)
+ self.button_wizard.setIconSize(QtCore.QSize(16, 16))
+ self.button_wizard.setObjectName(_fromUtf8("button_wizard"))
+ self.horizontalLayout.addWidget(self.button_wizard)
+ self.gridLayout.addWidget(self.widget_buttons, 3, 0, 1, 1)
self.frame_summary = QtGui.QFrame(loop_widget)
self.frame_summary.setFrameShape(QtGui.QFrame.StyledPanel)
self.frame_summary.setFrameShadow(QtGui.QFrame.Raised)
@@ -137,21 +113,10 @@ def setupUi(self, loop_widget):
self.gridLayout.addWidget(self.frame_summary, 1, 0, 1, 1)
self.retranslateUi(loop_widget)
- QtCore.QObject.connect(self.checkbox_advanced, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.widget_advanced.setVisible)
QtCore.QMetaObject.connectSlotsByName(loop_widget)
def retranslateUi(self, loop_widget):
loop_widget.setWindowTitle(QtGui.QApplication.translate("loop_widget", "Form", None, QtGui.QApplication.UnicodeUTF8))
- self.button_add_cyclevar.setText(QtGui.QApplication.translate("loop_widget", "Add variable", None, QtGui.QApplication.UnicodeUTF8))
- self.button_rename_cyclevar.setText(QtGui.QApplication.translate("loop_widget", "Rename variable", None, QtGui.QApplication.UnicodeUTF8))
- self.button_remove_cyclevar.setText(QtGui.QApplication.translate("loop_widget", "Remove variable", None, QtGui.QApplication.UnicodeUTF8))
- self.button_wizard.setText(QtGui.QApplication.translate("loop_widget", "Variable wizard", None, QtGui.QApplication.UnicodeUTF8))
- self.checkbox_advanced.setText(QtGui.QApplication.translate("loop_widget", "Show advanced options", None, QtGui.QApplication.UnicodeUTF8))
- self.spin_skip.setSuffix(QtGui.QApplication.translate("loop_widget", " cycle(s)", None, QtGui.QApplication.UnicodeUTF8))
- self.spin_skip.setPrefix(QtGui.QApplication.translate("loop_widget", "first ", None, QtGui.QApplication.UnicodeUTF8))
- self.label_skip.setText(QtGui.QApplication.translate("loop_widget", "At loop start, skip the", None, QtGui.QApplication.UnicodeUTF8))
- self.label.setText(QtGui.QApplication.translate("loop_widget", "Break if", None, QtGui.QApplication.UnicodeUTF8))
- self.checkbox_offset.setText(QtGui.QApplication.translate("loop_widget", "Run skipped cycles at end of loop (offset mode)", None, QtGui.QApplication.UnicodeUTF8))
self.label_item.setText(QtGui.QApplication.translate("loop_widget", "Item to run", None, QtGui.QApplication.UnicodeUTF8))
self.label_cycles.setText(QtGui.QApplication.translate("loop_widget", "Cycles", None, QtGui.QApplication.UnicodeUTF8))
self.combobox_order.setItemText(0, QtGui.QApplication.translate("loop_widget", "random", None, QtGui.QApplication.UnicodeUTF8))
@@ -160,6 +125,14 @@ def retranslateUi(self, loop_widget):
self.label_repeat.setText(QtGui.QApplication.translate("loop_widget", "Repeat", None, QtGui.QApplication.UnicodeUTF8))
self.spin_repeat.setPrefix(QtGui.QApplication.translate("loop_widget", "each cycle ", None, QtGui.QApplication.UnicodeUTF8))
self.spin_repeat.setSuffix(QtGui.QApplication.translate("loop_widget", " time(s)", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_skip.setText(QtGui.QApplication.translate("loop_widget", "At loop start, skip the", None, QtGui.QApplication.UnicodeUTF8))
+ self.spin_skip.setSuffix(QtGui.QApplication.translate("loop_widget", " cycle(s)", None, QtGui.QApplication.UnicodeUTF8))
+ self.spin_skip.setPrefix(QtGui.QApplication.translate("loop_widget", "first ", None, QtGui.QApplication.UnicodeUTF8))
+ self.checkbox_offset.setText(QtGui.QApplication.translate("loop_widget", "Run skipped cycles at end of loop (offset mode)", None, QtGui.QApplication.UnicodeUTF8))
+ self.button_add_cyclevar.setText(QtGui.QApplication.translate("loop_widget", "Add variable", None, QtGui.QApplication.UnicodeUTF8))
+ self.button_rename_cyclevar.setText(QtGui.QApplication.translate("loop_widget", "Rename variable", None, QtGui.QApplication.UnicodeUTF8))
+ self.button_remove_cyclevar.setText(QtGui.QApplication.translate("loop_widget", "Remove variable", None, QtGui.QApplication.UnicodeUTF8))
+ self.button_wizard.setText(QtGui.QApplication.translate("loop_widget", "Variable wizard", None, QtGui.QApplication.UnicodeUTF8))
self.label_info.setText(QtGui.QApplication.translate("loop_widget", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
self.label_summary.setText(QtGui.QApplication.translate("loop_widget", "Automatic summary", None, QtGui.QApplication.UnicodeUTF8))
View
110 libqtopensesame/ui/loop_wizard_dialog_ui.py
@@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'resources/ui/loop_wizard_dialog.ui'
#
-# Created: Mon Jul 9 13:58:20 2012
+# Created: Sat Mar 31 16:00:41 2012
# by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!
@@ -14,13 +14,13 @@
except AttributeError:
_fromUtf8 = lambda s: s
-class Ui_loop_wizard_dialog(object):
- def setupUi(self, loop_wizard_dialog):
- loop_wizard_dialog.setObjectName(_fromUtf8("loop_wizard_dialog"))
- loop_wizard_dialog.resize(478, 471)
- self.verticalLayout = QtGui.QVBoxLayout(loop_wizard_dialog)
+class Ui_Dialog(object):
+ def setupUi(self, Dialog):
+ Dialog.setObjectName(_fromUtf8("Dialog"))
+ Dialog.resize(442, 426)
+ self.verticalLayout = QtGui.QVBoxLayout(Dialog)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
- self.widget = QtGui.QWidget(loop_wizard_dialog)
+ self.widget = QtGui.QWidget(Dialog)
self.widget.setObjectName(_fromUtf8("widget"))
self.horizontalLayout = QtGui.QHBoxLayout(self.widget)
self.horizontalLayout.setMargin(0)
@@ -41,7 +41,7 @@ def setupUi(self, loop_wizard_dialog):
self.label_2.setObjectName(_fromUtf8("label_2"))
self.horizontalLayout.addWidget(self.label_2)
self.verticalLayout.addWidget(self.widget)
- self.widget_2 = QtGui.QWidget(loop_wizard_dialog)
+ self.widget_2 = QtGui.QWidget(Dialog)
self.widget_2.setObjectName(_fromUtf8("widget_2"))
self.horizontalLayout_2 = QtGui.QHBoxLayout(self.widget_2)
self.horizontalLayout_2.setMargin(0)
@@ -53,7 +53,7 @@ def setupUi(self, loop_wizard_dialog):
spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem)
self.verticalLayout.addWidget(self.widget_2)
- self.table_example = good_looking_table(loop_wizard_dialog)
+ self.table_example = good_looking_table(Dialog)
self.table_example.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
self.table_example.setGridStyle(QtCore.Qt.DotLine)
self.table_example.setObjectName(_fromUtf8("table_example"))
@@ -128,98 +128,104 @@ def setupUi(self, loop_wizard_dialog):
self.table_example.horizontalHeader().setVisible(False)
self.table_example.verticalHeader().setVisible(False)
self.verticalLayout.addWidget(self.table_example)
- self.table_wizard = good_looking_table(loop_wizard_dialog)
+ self.table_wizard = good_looking_table(Dialog)
self.table_wizard.setGridStyle(QtCore.Qt.DotLine)
self.table_wizard.setObjectName(_fromUtf8("table_wizard"))
self.table_wizard.setColumnCount(0)
self.table_wizard.setRowCount(0)
self.table_wizard.horizontalHeader().setVisible(False)
self.table_wizard.verticalHeader().setVisible(False)
self.verticalLayout.addWidget(self.table_wizard)
- self.buttonBox = QtGui.QDialogButtonBox(loop_wizard_dialog)
+ self.buttonBox = QtGui.QDialogButtonBox(Dialog)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.verticalLayout.addWidget(self.buttonBox)
- self.retranslateUi(loop_wizard_dialog)
- QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), loop_wizard_dialog.accept)
- QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), loop_wizard_dialog.reject)
+ self.retranslateUi(Dialog)
+ QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept)
+ QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject)
QtCore.QObject.connect(self.checkBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.table_example.setVisible)
- QtCore.QMetaObject.connectSlotsByName(loop_wizard_dialog)
+ QtCore.QMetaObject.connectSlotsByName(Dialog)
- def retranslateUi(self, loop_wizard_dialog):
- loop_wizard_dialog.setWindowTitle(QtGui.QApplication.translate("loop_wizard_dialog", "Loop Variable Wizard", None, QtGui.QApplication.UnicodeUTF8))
- self.label_2.setText(QtGui.QApplication.translate("loop_wizard_dialog", "<b>Loop variable wizard</b><br /><small>Enter the names of the variables (factors) in the first row in the table below. Under the variable names, enter the levels of the variables.<br /><i>Note: This will overwrite the current loop table</i></small>", None, QtGui.QApplication.UnicodeUTF8))
- self.checkBox.setText(QtGui.QApplication.translate("loop_wizard_dialog", "Show example", None, QtGui.QApplication.UnicodeUTF8))
+ def retranslateUi(self, Dialog):
+ Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Loop Variable Wizard", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_2.setText(QtGui.QApplication.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:9pt; 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-weight:600;\">Loop variable wizard</span></p>\n"
+"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Enter the names of the variables (factors) in the first row in the table below. Under the variable names, enter the levels of the variables.</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-style:italic;\">Note: This will overwrite the current loop table</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+ self.checkBox.setText(QtGui.QApplication.translate("Dialog", "Show example", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.verticalHeaderItem(0)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.verticalHeaderItem(1)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.verticalHeaderItem(2)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.verticalHeaderItem(3)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.verticalHeaderItem(4)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.verticalHeaderItem(5)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.verticalHeaderItem(6)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.verticalHeaderItem(7)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.verticalHeaderItem(8)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.verticalHeaderItem(9)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.verticalHeaderItem(10)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.verticalHeaderItem(11)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Row", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.horizontalHeaderItem(0)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Column", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Column", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.horizontalHeaderItem(1)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Column", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Column", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.horizontalHeaderItem(2)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Column", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Column", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.horizontalHeaderItem(3)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Column", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Column", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.horizontalHeaderItem(4)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Column", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Column", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.horizontalHeaderItem(5)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Column", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Column", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.horizontalHeaderItem(6)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Column", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Column", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.horizontalHeaderItem(7)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Column", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Column", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.horizontalHeaderItem(8)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Column", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Column", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.horizontalHeaderItem(9)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "New Column", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "New Column", None, QtGui.QApplication.UnicodeUTF8))
__sortingEnabled = self.table_example.isSortingEnabled()
self.table_example.setSortingEnabled(False)
item = self.table_example.item(0, 0)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "soa", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "soa", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.item(0, 1)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "target", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "target", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.item(0, 2)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "cue", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "cue", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.item(1, 0)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "0", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "0", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.item(1, 1)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "left", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "left", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.item(1, 2)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "left", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "left", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.item(2, 0)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "100", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "100", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.item(2, 1)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "right", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "right", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.item(2, 2)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "right", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "right", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.item(3, 0)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "500", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "500", None, QtGui.QApplication.UnicodeUTF8))
item = self.table_example.item(4, 0)
- item.setText(QtGui.QApplication.translate("loop_wizard_dialog", "1000", None, QtGui.QApplication.UnicodeUTF8))
+ item.setText(QtGui.QApplication.translate("Dialog", "1000", None, QtGui.QApplication.UnicodeUTF8))
self.table_example.setSortingEnabled(__sortingEnabled)
from good_looking_table import good_looking_table
View
40 libqtopensesame/ui/new_loop_sequence_ui.py
@@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'resources/ui/new_loop_sequence.ui'
#
-# Created: Mon Jul 9 13:58:21 2012
+# Created: Sat Mar 31 16:00:41 2012
# by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!
@@ -14,13 +14,13 @@
except AttributeError:
_fromUtf8 = lambda s: s
-class Ui_new_loop_sequence_dialog(object):
- def setupUi(self, new_loop_sequence_dialog):
- new_loop_sequence_dialog.setObjectName(_fromUtf8("new_loop_sequence_dialog"))
- new_loop_sequence_dialog.resize(411, 197)
- self.verticalLayout = QtGui.QVBoxLayout(new_loop_sequence_dialog)
+class Ui_Dialog(object):
+ def setupUi(self, Dialog):
+ Dialog.setObjectName(_fromUtf8("Dialog"))
+ Dialog.resize(411, 197)
+ self.verticalLayout = QtGui.QVBoxLayout(Dialog)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
- self.widget_3 = QtGui.QWidget(new_loop_sequence_dialog)
+ self.widget_3 = QtGui.QWidget(Dialog)
self.widget_3.setObjectName(_fromUtf8("widget_3"))
self.horizontalLayout_3 = QtGui.QHBoxLayout(self.widget_3)
self.horizontalLayout_3.setMargin(0)
@@ -43,7 +43,7 @@ def setupUi(self, new_loop_sequence_dialog):
self.verticalLayout.addWidget(self.widget_3)
spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem)
- self.widget_2 = QtGui.QWidget(new_loop_sequence_dialog)
+ self.widget_2 = QtGui.QWidget(Dialog)
self.widget_2.setObjectName(_fromUtf8("widget_2"))
self.horizontalLayout = QtGui.QHBoxLayout(self.widget_2)
self.horizontalLayout.setSpacing(12)
@@ -83,7 +83,7 @@ def setupUi(self, new_loop_sequence_dialog):
self.verticalLayout_3.addWidget(self.button_select)
self.horizontalLayout.addWidget(self.groupBox_2)
self.verticalLayout.addWidget(self.widget_2)
- self.widget = QtGui.QWidget(new_loop_sequence_dialog)
+ self.widget = QtGui.QWidget(Dialog)
self.widget.setObjectName(_fromUtf8("widget"))
self.horizontalLayout_2 = QtGui.QHBoxLayout(self.widget)
self.horizontalLayout_2.setMargin(0)
@@ -100,17 +100,17 @@ def setupUi(self, new_loop_sequence_dialog):
self.horizontalLayout_2.addWidget(self.button_cancel)
self.verticalLayout.addWidget(self.widget)
- self.retranslateUi(new_loop_sequence_dialog)
- QtCore.QObject.connect(self.button_cancel, QtCore.SIGNAL(_fromUtf8("clicked()")), new_loop_sequence_dialog.accept)
- QtCore.QMetaObject.connectSlotsByName(new_loop_sequence_dialog)
+ self.retranslateUi(Dialog)
+ QtCore.QObject.connect(self.button_cancel, QtCore.SIGNAL(_fromUtf8("clicked()")), Dialog.accept)
+ QtCore.QMetaObject.connectSlotsByName(Dialog)
- def retranslateUi(self, new_loop_sequence_dialog):
- new_loop_sequence_dialog.setWindowTitle(QtGui.QApplication.translate("new_loop_sequence_dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
- self.label_explanation.setText(QtGui.QApplication.translate("new_loop_sequence_dialog", "Explanation\n"
+ def retranslateUi(self, Dialog):
+ Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_explanation.setText(QtGui.QApplication.translate("Dialog", "Explanation\n"
"", None, QtGui.QApplication.UnicodeUTF8))
- self.groupBox.setTitle(QtGui.QApplication.translate("new_loop_sequence_dialog", "Create new item to use", None, QtGui.QApplication.UnicodeUTF8))
- self.button_new.setText(QtGui.QApplication.translate("new_loop_sequence_dialog", "Create", None, QtGui.QApplication.UnicodeUTF8))
- self.groupBox_2.setTitle(QtGui.QApplication.translate("new_loop_sequence_dialog", "Select existing item to use", None, QtGui.QApplication.UnicodeUTF8))
- self.button_select.setText(QtGui.QApplication.translate("new_loop_sequence_dialog", "Select", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cancel.setText(QtGui.QApplication.translate("new_loop_sequence_dialog", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
+ self.groupBox.setTitle(QtGui.QApplication.translate("Dialog", "Create new item to use", None, QtGui.QApplication.UnicodeUTF8))
+ self.button_new.setText(QtGui.QApplication.translate("Dialog", "Create", None, QtGui.QApplication.UnicodeUTF8))
+ self.groupBox_2.setTitle(QtGui.QApplication.translate("Dialog", "Select existing item to use", None, QtGui.QApplication.UnicodeUTF8))
+ self.button_select.setText(QtGui.QApplication.translate("Dialog", "Select", None, QtGui.QApplication.UnicodeUTF8))
+ self.button_cancel.setText(QtGui.QApplication.translate("Dialog", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
View
105 libqtopensesame/ui/noise_patch_dialog_ui.py
@@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'resources/ui/noise_patch_dialog.ui'
#
-# Created: Tue Jul 17 12:45:45 2012
+# Created: Sat Mar 31 16:00:41 2012
# by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!
@@ -14,25 +14,26 @@
except AttributeError:
_fromUtf8 = lambda s: s
-class Ui_noise_patch_dialog(object):
- def setupUi(self, noise_patch_dialog):
- noise_patch_dialog.setObjectName(_fromUtf8("noise_patch_dialog"))
- noise_patch_dialog.resize(476, 384)
- self.verticalLayout = QtGui.QVBoxLayout(noise_patch_dialog)
+class Ui_Dialog(object):
+ def setupUi(self, Dialog):
+ Dialog.setObjectName(_fromUtf8("Dialog"))
+ Dialog.resize(476, 384)
+ self.verticalLayout = QtGui.QVBoxLayout(Dialog)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
- self.widget_header_box = QtGui.QWidget(noise_patch_dialog)
+ self.widget_2 = QtGui.QWidget(Dialog)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.widget_header_box.sizePolicy().hasHeightForWidth())
- self.widget_header_box.setSizePolicy(sizePolicy)
- self.widget_header_box.setObjectName(_fromUtf8("widget_header_box"))
- self.horizontalLayout = QtGui.QHBoxLayout(self.widget_header_box)
- self.horizontalLayout.setSpacing(0)
+ sizePolicy.setHeightForWidth(self.widget_2.sizePolicy().hasHeightForWidth())
+ self.widget_2.setSizePolicy(sizePolicy)
+ self.widget_2.setStyleSheet(_fromUtf8("background-color: #4e9a06;\n"
+"color: rgb(255, 255, 255);"))
+ self.widget_2.setObjectName(_fromUtf8("widget_2"))
+ self.horizontalLayout = QtGui.QHBoxLayout(self.widget_2)
self.horizontalLayout.setMargin(5)
self.horizontalLayout.setMargin(0)
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
- self.label_noise_patch = QtGui.QLabel(self.widget_header_box)
+ self.label_noise_patch = QtGui.QLabel(self.widget_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -42,16 +43,16 @@ def setupUi(self, noise_patch_dialog):
self.label_noise_patch.setPixmap(QtGui.QPixmap(_fromUtf8(":/icons/noise_patch.png")))
self.label_noise_patch.setObjectName(_fromUtf8("label_noise_patch"))
self.horizontalLayout.addWidget(self.label_noise_patch)
- self.label_2 = QtGui.QLabel(self.widget_header_box)
+ self.label_2 = QtGui.QLabel(self.widget_2)
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.label_2.setFont(font)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.horizontalLayout.addWidget(self.label_2)
- self.verticalLayout.addWidget(self.widget_header_box)
- self.widget = QtGui.QWidget(noise_patch_dialog)
+ self.verticalLayout.addWidget(self.widget_2)
+ self.widget = QtGui.QWidget(Dialog)
font = QtGui.QFont()
font.setPointSize(8)
self.widget.setFont(font)
@@ -112,7 +113,7 @@ def setupUi(self, noise_patch_dialog):
self.label_4.setObjectName(_fromUtf8("label_4"))
self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_4)
self.verticalLayout.addWidget(self.widget)
- self.widget_3 = QtGui.QWidget(noise_patch_dialog)
+ self.widget_3 = QtGui.QWidget(Dialog)
self.widget_3.setObjectName(_fromUtf8("widget_3"))
self.verticalLayout_2 = QtGui.QVBoxLayout(self.widget_3)
self.verticalLayout_2.setMargin(0)
@@ -126,36 +127,56 @@ def setupUi(self, noise_patch_dialog):
self.label_12.setObjectName(_fromUtf8("label_12"))
self.verticalLayout_2.addWidget(self.label_12)
self.verticalLayout.addWidget(self.widget_3)
- self.buttonBox = QtGui.QDialogButtonBox(noise_patch_dialog)
+ self.buttonBox = QtGui.QDialogButtonBox(Dialog)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
self.buttonBox.setCenterButtons(False)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.verticalLayout.addWidget(self.buttonBox)
- self.retranslateUi(noise_patch_dialog)
- QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), noise_patch_dialog.accept)
- QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), noise_patch_dialog.reject)
- QtCore.QMetaObject.connectSlotsByName(noise_patch_dialog)
+ self.retranslateUi(Dialog)
+ QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept)
+ QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject)
+ QtCore.QMetaObject.connectSlotsByName(Dialog)
- def retranslateUi(self, noise_patch_dialog):
- noise_patch_dialog.setWindowTitle(QtGui.QApplication.translate("noise_patch_dialog", "Insert noise patch", None, QtGui.QApplication.UnicodeUTF8))
- self.label_2.setText(QtGui.QApplication.translate("noise_patch_dialog", "Insert noise patch", None, QtGui.QApplication.UnicodeUTF8))
- self.spin_size.setSuffix(QtGui.QApplication.translate("noise_patch_dialog", "px", None, QtGui.QApplication.UnicodeUTF8))
- self.label_5.setText(QtGui.QApplication.translate("noise_patch_dialog", "Envelope", None, QtGui.QApplication.UnicodeUTF8))
- self.combobox_env.setItemText(0, QtGui.QApplication.translate("noise_patch_dialog", "gaussian", None, QtGui.QApplication.UnicodeUTF8))
- self.combobox_env.setItemText(1, QtGui.QApplication.translate("noise_patch_dialog", "linear", None, QtGui.QApplication.UnicodeUTF8))
- self.combobox_env.setItemText(2, QtGui.QApplication.translate("noise_patch_dialog", "circular (sharp edge)", None, QtGui.QApplication.UnicodeUTF8))
- self.combobox_env.setItemText(3, QtGui.QApplication.translate("noise_patch_dialog", "rectangle (no envelope)", None, QtGui.QApplication.UnicodeUTF8))
- self.label_6.setText(QtGui.QApplication.translate("noise_patch_dialog", "Standard deviation<br /><i>in pixels, only applies to Gaussian envelope</i>", None, QtGui.QApplication.UnicodeUTF8))
- self.spin_stdev.setSuffix(QtGui.QApplication.translate("noise_patch_dialog", "px", None, QtGui.QApplication.UnicodeUTF8))
- self.label_10.setText(QtGui.QApplication.translate("noise_patch_dialog", "Color 1<br /><i>e.g., \'white\' or \'#FFFFFF\'</i>", None, QtGui.QApplication.UnicodeUTF8))
- self.edit_color1.setText(QtGui.QApplication.translate("noise_patch_dialog", "white", None, QtGui.QApplication.UnicodeUTF8))
- self.label_9.setText(QtGui.QApplication.translate("noise_patch_dialog", "Color 2<br /><i>e.g., \'black\' or \'#000000\'</i>", None, QtGui.QApplication.UnicodeUTF8))
- self.edit_color2.setText(QtGui.QApplication.translate("noise_patch_dialog", "black", None, QtGui.QApplication.UnicodeUTF8))
- self.label_11.setText(QtGui.QApplication.translate("noise_patch_dialog", "Background color *", None, QtGui.QApplication.UnicodeUTF8))
- self.combobox_bgmode.setItemText(0, QtGui.QApplication.translate("noise_patch_dialog", "Color average", None, QtGui.QApplication.UnicodeUTF8))
- self.combobox_bgmode.setItemText(1, QtGui.QApplication.translate("noise_patch_dialog", "Color 2", None, QtGui.QApplication.UnicodeUTF8))
- self.label_4.setText(QtGui.QApplication.translate("noise_patch_dialog", "Size<br /><i>in pixels</i>", None, QtGui.QApplication.UnicodeUTF8))
- self.label_12.setText(QtGui.QApplication.translate("noise_patch_dialog", "* Has no effect in psycho back-end", None, QtGui.QApplication.UnicodeUTF8))
+ def retranslateUi(self, Dialog):
+ Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Insert noise patch", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_2.setText(QtGui.QApplication.translate("Dialog", "Insert noise patch", None, QtGui.QApplication.UnicodeUTF8))
+ self.spin_size.setSuffix(QtGui.QApplication.translate("Dialog", "px", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_5.setText(QtGui.QApplication.translate("Dialog", "Envelope", None, QtGui.QApplication.UnicodeUTF8))
+ self.combobox_env.setItemText(0, QtGui.QApplication.translate("Dialog", "gaussian", None, QtGui.QApplication.UnicodeUTF8))
+ self.combobox_env.setItemText(1, QtGui.QApplication.translate("Dialog", "linear", None, QtGui.QApplication.UnicodeUTF8))
+ self.combobox_env.setItemText(2, QtGui.QApplication.translate("Dialog", "circular (sharp edge)", None, QtGui.QApplication.UnicodeUTF8))
+ self.combobox_env.setItemText(3, QtGui.QApplication.translate("Dialog", "rectangle (no envelope)", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_6.setText(QtGui.QApplication.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:8pt; 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-size:9pt;\">Standard deviation</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-size:9pt; font-style:italic;\">in pixels, only applies to the Gaussian envelope</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+ self.spin_stdev.setSuffix(QtGui.QApplication.translate("Dialog", "px", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_10.setText(QtGui.QApplication.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:9pt; 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;\">Color 1</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-style:italic;\">E.g., \'white\' or \'#FFFFFF\'</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+ self.edit_color1.setText(QtGui.QApplication.translate("Dialog", "white", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_9.setText(QtGui.QApplication.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:8pt; 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-size:9pt;\">Color 2 *</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-size:9pt; font-style:italic;\">E.g., \'black\' or \'#000000\'</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+ self.edit_color2.setText(QtGui.QApplication.translate("Dialog", "black", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_11.setText(QtGui.QApplication.translate("Dialog", "Background color *", None, QtGui.QApplication.UnicodeUTF8))
+ self.combobox_bgmode.setItemText(0, QtGui.QApplication.translate("Dialog", "Color average", None, QtGui.QApplication.UnicodeUTF8))
+ self.combobox_bgmode.setItemText(1, QtGui.QApplication.translate("Dialog", "Color 2", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_4.setText(QtGui.QApplication.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:9pt; 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;\">Size</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-style:italic;\">in pixels</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_12.setText(QtGui.QApplication.translate("Dialog", "* Has no effect in psycho back-end", None, QtGui.QApplication.UnicodeUTF8))
View
32 libqtopensesame/ui/notification_dialog_ui.py
@@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'resources/ui/notification_dialog.ui'
#
-# Created: Mon Jul 9 13:58:20 2012
+# Created: Sat Mar 31 16:00:40 2012
# by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!
@@ -14,14 +14,14 @@
except AttributeError:
_fromUtf8 = lambda s: s
-class Ui_notification_dialog(object):
- def setupUi(self, notification_dialog):
- notification_dialog.setObjectName(_fromUtf8("notification_dialog"))
- notification_dialog.resize(400, 300)
- self.verticalLayout = QtGui.QVBoxLayout(notification_dialog)
+class Ui_Dialog(object):
+ def setupUi(self, Dialog):
+ Dialog.setObjectName(_fromUtf8("Dialog"))
+ Dialog.resize(400, 300)
+ self.verticalLayout = QtGui.QVBoxLayout(Dialog)
self.verticalLayout.setMargin(8)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
- self.widget = QtGui.QWidget(notification_dialog)
+ self.widget = QtGui.QWidget(Dialog)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -53,24 +53,24 @@ def setupUi(self, notification_dialog):
self.label_2.setObjectName(_fromUtf8("label_2"))
self.horizontalLayout.addWidget(self.label_2)
self.verticalLayout.addWidget(self.widget)
- self.textedit_notification = QtGui.QTextBrowser(notification_dialog)
+ self.textedit_notification = QtGui.QTextBrowser(Dialog)
font = QtGui.QFont()
font.setFamily(_fromUtf8("Monospace"))
self.textedit_notification.setFont(font)
self.textedit_notification.setObjectName(_fromUtf8("textedit_notification"))
self.verticalLayout.addWidget(self.textedit_notification)
- self.buttonBox = QtGui.QDialogButtonBox(notification_dialog)
+ self.buttonBox = QtGui.QDialogButtonBox(Dialog)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.verticalLayout.addWidget(self.buttonBox)
- self.retranslateUi(notification_dialog)
- QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), notification_dialog.accept)
- QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), notification_dialog.reject)
- QtCore.QMetaObject.connectSlotsByName(notification_dialog)
+ self.retranslateUi(Dialog)
+ QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept)
+ QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject)
+ QtCore.QMetaObject.connectSlotsByName(Dialog)
- def retranslateUi(self, notification_dialog):
- notification_dialog.setWindowTitle(QtGui.QApplication.translate("notification_dialog", "OpenSesame says ...", None, QtGui.QApplication.UnicodeUTF8))
- self.label_2.setText(QtGui.QApplication.translate("notification_dialog", "OpenSesame says ...", None, QtGui.QApplication.UnicodeUTF8))
+ def retranslateUi(self, Dialog):
+ Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "OpenSesame says ...", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_2.setText(QtGui.QApplication.translate("Dialog", "OpenSesame says ...", None, QtGui.QApplication.UnicodeUTF8))
View
388 libqtopensesame/ui/opensesame_ui.py
@@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'resources/ui/opensesame.ui'
#
-# Created: Tue Jul 17 12:47:51 2012
+# Created: Sat Mar 31 16:00:39 2012
# by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!
@@ -14,30 +14,25 @@
except AttributeError:
_fromUtf8 = lambda s: s
-class Ui_opensesame_mainwindow(object):
- def setupUi(self, opensesame_mainwindow):
- opensesame_mainwindow.setObjectName(_fromUtf8("opensesame_mainwindow"))
- opensesame_mainwindow.resize(1000, 707)
+class Ui_MainWindow(object):
+ def setupUi(self, MainWindow):
+ MainWindow.setObjectName(_fromUtf8("MainWindow"))
+ MainWindow.resize(1000, 707)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/experiment.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- opensesame_mainwindow.setWindowIcon(icon)
- self.centralwidget = QtGui.QWidget(opensesame_mainwindow)
- sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth())
- self.centralwidget.setSizePolicy(sizePolicy)
+ MainWindow.setWindowIcon(icon)
+ self.centralwidget = QtGui.QWidget(MainWindow)
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
self.verticalLayout_6 = QtGui.QVBoxLayout(self.centralwidget)
self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
- self.tabwidget = tab_widget(self.centralwidget)
+ self.tabwidget = QtGui.QTabWidget(self.centralwidget)
self.tabwidget.setTabsClosable(True)
self.tabwidget.setMovable(True)
self.tabwidget.setObjectName(_fromUtf8("tabwidget"))
self.verticalLayout_6.addWidget(self.tabwidget)
- opensesame_mainwindow.setCentralWidget(self.centralwidget)
- self.menubar = QtGui.QMenuBar(opensesame_mainwindow)
- self.menubar.setGeometry(QtCore.QRect(0, 0, 1000, 25))
+ MainWindow.setCentralWidget(self.centralwidget)
+ self.menubar = QtGui.QMenuBar(MainWindow)
+ self.menubar.setGeometry(QtCore.QRect(0, 0, 1000, 24))
self.menubar.setObjectName(_fromUtf8("menubar"))
self.menu_file = QtGui.QMenu(self.menubar)
self.menu_file.setObjectName(_fromUtf8("menu_file"))
@@ -56,20 +51,19 @@ def setupUi(self, opensesame_mainwindow):
self.menu_help.setObjectName(_fromUtf8("menu_help"))
self.menu_tools = QtGui.QMenu(self.menubar)
self.menu_tools.setObjectName(_fromUtf8("menu_tools"))
- opensesame_mainwindow.setMenuBar(self.menubar)
- self.statusbar = statusbar(opensesame_mainwindow)
+ MainWindow.setMenuBar(self.menubar)
+ self.statusbar = statusbar(MainWindow)
self.statusbar.setObjectName(_fromUtf8("statusbar"))
- opensesame_mainwindow.setStatusBar(self.statusbar)
- self.dock_overview = QtGui.QDockWidget(opensesame_mainwindow)
- self.dock_overview.setMinimumSize(QtCore.QSize(200, 103))
- self.dock_overview.setMaximumSize(QtCore.QSize(350, 524287))
+ MainWindow.setStatusBar(self.statusbar)
+ self.dock_overview = QtGui.QDockWidget(MainWindow)
self.dock_overview.setFeatures(QtGui.QDockWidget.AllDockWidgetFeatures)
self.dock_overview.setObjectName(_fromUtf8("dock_overview"))
self.dock_widget_overview = QtGui.QWidget()
self.dock_widget_overview.setObjectName(_fromUtf8("dock_widget_overview"))
self.verticalLayout = QtGui.QVBoxLayout(self.dock_widget_overview)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.itemtree = tree_overview(self.dock_widget_overview)
+ self.itemtree.setMinimumSize(QtCore.QSize(200, 0))
self.itemtree.setAcceptDrops(True)
self.itemtree.setAlternatingRowColors(True)
self.itemtree.setAutoExpandDelay(4)
@@ -78,39 +72,41 @@ def setupUi(self, opensesame_mainwindow):
self.itemtree.setObjectName(_fromUtf8("itemtree"))
self.verticalLayout.addWidget(self.itemtree)
self.dock_overview.setWidget(self.dock_widget_overview)
- opensesame_mainwindow.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.dock_overview)
- self.dock_variable_inspector = QtGui.QDockWidget(opensesame_mainwindow)
+ MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.dock_overview)
+ self.dock_variable_inspector = QtGui.QDockWidget(MainWindow)
self.dock_variable_inspector.setAllowedAreas(QtCore.Qt.AllDockWidgetAreas)
self.dock_variable_inspector.setObjectName(_fromUtf8("dock_variable_inspector"))
self.dock_widget_variable_inspector = QtGui.QWidget()
self.dock_widget_variable_inspector.setObjectName(_fromUtf8("dock_widget_variable_inspector"))
self.verticalLayout_2 = QtGui.QVBoxLayout(self.dock_widget_variable_inspector)
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
- self.widget_variable_inspector_header_box = QtGui.QWidget(self.dock_widget_variable_inspector)
- self.widget_variable_inspector_header_box.setObjectName(_fromUtf8("widget_variable_inspector_header_box"))
- self.horizontalLayout_3 = QtGui.QHBoxLayout(self.widget_variable_inspector_header_box)
- self.horizontalLayout_3.setSpacing(0)
+ self.widget_2 = QtGui.QWidget(self.dock_widget_variable_inspector)
+ self.widget_2.setStyleSheet(_fromUtf8("color: rgb(255, 255, 255);\n"
+"background-color: #729fcf;"))
+ self.widget_2.setObjectName(_fromUtf8("widget_2"))
+ self.horizontalLayout_3 = QtGui.QHBoxLayout(self.widget_2)
self.horizontalLayout_3.setMargin(4)
self.horizontalLayout_3.setMargin(0)
self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
- self.label_variables = QtGui.QLabel(self.widget_variable_inspector_header_box)
+ self.label_variables = QtGui.QLabel(self.widget_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_variables.sizePolicy().hasHeightForWidth())
self.label_variables.setSizePolicy(sizePolicy)
+ self.label_variables.setText(_fromUtf8(""))
self.label_variables.setPixmap(QtGui.QPixmap(_fromUtf8(":/icons/variable_inspector_large.png")))
self.label_variables.setObjectName(_fromUtf8("label_variables"))
self.horizontalLayout_3.addWidget(self.label_variables)
- self.label_3 = QtGui.QLabel(self.widget_variable_inspector_header_box)
+ self.label_3 = QtGui.QLabel(self.widget_2)
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.label_3.setFont(font)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.horizontalLayout_3.addWidget(self.label_3)
- self.verticalLayout_2.addWidget(self.widget_variable_inspector_header_box)
+ self.verticalLayout_2.addWidget(self.widget_2)
self.widget = QtGui.QWidget(self.dock_widget_variable_inspector)
self.widget.setObjectName(_fromUtf8("widget"))
self.horizontalLayout_2 = QtGui.QHBoxLayout(self.widget)
@@ -168,52 +164,49 @@ def setupUi(self, opensesame_mainwindow):
self.table_variables.verticalHeader().setCascadingSectionResizes(True)
self.verticalLayout_2.addWidget(self.table_variables)
self.dock_variable_inspector.setWidget(self.dock_widget_variable_inspector)
- opensesame_mainwindow.addDockWidget(QtCore.Qt.DockWidgetArea(2), self.dock_variable_inspector)
- self.dock_pool = QtGui.QDockWidget(opensesame_mainwindow)
- sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Maximum)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.dock_pool.sizePolicy().hasHeightForWidth())
- self.dock_pool.setSizePolicy(sizePolicy)
+ MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(2), self.dock_variable_inspector)
+ self.dock_pool = QtGui.QDockWidget(MainWindow)
self.dock_pool.setObjectName(_fromUtf8("dock_pool"))
self.dock_pool_widget = QtGui.QWidget()
self.dock_pool_widget.setObjectName(_fromUtf8("dock_pool_widget"))
self.verticalLayout_3 = QtGui.QVBoxLayout(self.dock_pool_widget)
self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
self.dock_pool.setWidget(self.dock_pool_widget)
- opensesame_mainwindow.addDockWidget(QtCore.Qt.DockWidgetArea(2), self.dock_pool)
- self.dock_stdout = QtGui.QDockWidget(opensesame_mainwindow)
+ MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(2), self.dock_pool)
+ self.dock_stdout = QtGui.QDockWidget(MainWindow)
self.dock_stdout.setFeatures(QtGui.QDockWidget.AllDockWidgetFeatures)
self.dock_stdout.setObjectName(_fromUtf8("dock_stdout"))
self.dockWidgetContents_3 = QtGui.QWidget()
self.dockWidgetContents_3.setObjectName(_fromUtf8("dockWidgetContents_3"))
self.verticalLayout_4 = QtGui.QVBoxLayout(self.dockWidgetContents_3)
self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
- self.widget_debug_window_header_box = QtGui.QWidget(self.dockWidgetContents_3)
- self.widget_debug_window_header_box.setObjectName(_fromUtf8("widget_debug_window_header_box"))
- self.horizontalLayout_5 = QtGui.QHBoxLayout(self.widget_debug_window_header_box)
- self.horizontalLayout_5.setSpacing(0)
+ self.widget_4 = QtGui.QWidget(self.dockWidgetContents_3)
+ self.widget_4.setStyleSheet(_fromUtf8("color: rgb(255, 255, 255);\n"
+"background-color: #729fcf;"))
+ self.widget_4.setObjectName(_fromUtf8("widget_4"))
+ self.horizontalLayout_5 = QtGui.QHBoxLayout(self.widget_4)
self.horizontalLayout_5.setMargin(4)
self.horizontalLayout_5.setMargin(0)
self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
- self.label_stdout = QtGui.QLabel(self.widget_debug_window_header_box)
+ self.label_stdout = QtGui.QLabel(self.widget_4)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_stdout.sizePolicy().hasHeightForWidth())
self.label_stdout.setSizePolicy(sizePolicy)
+ self.label_stdout.setText(_fromUtf8(""))
self.label_stdout.setPixmap(QtGui.QPixmap(_fromUtf8(":/icons/stdout_large.png")))
self.label_stdout.setObjectName(_fromUtf8("label_stdout"))
self.horizontalLayout_5.addWidget(self.label_stdout)
- self.label_4 = QtGui.QLabel(self.widget_debug_window_header_box)
+ self.label_4 = QtGui.QLabel(self.widget_4)
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.label_4.setFont(font)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.horizontalLayout_5.addWidget(self.label_4)
- self.verticalLayout_4.addWidget(self.widget_debug_window_header_box)
+ self.verticalLayout_4.addWidget(self.widget_4)
self.widget_5 = QtGui.QWidget(self.dockWidgetContents_3)
self.widget_5.setObjectName(_fromUtf8("widget_5"))
self.horizontalLayout_6 = QtGui.QHBoxLayout(self.widget_5)
@@ -254,189 +247,191 @@ def setupUi(self, opensesame_mainwindow):
self.horizontalLayout_6.addWidget(self.widget_3)
self.verticalLayout_4.addWidget(self.widget_5)
self.dock_stdout.setWidget(self.dockWidgetContents_3)
- opensesame_mainwindow.addDockWidget(QtCore.Qt.DockWidgetArea(8), self.dock_stdout)
- self.toolbar_main = QtGui.QToolBar(opensesame_mainwindow)
+ MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(8), self.dock_stdout)
+ self.toolbar_main = QtGui.QToolBar(MainWindow)
self.toolbar_main.setIconSize(QtCore.QSize(32, 32))
self.toolbar_main.setToolButtonStyle(QtCore.Qt.ToolButtonIconOnly)
self.toolbar_main.setFloatable(True)
self.toolbar_main.setObjectName(_fromUtf8("toolbar_main"))
- opensesame_mainwindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolbar_main)
- self.toolbar_items = toolbar_items(opensesame_mainwindow)
+ MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolbar_main)
+ self.toolbar_items = toolbar_items(MainWindow)
self.toolbar_items.setObjectName(_fromUtf8("toolbar_items"))
- opensesame_mainwindow.addToolBar(QtCore.Qt.LeftToolBarArea, self.toolbar_items)
- self.action_open = QtGui.QAction(opensesame_mainwindow)
+ MainWindow.addToolBar(QtCore.Qt.LeftToolBarArea, self.toolbar_items)
+ self.action_open = QtGui.QAction(MainWindow)
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/open_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_open.setIcon(icon4)
self.action_open.setObjectName(_fromUtf8("action_open"))
- self.action_save = QtGui.QAction(opensesame_mainwindow)
+ self.action_save = QtGui.QAction(MainWindow)
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/save_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_save.setIcon(icon5)
self.action_save.setObjectName(_fromUtf8("action_save"))
- self.action_save_as = QtGui.QAction(opensesame_mainwindow)
+ self.action_save_as = QtGui.QAction(MainWindow)
icon6 = QtGui.QIcon()
icon6.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/saveas_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_save_as.setIcon(icon6)
self.action_save_as.setObjectName(_fromUtf8("action_save_as"))
- self.action_quit = QtGui.QAction(opensesame_mainwindow)
+ self.action_quit = QtGui.QAction(MainWindow)
icon7 = QtGui.QIcon()
icon7.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/quit_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_quit.setIcon(icon7)
self.action_quit.setObjectName(_fromUtf8("action_quit"))
- self.action_run = QtGui.QAction(opensesame_mainwindow)
+ self.action_run = QtGui.QAction(MainWindow)
icon8 = QtGui.QIcon()
icon8.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/run_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_run.setIcon(icon8)
self.action_run.setObjectName(_fromUtf8("action_run"))
- self.action_new = QtGui.QAction(opensesame_mainwindow)
+ self.action_new = QtGui.QAction(MainWindow)
icon9 = QtGui.QIcon()
icon9.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/new_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_new.setIcon(icon9)
self.action_new.setObjectName(_fromUtf8("action_new"))
- self.action_add_sequence = QtGui.QAction(opensesame_mainwindow)
+ self.action_add_sequence = QtGui.QAction(MainWindow)
icon10 = QtGui.QIcon()
icon10.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/sequence_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_add_sequence.setIcon(icon10)
self.action_add_sequence.setObjectName(_fromUtf8("action_add_sequence"))
- self.action_add_sketchpad = QtGui.QAction(opensesame_mainwindow)
+ self.action_add_sketchpad = QtGui.QAction(MainWindow)
icon11 = QtGui.QIcon()
icon11.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/sketchpad_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_add_sketchpad.setIcon(icon11)
self.action_add_sketchpad.setObjectName(_fromUtf8("action_add_sketchpad"))
- self.action_add_keyboard_response = QtGui.QAction(opensesame_mainwindow)
+ self.action_add_keyboard_response = QtGui.QAction(MainWindow)
icon12 = QtGui.QIcon()
icon12.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/keyboard_response_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_add_keyboard_response.setIcon(icon12)
self.action_add_keyboard_response.setObjectName(_fromUtf8("action_add_keyboard_response"))
- self.action_add_logger = QtGui.QAction(opensesame_mainwindow)
+ self.action_add_logger = QtGui.QAction(MainWindow)
icon13 = QtGui.QIcon()
icon13.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/logger_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_add_logger.setIcon(icon13)
self.action_add_logger.setObjectName(_fromUtf8("action_add_logger"))
- self.action_add_loop = QtGui.QAction(opensesame_mainwindow)
+ self.action_add_loop = QtGui.QAction(MainWindow)
icon14 = QtGui.QIcon()
icon14.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/loop_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_add_loop.setIcon(icon14)
self.action_add_loop.setObjectName(_fromUtf8("action_add_loop"))
- self.action_add_feedback = QtGui.QAction(opensesame_mainwindow)
+ self.action_add_feedback = QtGui.QAction(MainWindow)
icon15 = QtGui.QIcon()
icon15.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/feedback_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_add_feedback.setIcon(icon15)
self.action_add_feedback.setObjectName(_fromUtf8("action_add_feedback"))
- self.action_add_inline_script = QtGui.QAction(opensesame_mainwindow)
+ self.action_add_inline_script = QtGui.QAction(MainWindow)
icon16 = QtGui.QIcon()
icon16.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/inline_script_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_add_inline_script.setIcon(icon16)
self.action_add_inline_script.setObjectName(_fromUtf8("action_add_inline_script"))
- self.action_close_all_tabs = QtGui.QAction(opensesame_mainwindow)
+ self.action_close_all_tabs = QtGui.QAction(MainWindow)
icon17 = QtGui.QIcon()
icon17.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/closeothertabs_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_close_all_tabs.setIcon(icon17)
self.action_close_all_tabs.setObjectName(_fromUtf8("action_close_all_tabs"))
- self.action_close_other_tabs = QtGui.QAction(opensesame_mainwindow)
+ self.action_close_other_tabs = QtGui.QAction(MainWindow)
icon18 = QtGui.QIcon()
icon18.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/close_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_close_other_tabs.setIcon(icon18)
self.action_close_other_tabs.setObjectName(_fromUtf8("action_close_other_tabs"))
- self.action_help = QtGui.QAction(opensesame_mainwindow)
+ self.action_help = QtGui.QAction(MainWindow)
icon19 = QtGui.QIcon()
icon19.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/help_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_help.setIcon(icon19)
self.action_help.setObjectName(_fromUtf8("action_help"))
- self.action_about = QtGui.QAction(opensesame_mainwindow)
+ self.action_about = QtGui.QAction(MainWindow)
icon20 = QtGui.QIcon()
icon20.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/about_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_about.setIcon(icon20)
self.action_about.setObjectName(_fromUtf8("action_about"))
- self.action_add_mouse_response = QtGui.QAction(opensesame_mainwindow)
+ self.action_add_mouse_response = QtGui.QAction(MainWindow)
icon21 = QtGui.QIcon()
icon21.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/mouse_response_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_add_mouse_response.setIcon(icon21)
self.action_add_mouse_response.setObjectName(_fromUtf8("action_add_mouse_response"))
- self.action_run_in_window = QtGui.QAction(opensesame_mainwindow)
+ self.action_run_in_window = QtGui.QAction(MainWindow)
icon22 = QtGui.QIcon()
icon22.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/runinwindow_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_run_in_window.setIcon(icon22)
self.action_run_in_window.setObjectName(_fromUtf8("action_run_in_window"))
- self.action_check_for_update = QtGui.QAction(opensesame_mainwindow)
+ self.action_check_for_update = QtGui.QAction(MainWindow)
icon23 = QtGui.QIcon()
icon23.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/update_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_check_for_update.setIcon(icon23)
self.action_check_for_update.setObjectName(_fromUtf8("action_check_for_update"))
- self.action_show_variable_inspector = QtGui.QAction(opensesame_mainwindow)
+ self.action_show_variable_inspector = QtGui.QAction(MainWindow)
self.action_show_variable_inspector.setCheckable(True)
icon24 = QtGui.QIcon()
icon24.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/variable_inspector_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_show_variable_inspector.setIcon(icon24)
self.action_show_variable_inspector.setObjectName(_fromUtf8("action_show_variable_inspector"))
- self.action_add_sampler = QtGui.QAction(opensesame_mainwindow)
+ self.action_add_sampler = QtGui.QAction(MainWindow)
icon25 = QtGui.QIcon()
icon25.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/sampler_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_add_sampler.setIcon(icon25)
self.action_add_sampler.setObjectName(_fromUtf8("action_add_sampler"))
- self.action_add_synth = QtGui.QAction(opensesame_mainwindow)
+ self.action_add_synth = QtGui.QAction(MainWindow)
icon26 = QtGui.QIcon()
icon26.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/synth_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_add_synth.setIcon(icon26)
self.action_add_synth.setObjectName(_fromUtf8("action_add_synth"))
- self.action_show_pool = QtGui.QAction(opensesame_mainwindow)
+ self.action_show_pool = QtGui.QAction(MainWindow)
self.action_show_pool.setCheckable(True)
icon27 = QtGui.QIcon()
icon27.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/pool_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_show_pool.setIcon(icon27)
self.action_show_pool.setObjectName(_fromUtf8("action_show_pool"))
- self.action_show_stdout = QtGui.QAction(opensesame_mainwindow)
+ self.action_show_stdout = QtGui.QAction(MainWindow)
self.action_show_stdout.setCheckable(True)
icon28 = QtGui.QIcon()
icon28.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/stdout_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_show_stdout.setIcon(icon28)
self.action_show_stdout.setObjectName(_fromUtf8("action_show_stdout"))
- self.action_enable_auto_response = QtGui.QAction(opensesame_mainwindow)
+ self.action_enable_auto_response = QtGui.QAction(MainWindow)
self.action_enable_auto_response.setCheckable(True)
self.action_enable_auto_response.setObjectName(_fromUtf8("action_enable_auto_response"))
- self.actionPlugins = QtGui.QAction(opensesame_mainwindow)
+ self.actionPlugins = QtGui.QAction(MainWindow)
self.actionPlugins.setEnabled(False)
self.actionPlugins.setObjectName(_fromUtf8("actionPlugins"))
- self.action_show_random_tip = QtGui.QAction(opensesame_mainwindow)
+ self.action_show_random_tip = QtGui.QAction(MainWindow)
self.action_show_random_tip.setIcon(icon20)
self.action_show_random_tip.setObjectName(_fromUtf8("action_show_random_tip"))
- self.action_open_autosave_folder = QtGui.QAction(opensesame_mainwindow)
+ self.action_open_autosave_folder = QtGui.QAction(MainWindow)
self.action_open_autosave_folder.setIcon(icon27)
self.action_open_autosave_folder.setObjectName(_fromUtf8("action_open_autosave_folder"))
- self.action_submit_a_bug = QtGui.QAction(opensesame_mainwindow)
+ self.action_submit_a_bug = QtGui.QAction(MainWindow)
icon29 = QtGui.QIcon()
icon29.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/submit_bug.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_submit_a_bug.setIcon(icon29)
self.action_submit_a_bug.setObjectName(_fromUtf8("action_submit_a_bug"))
- self.action_contribute = QtGui.QAction(opensesame_mainwindow)
+ self.action_contribute = QtGui.QAction(MainWindow)
icon30 = QtGui.QIcon()
icon30.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/contribute.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_contribute.setIcon(icon30)
self.action_contribute.setObjectName(_fromUtf8("action_contribute"))
- self.action_preferences = QtGui.QAction(opensesame_mainwindow)
+ self.action_preferences = QtGui.QAction(MainWindow)
icon31 = QtGui.QIcon()
icon31.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/options_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_preferences.setIcon(icon31)
self.action_preferences.setObjectName(_fromUtf8("action_preferences"))
- self.actionDummy = QtGui.QAction(opensesame_mainwindow)
+ self.actionDummy = QtGui.QAction(MainWindow)
self.actionDummy.setObjectName(_fromUtf8("actionDummy"))
- self.action_show_overview = QtGui.QAction(opensesame_mainwindow)
+ self.action_show_info_in_overview = QtGui.QAction(MainWindow)
+ self.action_show_info_in_overview.setCheckable(True)
+ icon32 = QtGui.QIcon()
+ icon32.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/iteminfo_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.action_show_info_in_overview.setIcon(icon32)
+ self.action_show_info_in_overview.setObjectName(_fromUtf8("action_show_info_in_overview"))
+ self.action_show_overview = QtGui.QAction(MainWindow)
self.action_show_overview.setCheckable(True)
self.action_show_overview.setObjectName(_fromUtf8("action_show_overview"))
- self.action_onetabmode = QtGui.QAction(opensesame_mainwindow)
+ self.action_onetabmode = QtGui.QAction(MainWindow)
self.action_onetabmode.setCheckable(True)
- icon32 = QtGui.QIcon()
- icon32.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/onetabmode_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.action_onetabmode.setIcon(icon32)
+ icon33 = QtGui.QIcon()
+ icon33.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/onetabmode_large.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.action_onetabmode.setIcon(icon33)
self.action_onetabmode.setObjectName(_fromUtf8("action_onetabmode"))
- self.action_compact_toolbar = QtGui.QAction(opensesame_mainwindow)
+ self.action_compact_toolbar = QtGui.QAction(MainWindow)
self.action_compact_toolbar.setCheckable(True)
self.action_compact_toolbar.setObjectName(_fromUtf8("action_compact_toolbar"))
- self.action_online_documentation = QtGui.QAction(opensesame_mainwindow)
- self.action_online_documentation.setObjectName(_fromUtf8("action_online_documentation"))
- self.action_online_forum = QtGui.QAction(opensesame_mainwindow)
- self.action_online_forum.setObjectName(_fromUtf8("action_online_forum"))
self.menu_recent_files.addAction(self.actionDummy)
self.menu_file.addAction(self.action_new)
self.menu_file.addAction(self.action_open)
@@ -465,13 +460,17 @@ def setupUi(self, opensesame_mainwindow):
self.menu_view.addAction(self.action_close_all_tabs)
self.menu_view.addAction(self.action_close_other_tabs)
self.menu_view.addAction(self.action_onetabmode)
+ self.menu_view.addAction(self.action_show_info_in_overview)
self.menu_view.addSeparator()
self.menu_view.addAction(self.action_show_overview)
self.menu_view.addAction(self.action_show_variable_inspector)
self.menu_view.addAction(self.action_show_pool)
self.menu_view.addAction(self.action_show_stdout)
- self.menu_help.addAction(self.action_online_documentation)
self.menu_help.addAction(self.action_help)
+ self.menu_help.addAction(self.action_show_random_tip)
+ self.menu_help.addSeparator()
+ self.menu_help.addAction(self.action_submit_a_bug)
+ self.menu_help.addAction(self.action_contribute)
self.menu_help.addSeparator()
self.menu_help.addAction(self.action_about)
self.menu_tools.addAction(self.action_check_for_update)
@@ -493,119 +492,116 @@ def setupUi(self, opensesame_mainwindow):
self.toolbar_main.addSeparator()
self.toolbar_main.addAction(self.action_close_other_tabs)
self.toolbar_main.addAction(self.action_onetabmode)
+ self.toolbar_main.addAction(self.action_show_info_in_overview)
self.toolbar_main.addSeparator()
self.toolbar_main.addAction(self.action_show_pool)
self.toolbar_main.addAction(self.action_show_variable_inspector)
self.toolbar_main.addAction(self.action_show_stdout)
self.toolbar_main.addSeparator()
self.toolbar_main.addAction(self.action_help)
- self.toolbar_main.addAction(self.action_online_documentation)
- self.retranslateUi(opensesame_mainwindow)
+ self.retranslateUi(MainWindow)
self.tabwidget.setCurrentIndex(-1)
QtCore.QObject.connect(self.button_variables_clear, QtCore.SIGNAL(_fromUtf8("clicked()")), self.edit_variable_filter.clear)
QtCore.QObject.connect(self.button_clear_stdout, QtCore.SIGNAL(_fromUtf8("clicked()")), self.edit_stdout.clear)
- QtCore.QMetaObject.connectSlotsByName(opensesame_mainwindow)
+ QtCore.QMetaObject.connectSlotsByName(MainWindow)
- def retranslateUi(self, opensesame_mainwindow):
- opensesame_mainwindow.setWindowTitle(QtGui.QApplication.translate("opensesame_mainwindow", "OpenSesame", None, QtGui.QApplication.UnicodeUTF8))
- self.menu_file.setTitle(QtGui.QApplication.translate("opensesame_mainwindow", "File", None, QtGui.QApplication.UnicodeUTF8))
- self.menu_recent_files.setTitle(QtGui.QApplication.translate("opensesame_mainwindow", "Recent files", None, QtGui.QApplication.UnicodeUTF8))
- self.menu_run.setTitle(QtGui.QApplication.translate("opensesame_mainwindow", "Run", None, QtGui.QApplication.UnicodeUTF8))
- self.menu_items.setTitle(QtGui.QApplication.translate("opensesame_mainwindow", "Items", None, QtGui.QApplication.UnicodeUTF8))
- self.menu_view.setTitle(QtGui.QApplication.translate("opensesame_mainwindow", "View", None, QtGui.QApplication.UnicodeUTF8))
- self.menu_help.setTitle(QtGui.QApplication.translate("opensesame_mainwindow", "Help and feedback", None, QtGui.QApplication.UnicodeUTF8))
- self.menu_tools.setTitle(QtGui.QApplication.translate("opensesame_mainwindow", "Tools", None, QtGui.QApplication.UnicodeUTF8))
- self.dock_overview.setWindowTitle(QtGui.QApplication.translate("opensesame_mainwindow", "Overview", None, QtGui.QApplication.UnicodeUTF8))
- self.itemtree.headerItem().setText(0, QtGui.QApplication.translate("opensesame_mainwindow", "Name", None, QtGui.QApplication.UnicodeUTF8))
- self.dock_variable_inspector.setWindowTitle(QtGui.QApplication.translate("opensesame_mainwindow", "Variable inspector", None, QtGui.QApplication.UnicodeUTF8))
- self.label_variables.setText(QtGui.QApplication.translate("opensesame_mainwindow", "ICON", None, QtGui.QApplication.UnicodeUTF8))
- self.label_3.setText(QtGui.QApplication.translate("opensesame_mainwindow", "Variable inspector", None, QtGui.QApplication.UnicodeUTF8))
- self.edit_variable_filter.setToolTip(QtGui.QApplication.translate("opensesame_mainwindow", "Enter a filter", None, QtGui.QApplication.UnicodeUTF8))
- self.button_variables_clear.setToolTip(QtGui.QApplication.translate("opensesame_mainwindow", "Clear filter", None, QtGui.QApplication.UnicodeUTF8))
- self.button_help_variables.setToolTip(QtGui.QApplication.translate(