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