Commit 40def4cf authored by Edric Milaret's avatar Edric Milaret

turn: add turn settings accesor

Issue: #78300
Change-Id: Ibc44514c45b01e79e64c0dacaf3fa4ac2589599d
parent 7cb55bb2
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>748</width> <width>748</width>
<height>657</height> <height>677</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
...@@ -469,6 +469,21 @@ ...@@ -469,6 +469,21 @@
<string>Advanced</string> <string>Advanced</string>
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout_7"> <layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<widget class="QScrollArea" name="scrollArea">
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>693</width>
<height>685</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_11">
<item> <item>
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
<property name="font"> <property name="font">
...@@ -699,27 +714,69 @@ ...@@ -699,27 +714,69 @@
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="placeholderText">
<string>Server URL</string>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_11"> <layout class="QFormLayout" name="formLayout_6">
<property name="topMargin"> <property name="topMargin">
<number>0</number> <number>0</number>
</property> </property>
<item> <property name="bottomMargin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QCheckBox" name="lrcfg_turnEnabled"> <widget class="QCheckBox" name="lrcfg_turnEnabled">
<property name="text"> <property name="text">
<string>Use TURN</string> <string>Use TURN</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="0" column="1">
<widget class="QLineEdit" name="lrcfg_sipTurnServer"> <widget class="QLineEdit" name="lrcfg_turnServer">
<property name="enabled">
<bool>false</bool>
</property>
<property name="placeholderText">
<string>Server URL</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="lrcfg_turnServerUsername">
<property name="enabled">
<bool>false</bool>
</property>
<property name="placeholderText">
<string>Username</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="lrcfg_turnServerPassword">
<property name="enabled">
<bool>false</bool>
</property>
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
<property name="placeholderText">
<string>Password</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="lrcfg_turnServerRealm">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="placeholderText">
<string>Realm</string>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>
...@@ -915,6 +972,10 @@ ...@@ -915,6 +972,10 @@
</item> </item>
</layout> </layout>
</widget> </widget>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="securityTab"> <widget class="QWidget" name="securityTab">
<attribute name="title"> <attribute name="title">
<string>Security</string> <string>Security</string>
...@@ -1281,7 +1342,7 @@ ...@@ -1281,7 +1342,7 @@
<connection> <connection>
<sender>lrcfg_turnEnabled</sender> <sender>lrcfg_turnEnabled</sender>
<signal>toggled(bool)</signal> <signal>toggled(bool)</signal>
<receiver>lrcfg_sipTurnServer</receiver> <receiver>lrcfg_turnServer</receiver>
<slot>setEnabled(bool)</slot> <slot>setEnabled(bool)</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
...@@ -1317,8 +1378,8 @@ ...@@ -1317,8 +1378,8 @@
<slot>setEnabled(bool)</slot> <slot>setEnabled(bool)</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>143</x> <x>154</x>
<y>257</y> <y>288</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>327</x> <x>327</x>
...@@ -1333,8 +1394,8 @@ ...@@ -1333,8 +1394,8 @@
<slot>setEnabled(bool)</slot> <slot>setEnabled(bool)</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>88</x> <x>99</x>
<y>260</y> <y>288</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>289</x> <x>289</x>
...@@ -1365,12 +1426,12 @@ ...@@ -1365,12 +1426,12 @@
<slot>setEnabled(bool)</slot> <slot>setEnabled(bool)</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>188</x> <x>199</x>
<y>259</y> <y>288</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>257</x> <x>474</x>
<y>415</y> <y>448</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
...@@ -1381,8 +1442,8 @@ ...@@ -1381,8 +1442,8 @@
<slot>setEnabled(bool)</slot> <slot>setEnabled(bool)</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>115</x> <x>126</x>
<y>258</y> <y>288</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>261</x> <x>261</x>
...@@ -1397,8 +1458,8 @@ ...@@ -1397,8 +1458,8 @@
<slot>setEnabled(bool)</slot> <slot>setEnabled(bool)</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>217</x> <x>228</x>
<y>257</y> <y>288</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>244</x> <x>244</x>
...@@ -1413,12 +1474,12 @@ ...@@ -1413,12 +1474,12 @@
<slot>setEnabled(bool)</slot> <slot>setEnabled(bool)</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>52</x> <x>63</x>
<y>261</y> <y>288</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>259</x> <x>476</x>
<y>523</y> <y>559</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
...@@ -1429,12 +1490,12 @@ ...@@ -1429,12 +1490,12 @@
<slot>setEnabled(bool)</slot> <slot>setEnabled(bool)</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>240</x> <x>251</x>
<y>261</y> <y>288</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>180</x> <x>191</x>
<y>565</y> <y>592</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
...@@ -1445,12 +1506,12 @@ ...@@ -1445,12 +1506,12 @@
<slot>setEnabled(bool)</slot> <slot>setEnabled(bool)</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>333</x> <x>344</x>
<y>258</y> <y>288</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>288</x> <x>299</x>
<y>584</y> <y>624</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
...@@ -1461,12 +1522,12 @@ ...@@ -1461,12 +1522,12 @@
<slot>setEnabled(bool)</slot> <slot>setEnabled(bool)</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>369</x> <x>380</x>
<y>262</y> <y>288</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>375</x> <x>386</x>
<y>625</y> <y>656</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
...@@ -1477,8 +1538,8 @@ ...@@ -1477,8 +1538,8 @@
<slot>setEnabled(bool)</slot> <slot>setEnabled(bool)</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>373</x> <x>384</x>
<y>255</y> <y>288</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>195</x> <x>195</x>
...@@ -1493,8 +1554,8 @@ ...@@ -1493,8 +1554,8 @@
<slot>setEnabled(bool)</slot> <slot>setEnabled(bool)</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>373</x> <x>384</x>
<y>255</y> <y>288</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>551</x> <x>551</x>
...@@ -1525,12 +1586,12 @@ ...@@ -1525,12 +1586,12 @@
<slot>setDisabled(bool)</slot> <slot>setDisabled(bool)</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>156</x> <x>169</x>
<y>544</y> <y>584</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>158</x> <x>171</x>
<y>578</y> <y>616</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
...@@ -1541,12 +1602,60 @@ ...@@ -1541,12 +1602,60 @@
<slot>setDisabled(bool)</slot> <slot>setDisabled(bool)</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>102</x> <x>115</x>
<y>548</y> <y>584</y>
</hint>
<hint type="destinationlabel">
<x>117</x>
<y>648</y>
</hint>
</hints>
</connection>
<connection>
<sender>lrcfg_turnEnabled</sender>
<signal>toggled(bool)</signal>
<receiver>lrcfg_turnServerUsername</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>90</x>
<y>380</y>
</hint>
<hint type="destinationlabel">
<x>187</x>
<y>432</y>
</hint>
</hints>
</connection>
<connection>
<sender>lrcfg_turnEnabled</sender>
<signal>toggled(bool)</signal>
<receiver>lrcfg_turnServerPassword</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>51</x>
<y>375</y>
</hint>
<hint type="destinationlabel">
<x>164</x>
<y>468</y>
</hint>
</hints>
</connection>
<connection>
<sender>lrcfg_turnEnabled</sender>
<signal>toggled(bool)</signal>
<receiver>lrcfg_turnServerRealm</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>39</x>
<y>378</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>104</x> <x>170</x>
<y>608</y> <y>503</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
......
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