Commit a9ddfd06 authored by Tijmen de Mes's avatar Tijmen de Mes

Reorganized advanced preferences

parent fb66f104
......@@ -43,7 +43,7 @@
<property name="bottomMargin">
<number>3</number>
</property>
<item row="0" column="0">
<item row="1" column="0">
<widget class="QStackedWidget" name="pages">
<property name="currentIndex">
<number>0</number>
......@@ -3123,115 +3123,74 @@
<number>0</number>
</property>
<item>
<widget class="QGroupBox" name="advanced_group_box">
<widget class="QPushButton" name="transfers_directory_browse_button">
<property name="geometry">
<rect>
<x>789</x>
<y>260</y>
<width>85</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>Browse</string>
</property>
</widget>
<widget class="Line" name="line_14">
<property name="geometry">
<rect>
<x>18</x>
<y>365</y>
<width>856</width>
<height>16</height>
</rect>
<widget class="QTabWidget" name="advanced_page_tab_widget">
<property name="currentIndex">
<number>0</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
<widget class="QWidget" name="sip_and_rtp_tab">
<attribute name="title">
<string>SIP and RTP</string>
</attribute>
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>10</number>
</property>
</widget>
<widget class="QLabel" name="transfers_directory_label">
<property name="geometry">
<rect>
<x>10</x>
<y>262</y>
<width>147</width>
<height>17</height>
</rect>
<property name="topMargin">
<number>10</number>
</property>
<property name="text">
<string>Save received files to:</string>
<property name="rightMargin">
<number>10</number>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<property name="bottomMargin">
<number>10</number>
</property>
</widget>
<widget class="QLabel" name="tcp_port_label">
<property name="geometry">
<rect>
<x>314</x>
<y>97</y>
<width>64</width>
<height>17</height>
</rect>
<item row="4" column="0">
<widget class="QCheckBox" name="enable_udp_button">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<property name="font">
<font>
<kerning>true</kerning>
</font>
</property>
<property name="text">
<string>TCP port:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<string>Enable UDP</string>
</property>
</widget>
<widget class="QLabel" name="tls_port_label">
<property name="geometry">
<rect>
<x>316</x>
<y>130</y>
<width>62</width>
<height>17</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>TLS port:</string>
</item>
<item row="1" column="0" colspan="5">
<widget class="Line" name="line_7">
<property name="minimumSize">
<size>
<width>0</width>
<height>10</height>
</size>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QCheckBox" name="enable_udp_button">
<property name="geometry">
<rect>
<x>171</x>
<y>60</y>
<width>110</width>
<height>22</height>
</rect>
</item>
<item row="0" column="0">
<widget class="QLabel" name="transports_label">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
<kerning>true</kerning>
</font>
</property>
<property name="text">
<string>Enable UDP</string>
<string>Transports</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="10" column="2">
<widget class="QSpinBox" name="media_ports_start">
<property name="geometry">
<rect>
<x>386</x>
<y>159</y>
<width>74</width>
<height>27</height>
</rect>
</property>
<property name="minimum">
<number>10000</number>
</property>
......@@ -3245,15 +3204,19 @@
<number>50000</number>
</property>
</widget>
<widget class="QLabel" name="udp_port_label">
<property name="geometry">
<rect>
<x>313</x>
<y>65</y>
<width>67</width>
<height>17</height>
</rect>
</item>
<item row="6" column="2">
<widget class="SIPPortEditor" name="tls_port">
<property name="specialValueText">
<string>Auto</string>
</property>
<property name="maximum">
<number>65535</number>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLabel" name="udp_port_label">
<property name="text">
<string>UDP port:</string>
</property>
......@@ -3261,47 +3224,61 @@
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="starting_at_label">
<property name="geometry">
<rect>
<x>303</x>
<y>162</y>
<width>75</width>
<height>17</height>
</rect>
</item>
<item row="4" column="4">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="6" column="1">
<widget class="QLabel" name="tls_port_label">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>starting at:</string>
<string>TLS port:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="LocationBar" name="tls_ca_file_editor">
<property name="geometry">
<rect>
<x>171</x>
<y>390</y>
<width>601</width>
<height>27</height>
</rect>
</property>
<property name="toolTip">
<string>The cerfiticate authority used to validate TLS connections</string>
</item>
<item row="5" column="2">
<widget class="SIPPortEditor" name="tcp_port">
<property name="specialValueText">
<string>Auto</string>
</property>
<property name="readOnly">
<bool>true</bool>
<property name="maximum">
<number>65535</number>
</property>
</widget>
<widget class="QLabel" name="sip_and_rtp_label">
<property name="geometry">
<rect>
<x>18</x>
<y>0</y>
<width>86</width>
<height>17</height>
</rect>
</item>
<item row="17" column="2">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="12" column="0">
<widget class="QLabel" name="label_2">
<property name="font">
<font>
<weight>75</weight>
......@@ -3309,290 +3286,244 @@
</font>
</property>
<property name="text">
<string>SIP and RTP</string>
<string>Auto answer</string>
</property>
</widget>
<widget class="QCheckBox" name="enable_tls_button">
<property name="geometry">
<rect>
<x>171</x>
<y>126</y>
<width>105</width>
<height>22</height>
</rect>
</item>
<item row="16" column="1">
<widget class="QSpinBox" name="auto_answer_interval">
<property name="value">
<number>15</number>
</property>
</widget>
</item>
<item row="16" column="2">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Enable TLS</string>
<string>seconds</string>
</property>
</widget>
<widget class="QPushButton" name="tls_ca_file_browse_button">
<property name="geometry">
<rect>
<x>789</x>
<y>390</y>
<width>85</width>
<height>27</height>
</rect>
</item>
<item row="4" column="2">
<widget class="SIPPortEditor" name="udp_port">
<property name="specialValueText">
<string>Auto</string>
</property>
<property name="text">
<string>Browse</string>
<property name="maximum">
<number>65535</number>
</property>
</widget>
<widget class="QLabel" name="screenshots_directory_label">
<property name="geometry">
<rect>
<x>18</x>
<y>290</y>
<width>139</width>
<height>17</height>
</rect>
</item>
<item row="5" column="1">
<widget class="QLabel" name="tcp_port_label">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Save screenshots to:</string>
<string>TCP port:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLineEdit" name="transfers_directory_editor">
<property name="geometry">
<rect>
<x>171</x>
<y>260</y>
<width>601</width>
<height>27</height>
</rect>
</property>
<property name="toolTip">
<string>Where to save received files</string>
</property>
<property name="readOnly">
</item>
<item row="13" column="0" colspan="5">
<widget class="Line" name="line_13">
<property name="enabled">
<bool>true</bool>
</property>
</widget>
<widget class="SIPPortEditor" name="tls_port">
<property name="geometry">
<rect>
<x>386</x>
<y>126</y>
<width>74</width>
<height>27</height>
</rect>
</property>
<property name="specialValueText">
<string>Auto</string>
</property>
<property name="maximum">
<number>65535</number>
<property name="minimumSize">
<size>
<width>0</width>
<height>10</height>
</size>
</property>
</widget>
<widget class="Line" name="line_12">
<property name="geometry">
<rect>
<x>18</x>
<y>14</y>
<width>856</width>
<height>16</height>
</rect>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="SIPPortEditor" name="tcp_port">
<property name="geometry">
<rect>
<x>386</x>
<y>93</y>
<width>74</width>
<height>27</height>
</rect>
</item>
<item row="10" column="0">
<widget class="QSpinBox" name="media_ports">
<property name="correctionMode">
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
</property>
<property name="specialValueText">
<string>Auto</string>
<property name="minimum">
<number>10</number>
</property>
<property name="maximum">
<number>65535</number>
<number>10000</number>
</property>
</widget>
<widget class="QCheckBox" name="enable_tcp_button">
<property name="geometry">
<rect>
<x>171</x>
<y>93</y>
<width>107</width>
<height>22</height>
</rect>
<property name="singleStep">
<number>10</number>
</property>
<property name="text">
<string>Enable TCP</string>
<property name="value">
<number>500</number>
</property>
</widget>
<widget class="QLabel" name="tls_ca_file_label">
<property name="geometry">
<rect>
<x>10</x>
<y>392</y>
<width>148</width>
<height>18</height>
</rect>
</property>
</item>
<item row="10" column="1" alignment="Qt::AlignRight">
<widget class="QLabel" name="starting_at_label">
<property name="text">
<string>Certificate Authority:</string>
<string>starting at:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="media_ports_label">
<property name="geometry">
<rect>
<x>90</x>
<y>160</y>
<width>71</width>
<height>17</height>
</rect>
</property>
<property name="toolTip">
<string>How many media ports to use and starting from what address</string>
</property>
<property name="text">
<string>RTP Ports:</string>
</item>
<item row="9" column="0" colspan="5">
<widget class="Line" name="line_12">
<property name="minimumSize">
<size>
<width>0</width>
<height>10</height>
</size>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QLabel" name="tls_settings_label">
<property name="geometry">
<rect>
<x>18</x>
<y>350</y>
<width>89</width>
<height>17</height>
</rect>
</property>
</item>
<item row="7" column="0">
<widget class="QLabel" name="media_ports_label">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>TLS settings</string>
<property name="toolTip">
<string>How many media ports to use and starting from what address</string>
</property>
</widget>
<widget class="Line" name="line_13">
<property name="geometry">
<rect>
<x>18</x>
<y>237</y>
<width>856</width>
<height>16</height>
</rect>
<property name="text">
<string>RTP Ports</string>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="files_and_directories_label">
<property name="geometry">
<rect>
<x>18</x>
<y>221</y>
<width>145</width>
<height>17</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
</item>
<item row="5" column="0">
<widget class="QCheckBox" name="enable_tcp_button">
<property name="text">
<string>Files and directories</string>
<string>Enable TCP</string>
</property>
</widget>
<widget class="QLabel" name="transports_label">
<property name="geometry">
<rect>
<x>18</x>
<y>58</y>
<width>77</width>
<height>17</height>
</rect>
</item>
<item row="6" column="0">
<widget class="QCheckBox" name="enable_tls_button">
<property name="text">
<string>Enable TLS</string>
</property>
</widget>
</item>
<item row="16" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Transports:</string>
<string>Interval</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QSpinBox" name="media_ports">
<property name="geometry">
<rect>
<x>171</x>
<y>157</y>
<width>74</width>
<height>27</height>
</rect>
</item>
<item row="2" column="1" colspan="2">
<widget class="QLabel" name="port_note_label">
<property name="enabled">
<bool>false</bool>
</property>
<property name="correctionMode">
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimum">
<property name="text">
<string>Set ports to 0 for automatic allocation</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="indent">
<number>5</number>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="files_and_directories_tab">
<attribute name="title">
<string>Files and directories</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_4">
<property name="leftMargin">
<number>10</number>
</property>
<property name="maximum">
<number>10000</number>
<property name="topMargin">
<number>10</number>
</property>
<property name="singleStep">
<property name="rightMargin">
<number>10</number>
</property>
<property name="value">
<number>500</number>
<property name="bottomMargin">
<number>10</number>
</property>
</widget>
<widget class="SIPPortEditor" name="udp_port">
<property name="geometry">
<rect>
<x>386</x>
<y>60</y>
<width>74</width>
<height>27</height>
</rect>
<property name="spacing">
<number>5</number>
</property>
<property name="specialValueText">
<string>Auto</string>
<item row="0" column="1">
<widget class="QLineEdit" name="transfers_directory_editor">
<property name="toolTip">
<string>Where to save received files</string>
</property>
<property name="maximum">
<number>65535</number>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="transfers_directory_label">
<property name="text">
<string>Save received files to:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QPushButton" name="screenshots_directory_browse_button">
<property name="geometry">
<rect>
<x>789</x>
<y>290</y>
<width>85</width>
<height>27</height>
</rect>
<property name="text">
<string>Browse</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="transfers_directory_browse_button">
<property name="text">
<string>Browse</string>
</property>
</widget>
<widget class="QLineEdit" name="screenshots_directory_editor">
<property name="geometry">
<rect>
<x>171</x>
<y>290</y>
<width>601</width>
<height>27</height>
</rect>
</item>
<item row="2" column="0">
<widget class="QLabel" name="screenshots_directory_label">
<property name="text">
<string>Save screenshots to:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="screenshots_directory_editor">
<property name="toolTip">
<string>Where to save screenshots taken from video or screen sharing sessions</string>
</property>
......@@ -3600,40 +3531,44 @@
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="port_note_label">
<property name="geometry">
<rect>
<x>180</x>
<y>30</y>
<width>288</width>
<height>22</height>
</rect>
</item>
<item row="3" column="0">
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>Set ports to 0 for automatic allocation</string>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="tls_settings_tab">
<attribute name="title">
<string>TLS settings</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_5">
<property name="leftMargin">
<number>10</number>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
<property name="topMargin">
<number>10</number>
</property>
<property name="indent">
<property name="rightMargin">
<number>10</number>
</property>
<property name="bottomMargin">
<number>10</number>
</property>
<property name="spacing">
<number>5</number>
</property>
</widget>
<item row="2" column="2">
<widget class="QCheckBox" name="tls_verify_server_button">
<property name="geometry">
<rect>
<x>170</x>
<y>460</y>
<width>453</width>
<height>22</height>
</rect>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Clicke to enable verification of peer certificate. Yoiu can set the name to be verified in Advanced SIP account settings&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
......@@ -3641,15 +3576,33 @@
<string>Verify server</string>
</property>
</widget>
<widget class="QLabel" name="tls_cert_file_label">
<property name="geometry">
<rect>
<x>20</x>
<y>420</y>
<width>140</width>
<height>21</height>
</rect>
</item>
<item row="0" column="2">
<widget class="LocationBar" name="tls_ca_file_editor">
<property name="toolTip">
<string>The cerfiticate authority used to validate TLS connections</string>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QPushButton" name="tls_ca_file_browse_button">
<property name="text">
<string>Browse</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QPushButton" name="tls_cert_file_browse_button">
<property name="text">
<string>Browse</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="tls_cert_file_label">
<property name="minimumSize">
<size>
<width>140</width>
......@@ -3663,15 +3616,9 @@
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="LocationBar" name="tls_cert_file_editor">
<property name="geometry">
<rect>
<x>170</x>
<y>420</y>
<width>601</width>
<height>27</height>
</rect>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Certificate and private key in PEM format used by TLS transport&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
......@@ -3679,57 +3626,31 @@
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="tls_cert_file_browse_button">
<property name="geometry">
<rect>
<x>790</x>
<y>420</y>
<width>85</width>
<height>27</height>
</rect>
</property>
</item>
<item row="0" column="0" colspan="2">
<widget class="QLabel" name="tls_ca_file_label">
<property name="text">
<string>Browse</string>
</property>
</widget>
<widget class="QSpinBox" name="auto_answer_interval">
<property name="geometry">
<rect>
<x>680</x>
<y>60</y>
<width>48</width>
<height>27</height>
</rect>
</property>
<property name="value">
<number>15</number>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>530</x>
<y>65</y>
<width>151</width>
<height>17</height>
</rect>
<string>Certificate Authority:</string>
</property>
<property name="text">
<string>Auto answer interval:</string>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>738</x>
<y>65</y>
<width>71</width>
<height>17</height>
</rect>
</item>
<item row="3" column="2">
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="text">
<string>seconds</string>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment