@ -6,10 +6,16 @@
<rect>
<x>0</x>
<y>0</y>
<width>658 </width>
<width>730 </width>
<height>900</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>Labcontrol</string>
</property>
@ -18,6 +24,15 @@
<normaloff>../../../../../../usr/local/share/labcontrol/icons/icon.png</normaloff>../../../../../../usr/local/share/labcontrol/icons/icon.png</iconset>
</property>
<widget class="QWidget" name="centralWidget">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QVBoxLayout" name="verticalLayout_8">
<item>
<widget class="QTabWidget" name="TWExperimenterTab">
@ -25,158 +40,108 @@
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<sizepolicy hsizetype="Minimum Expanding" vsizetype="Minimum Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>640</width>
<height>580</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="font">
<font>
<underline>false</underline>
<kerning>true</kerning>
</font>
</property>
<property name="currentIndex">
<number>0</number>
<number>1</number>
</property>
<property name="usesScrollButtons">
<bool>true</bool>
</property>
<property name="tabBarAutoHide">
<bool>false</bool>
</property>
<widget class="QWidget" name="TExperimenterActions">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<attribute name="title">
<string>Experiment actions</string>
<string>Experiment prepatation </string>
</attribute>
<layout class="QHBoxLayout" name="HLExperimenterTab" stretch="1,1">
<item>
<layout class="QVBoxLayout" name="VLzTreeClientActions">
<item>
<widget class="QGroupBox" name="GBLocalActions">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Experiment preparation / server actions</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QPushButton" name="PBShowORSEE">
<widget class="QLabel" name="LPlanSession ">
<property name="text">
<string>Show ORSEE</string>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_ORSEE">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<string>Plan a session or print attendee list</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="PBShowPreprints">
<property name="text">
<string>Show preprints</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="PBPrintPaymentFileManually">
<property name="toolTip">
<string>Choose a payment file manually, which will then be printed.</string>
</property>
<property name="text">
<string>Print payment file manually</string>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_preprints">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="PBKillzTree">
<property name="toolTip">
<string>Stop all local z-Tree instances</string>
</property>
<property name="text">
<string>Stop z-Tree</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="PBrestartCrashedSession">
<widget class="QPushButton" name="PBShowORSEE">
<property name="text">
<string>Continue crashed session </string>
<string>Show ORSEE</string>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_zTree ">
<widget class="Line" name="line_ORSEE">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="HLLocalzLeaf">
<item>
<widget class="QPushButton" name="PBStartLocalzLeaf">
<property name="text">
<string>Start local z-Leaf</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="PBKillLocalzLeaf">
<widget class="QLabel" name="LPrintLocalFiles">
<property name="text">
<string>Stop local z-Leaf</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="Line" name="line_localZleaf">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<string>Print local files</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="LFakeName">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<widget class="QPushButton" name="PBShowPreprints">
<property name="text">
<string><html><head/><body><p>Run zLeaf with another name than local <br/>(or selected client's hostname):</p></body></html></string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
</property>
<property name="scaledContents">
<bool>false</bool>
</property>
<property name="wordWrap">
<bool>true</bool>
<string>Show preprints</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="CBClientNames">
<property name="editable">
<bool>true</bool>
</property>
<property name="currentText">
<string>Choose the name z-Leaf shall have</string>
<widget class="QPushButton" name="PBPrintPaymentFileManually">
<property name="toolTip">
<string>Choose a payment file manually, which will then be printed.</string>
</property>
<item>
<property name="text">
<string>Choose the name the z-Leaf shall have</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QPushButton" name="PBRunzLeaf">
<property name="text">
<string>Run z-Leaf with chosen name</string>
<string>Print payment file manually</string>
</property>
</widget>
</item>
@ -190,7 +155,7 @@
<item>
<widget class="QLabel" name="LWebcamChooser">
<property name="text">
<string>Show webcams: </string>
<string>Show webcams</string>
</property>
</widget>
</item>
@ -228,6 +193,15 @@
</property>
<item>
<widget class="QGroupBox" name="GBClientActions">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Client actions</string>
</property>
@ -259,26 +233,6 @@
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="PBStartzLeaf">
<property name="toolTip">
<string>Starts zLeaf on the selected clients with the port given in the 'zTree' groupbox.</string>
</property>
<property name="text">
<string>Start z-Leaf on selected clients</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="PBKillzLeaf">
<property name="toolTip">
<string>Stops zLeaf on all selected clients</string>
</property>
<property name="text">
<string>Stop z-Leaf on selected clients</string>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_zLeafActions">
<property name="orientation">
@ -317,7 +271,7 @@
<item>
<widget class="QLabel" name="LUploadFolder">
<property name="text">
<string>Upload folder to all selected clients: </string>
<string>Upload folder to all selected clients</string>
</property>
<property name="alignment">
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
@ -363,7 +317,7 @@
<item>
<widget class="QLabel" name="LBrowserActions">
<property name="text">
<string>Start browser on all selected clients: </string>
<string>Start browser on all selected clients</string>
</property>
</widget>
</item>
@ -437,33 +391,27 @@
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>439</height>
</size>
</property>
<attribute name="title">
<string>Session actions</string>
</attribute>
<widget class="QWidget" name="verticalLayoutWidget_2">
<widget class="QWidget" name="verticalLayoutWidget">
<property name="geometry">
<rect>
<x>9 </x>
<y>69 </y>
<width>31 1</width>
<height>39 1</height>
<x>10 </x>
<y>10 </y>
<width>69 1</width>
<height>103 </height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number>
</property>
<layout class="QVBoxLayout" name="VLcleanupRecoverLastSession">
<item>
<widget class="QLabel" name="label ">
<widget class="QLabel" name="LcleanupRecoverLastSession">
<property name="font">
<font>
<weight>50</weight>
@ -471,43 +419,119 @@
</font>
</property>
<property name="text">
<string>New session</string>
<string>Cleanup / recover last session</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="HLcleanupRecoverLastSession">
<item>
<widget class="QPushButton" name="PBStopZtree">
<property name="text">
<string>Stop z-Tree</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="PBRecoverCrashedSession">
<property name="text">
<string>Recover crashed session</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="PBKillzLeaf">
<property name="toolTip">
<string>Stops zLeaf on all selected clients</string>
</property>
<property name="text">
<string>Stop z-Leaf on selected clients</string>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_cleanupRecoverLastSession">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="verticalLayoutWidget_3">
<property name="geometry">
<rect>
<x>10</x>
<y>120</y>
<width>691</width>
<height>469</height>
</rect>
</property>
<layout class="QVBoxLayout" name="VLNewSession">
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<item>
<widget class="QLabel" name="LNewSession">
<property name="text">
<string>New Session</string>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_12">
<layout class="QHBoxLayout" name="HLNewSession ">
<item>
<widget class="QLabel" name="label_3">
<layout class="QVBoxLayout" name="VLZtree">
<property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number>
</property>
<item>
<widget class="QLabel" name="LZTreeVersion">
<property name="text">
<string>z-Tree version</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox"/>
<widget class="QComboBox" name="CBzTreeVersion "/>
</item>
<item>
<widget class="QLabel" name="label_4">
<widget class="QLabel" name="LDataTargetPath ">
<property name="text">
<string>Data target path:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_2"/>
<widget class="QComboBox" name="CBDataTargetPath "/>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<layout class="QVBoxLayout" name="VLZtreeOptions">
<property name="topMargin">
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="HLPortSelect">
<item>
<widget class="QLabel" name="label_5">
<widget class="QLabel" name="LPort ">
<property name="text">
<string>Port:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox">
<widget class="QSpinBox" name="SBPort ">
<property name="minimum">
<number>7000</number>
</property>
@ -521,21 +545,105 @@
</layout>
</item>
<item>
<widget class="QCheckBox" name="checkBox_2">
<widget class="Line" name="line_Ztree">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="LTemplateForReceipts">
<property name="text">
<string>Template for receipts</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="CBReceiptsHeader"/>
</item>
<item>
<widget class="QCheckBox" name="ChBPrintAnonymousReceipts">
<property name="text">
<string>Print anonymous receipts</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="LReplaceParticipantNames">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Replace participant names with:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="CBReplaceParticipantNames">
<property name="enabled">
<bool>false</bool>
</property>
<property name="editable">
<bool>true</bool>
</property>
<item>
<property name="text">
<string>\hspace{5cm}</string>
</property>
</item>
<item>
<property name="text">
<string>anonym</string>
</property>
</item>
<item>
<property name="text">
<string>anonymous</string>
</property>
</item>
<item>
<property name="text">
<string>nicht ausfüllen</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QCheckBox" name="ChBReceiptsForLocalClients">
<property name="text">
<string>Print receipt for local client</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_Receipts">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="ChBRamDisk">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Use ramdisk for gamesafe file</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBox_5">
<widget class="QCheckBox" name="ChBSessionWithoutAttachedClients ">
<property name="text">
<string>Allow session without attached clients</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBox_6">
<widget class="QCheckBox" name="ChBautoStartClientZleaf ">
<property name="text">
<string>Start z-Leaf on clients with the session</string>
</property>
@ -545,14 +653,14 @@
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButt on">
<widget class="QPushButton" name="PBStartSessi on">
<property name="text">
<string>Start session</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_2 ">
<spacer name="VSpacerZtree ">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
@ -565,103 +673,110 @@
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="verticalLayoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>621</width>
<height>55</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label_15">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>Cleanup / recover last session</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2 ">
<layout class="QVBoxLayout" name="VLZleave">
<item>
<widget class="QPushButton" name="pushButton_2 ">
<widget class="QLabel" name="L_Zleaves">
<property name="text">
<string>Stop z-Tree</string>
<string>z-Leaves</string>
</property>
<property name="margin">
<number>4</number>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_3">
<widget class="QPushButton" name="PBStartzLeaf">
<property name="toolTip">
<string>Starts zLeaf on the selected clients with the port given in the 'zTree' groupbox.</string>
</property>
<property name="text">
<string>Recover crashed session</string>
<string>Start z-Leaf on selected clients</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="Line" name="line">
<widget class="Line" name="line_StartZleaves">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="verticalLayoutWidget_6">
<property name="geometry">
<rect>
<x>330</x>
<y>100</y>
<width>301</width>
<height>361</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_13">
<item>
<widget class="QLabel" name="label_6">
<widget class="QLabel" name="LFakeName">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Template for receipts:</string>
<string><html><head/><body><p>Run zLeaf with another name<br/>(select a single client):</p></body></html></string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
</property>
<property name="scaledContents">
<bool>false</bool>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_3"/>
</item>
<widget class="QComboBox" name="CBClientNames">
<property name="editable">
<bool>true</bool>
</property>
<property name="currentText">
<string>Choose the name z-Leaf shall have</string>
</property>
<item>
<widget class="QCheckBox" name="checkBox_3">
<property name="text">
<string>Print anonymous receipts</string>
<string>Choose the name z-Leaf shall have </string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="label_7 ">
<widget class="QPushButton" name="PBRunzLeaf ">
<property name="text">
<string>Substitute participant names with:</string>
<string>Run z-Leaf with chosen name</string>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_RunWithOtherName">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_4"/>
<layout class="QHBoxLayout" name="HLLocalzLeaf">
<item>
<widget class="QPushButton" name="PBStartLocalzLeaf">
<property name="text">
<string>Start local z-Leaf</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBox_4">
<widget class="QPushButton" name="PBKillLocalzLeaf ">
<property name="text">
<string>Print receipt for local client</string>
<string>Stop local z-Leaf </string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer">
<spacer name="VSpacerTemplates ">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
@ -674,6 +789,10 @@
</spacer>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<widget class="QWidget" name="TAdminActions">
@ -793,7 +912,7 @@
</item>
</layout>
</widget>
<widget class="QWidget" name="tab ">
<widget class="QWidget" name="TSettings ">
<attribute name="title">
<string>Settings</string>
</attribute>
@ -802,8 +921,8 @@
<rect>
<x>10</x>
<y>10</y>
<width>37 1</width>
<height>45 1</height>
<width>31 1</width>
<height>20 1</height>
</rect>
</property>
<layout class="QFormLayout" name="formLayout">
@ -879,17 +998,6 @@
</item>
</layout>
</widget>
<widget class="QWidget" name="formLayoutWidget_2">
<property name="geometry">
<rect>
<x>390</x>
<y>10</y>
<width>381</width>
<height>451</height>
</rect>
</property>
<layout class="QFormLayout" name="formLayout_2"/>
</widget>
</widget>
<widget class="QWidget" name="TInfo">
<property name="layoutDirection">
@ -918,15 +1026,65 @@
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>256</height>
</size>
</property>
<property name="showGrid">
<property name="font">
<font>
<pointsize>8</pointsize>
</font>
</property>
<property name="acceptDrops">
<bool>false</bool>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="autoScroll">
<bool>false</bool>
</property>
<property name="showGrid">
<bool>true</bool>
</property>
<property name="cornerButtonEnabled">
<bool>true</bool>
</property>
<attribute name="horizontalHeaderVisible">
<bool>true</bool>
</attribute>
<attribute name="horizontalHeaderCascadingSectionResizes">
<bool>true</bool>
</attribute>
<attribute name="horizontalHeaderDefaultSectionSize">
<number>115</number>
</attribute>
<attribute name="horizontalHeaderMinimumSectionSize">
<number>30</number>
</attribute>
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
<attribute name="verticalHeaderVisible">
<bool>true</bool>
</attribute>
<attribute name="verticalHeaderDefaultSectionSize">
<number>35</number>
</attribute>
<attribute name="verticalHeaderMinimumSectionSize">
<number>25</number>
</attribute>
<attribute name="verticalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
</widget>
</item>
</layout>