introduce a tab widget for the server GUI (as proposed in #367)

This commit is contained in:
Volker Fischer 2020-07-09 16:13:40 +02:00
parent 663de1d92e
commit d0f4b9b6a0

View file

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>588</width>
<height>447</height>
<height>435</height>
</rect>
</property>
<property name="windowTitle">
@ -47,21 +47,21 @@
</widget>
</item>
<item>
<widget class="QCheckBox" name="chbStartOnOSStart">
<property name="text">
<string>Start Minimized on Windows Start</string>
<widget class="QTabWidget" name="tabWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="chbUseCCLicence">
<property name="text">
<string>Show Creative Commons BY-NC-SA 4.0 Licence Dialog</string>
<property name="currentIndex">
<number>0</number>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout">
<widget class="QWidget" name="tabServerSetup">
<attribute name="title">
<string>Server Setup</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QCheckBox" name="chbRegisterServer">
<property name="text">
@ -69,8 +69,6 @@
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout">
<item>
@ -108,20 +106,6 @@
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout">
<item>
<widget class="QLabel" name="lblCentralServerAddress">
<property name="text">
<string>Custom Central Server Address:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="edtCentralServerAddress"/>
</item>
</layout>
</item>
<item>
<widget class="QGroupBox" name="grbServerInfo">
<property name="title">
@ -169,27 +153,6 @@
</layout>
</widget>
</item>
<item>
<layout class="QHBoxLayout">
<item>
<widget class="QPushButton" name="pbtRecordingDir">
<property name="text">
<string>Recording Directory</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="edtRecordingDir">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbtClearRecordingDir"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout">
<item>
@ -222,6 +185,13 @@
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="tabOptions">
<attribute name="title">
<string>Options</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
@ -236,6 +206,59 @@
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout">
<item>
<widget class="QPushButton" name="pbtRecordingDir">
<property name="text">
<string>Recording Directory</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="edtRecordingDir">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbtClearRecordingDir"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout">
<item>
<widget class="QLabel" name="lblCentralServerAddress">
<property name="text">
<string>Custom Central Server Address:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="edtCentralServerAddress"/>
</item>
</layout>
</item>
<item>
<widget class="QCheckBox" name="chbStartOnOSStart">
<property name="text">
<string>Start Minimized on Windows Start</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="chbUseCCLicence">
<property name="text">
<string>Show Creative Commons BY-NC-SA 4.0 Licence Dialog</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<customwidgets>
@ -247,21 +270,22 @@
</customwidgets>
<tabstops>
<tabstop>lvwClients</tabstop>
<tabstop>chbStartOnOSStart</tabstop>
<tabstop>chbUseCCLicence</tabstop>
<tabstop>tabWidget</tabstop>
<tabstop>chbRegisterServer</tabstop>
<tabstop>cbxCentServAddrType</tabstop>
<tabstop>edtCentralServerAddress</tabstop>
<tabstop>edtServerName</tabstop>
<tabstop>edtLocationCity</tabstop>
<tabstop>cbxLocationCountry</tabstop>
<tabstop>pbtRecordingDir</tabstop>
<tabstop>edtRecordingDir</tabstop>
<tabstop>tbtClearRecordingDir</tabstop>
<tabstop>chbEnableRecorder</tabstop>
<tabstop>edtCurrentSessionDir</tabstop>
<tabstop>pbtNewRecording</tabstop>
<tabstop>cbxLanguage</tabstop>
<tabstop>pbtRecordingDir</tabstop>
<tabstop>edtRecordingDir</tabstop>
<tabstop>tbtClearRecordingDir</tabstop>
<tabstop>edtCentralServerAddress</tabstop>
<tabstop>chbStartOnOSStart</tabstop>
<tabstop>chbUseCCLicence</tabstop>
</tabstops>
<resources>
<include location="resources.qrc"/>