From b51f0b52da208562e44f26571955c06aa33d0f2b Mon Sep 17 00:00:00 2001 From: Ming Rui Zhang <mingrui.zhang@savoirfairelinux.com> Date: Fri, 27 Sep 2019 16:40:14 -0400 Subject: [PATCH] advancedsipsettingswidget: change widget size policy - make sure that ui resizes correctly Change-Id: Ibc33a801e70b80be93f34776bd0273e57637728f --- advancedsipsettingwidget.ui | 794 ++++++++++++++++++++++++------------ 1 file changed, 541 insertions(+), 253 deletions(-) diff --git a/advancedsipsettingwidget.ui b/advancedsipsettingwidget.ui index b62cb83..8a65e47 100644 --- a/advancedsipsettingwidget.ui +++ b/advancedsipsettingwidget.ui @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>731</width> - <height>1775</height> + <width>549</width> + <height>1773</height> </rect> </property> <property name="windowTitle"> @@ -62,7 +62,7 @@ <enum>Qt::Vertical</enum> </property> <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> + <enum>QSizePolicy::MinimumExpanding</enum> </property> <property name="sizeHint" stdset="0"> <size> @@ -87,6 +87,12 @@ </property> <item> <widget class="ToggleSwitch" name="checkBoxAutoAnswerSIP" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="minimumSize"> <size> <width>0</width> @@ -106,11 +112,11 @@ </layout> </item> <item> - <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0"> + <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0"> <item> <widget class="ToggleSwitch" name="checkBoxCustomRingtoneSIP" native="true"> <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> @@ -131,11 +137,33 @@ </property> </widget> </item> + <item> + <spacer name="horizontalSpacer_18"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::MinimumExpanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> <item> <widget class="QPushButton" name="btnRingtoneSIP"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="minimumSize"> <size> - <width>300</width> + <width>250</width> <height>30</height> </size> </property> @@ -165,7 +193,7 @@ <enum>Qt::Vertical</enum> </property> <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> + <enum>QSizePolicy::MinimumExpanding</enum> </property> <property name="sizeHint" stdset="0"> <size> @@ -195,7 +223,7 @@ <enum>Qt::Vertical</enum> </property> <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> + <enum>QSizePolicy::MinimumExpanding</enum> </property> <property name="sizeHint" stdset="0"> <size> @@ -218,38 +246,10 @@ <property name="leftMargin"> <number>0</number> </property> - <item row="12" column="0"> - <widget class="QLabel" name="label_10"> - <property name="font"> - <font> - <pointsize>10</pointsize> - </font> - </property> - <property name="text"> - <string>Outgoing TLS Server Name</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <spacer name="horizontalSpacer_7"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::MinimumExpanding</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item row="7" column="0"> - <layout class="QHBoxLayout" name="horizontalLayout_25"> + <item row="4" column="0"> + <layout class="QHBoxLayout" name="horizontalLayout_22"> <item> - <spacer name="horizontalSpacer_21"> + <spacer name="horizontalSpacer_16"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> @@ -265,28 +265,40 @@ </spacer> </item> <item> - <widget class="QLabel" name="label_21"> + <widget class="QLabel" name="label_18"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> </font> </property> <property name="text"> - <string>Private Key Password</string> + <string>CA Certificate</string> </property> </widget> </item> </layout> </item> - <item row="1" column="0"> - <widget class="ToggleSwitch" name="enableSDESToggle" native="true"> + <item row="13" column="0"> + <widget class="QLabel" name="label_12"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> </font> </property> - <property name="text" stdset="0"> - <string>Enable SDES (Key Exchange)</string> + <property name="text"> + <string>Negotitation Timeout (seconds)</string> </property> </widget> </item> @@ -310,6 +322,12 @@ </item> <item> <widget class="QLabel" name="label_20"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> @@ -322,32 +340,24 @@ </item> </layout> </item> - <item row="9" column="0"> - <widget class="ToggleSwitch" name="verifyIncomingCertificatesClientToogle" native="true"> - <property name="font"> - <font> - <pointsize>10</pointsize> - </font> - </property> - <property name="text" stdset="0"> - <string>Verify Certificates (Client Side)</string> + <item row="4" column="1"> + <spacer name="horizontalSpacer_17"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> </property> - </widget> - </item> - <item row="11" column="0"> - <widget class="QLabel" name="label_11"> - <property name="font"> - <font> - <pointsize>10</pointsize> - </font> + <property name="sizeType"> + <enum>QSizePolicy::MinimumExpanding</enum> </property> - <property name="text"> - <string>TLS Protocol Method</string> + <property name="sizeHint" stdset="0"> + <size> + <width>0</width> + <height>20</height> + </size> </property> - </widget> + </spacer> </item> - <item row="2" column="1"> - <spacer name="horizontalSpacer_22"> + <item row="0" column="1"> + <spacer name="horizontalSpacer_7"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> @@ -356,16 +366,60 @@ </property> <property name="sizeHint" stdset="0"> <size> - <width>40</width> + <width>0</width> <height>20</height> </size> </property> </spacer> </item> - <item row="5" column="2"> - <layout class="QHBoxLayout" name="horizontalLayout_6"> + <item row="5" column="0"> + <layout class="QHBoxLayout" name="horizontalLayout_23"> <item> - <widget class="QPushButton" name="btnSIPUserCert"> + <spacer name="horizontalSpacer_19"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Fixed</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QLabel" name="label_19"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="font"> + <font> + <pointsize>10</pointsize> + </font> + </property> + <property name="text"> + <string>User Certificate</string> + </property> + </widget> + </item> + </layout> + </item> + <item row="4" column="2"> + <layout class="QHBoxLayout" name="horizontalLayout_5"> + <item> + <widget class="QPushButton" name="btnSIPCACert"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="minimumSize"> <size> <width>250</width> @@ -391,12 +445,12 @@ </item> </layout> </item> - <item row="4" column="2"> - <layout class="QHBoxLayout" name="horizontalLayout_5"> + <item row="5" column="2"> + <layout class="QHBoxLayout" name="horizontalLayout_6"> <item> - <widget class="QPushButton" name="btnSIPCACert"> + <widget class="QPushButton" name="btnSIPUserCert"> <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> @@ -426,42 +480,52 @@ </item> </layout> </item> - <item row="8" column="1"> - <spacer name="horizontalSpacer_18"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> + <item row="2" column="0"> + <widget class="ToggleSwitch" name="fallbackRTPToggle" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - <property name="sizeType"> - <enum>QSizePolicy::MinimumExpanding</enum> + <property name="font"> + <font> + <pointsize>10</pointsize> + </font> </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> + <property name="text" stdset="0"> + <string>Can Fallback on RTP</string> </property> - </spacer> + </widget> </item> - <item row="3" column="1"> - <spacer name="horizontalSpacer_17"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> + <item row="11" column="0"> + <widget class="QLabel" name="label_11"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - <property name="sizeType"> - <enum>QSizePolicy::MinimumExpanding</enum> + <property name="font"> + <font> + <pointsize>10</pointsize> + </font> </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> + <property name="text"> + <string>TLS Protocol Method</string> </property> - </spacer> + </widget> </item> <item row="6" column="2"> <layout class="QHBoxLayout" name="horizontalLayout_7"> <item> <widget class="QPushButton" name="btnSIPPrivateKey"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="minimumSize"> <size> <width>250</width> @@ -487,173 +551,176 @@ </item> </layout> </item> - <item row="3" column="0"> - <widget class="ToggleSwitch" name="encryptNegotitationToggle" native="true"> + <item row="7" column="0"> + <layout class="QHBoxLayout" name="horizontalLayout_25"> + <item> + <spacer name="horizontalSpacer_21"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Fixed</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QLabel" name="label_21"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="font"> + <font> + <pointsize>10</pointsize> + </font> + </property> + <property name="text"> + <string>Private Key Password</string> + </property> + </widget> + </item> + </layout> + </item> + <item row="7" column="2"> + <widget class="QLineEdit" name="lineEditSIPCertPassword"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>250</width> + <height>0</height> + </size> + </property> <property name="font"> <font> <pointsize>10</pointsize> </font> </property> - <property name="text" stdset="0"> - <string>Encrypt Negotiation (TLS)</string> + <property name="echoMode"> + <enum>QLineEdit::PasswordEchoOnEdit</enum> + </property> + <property name="placeholderText"> + <string/> </property> </widget> </item> - <item row="8" column="0"> - <widget class="ToggleSwitch" name="verifyIncomingCertificatesServerToogle" native="true"> + <item row="3" column="0"> + <widget class="ToggleSwitch" name="encryptNegotitationToggle" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> </font> </property> <property name="text" stdset="0"> - <string>Verify Certificates (Server Side)</string> + <string>Encrypt Negotiation (TLS)</string> </property> </widget> </item> - <item row="9" column="1"> - <spacer name="horizontalSpacer_14"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::MinimumExpanding</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> + <item row="1" column="0"> + <widget class="ToggleSwitch" name="enableSDESToggle" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - </spacer> - </item> - <item row="10" column="0"> - <widget class="ToggleSwitch" name="requireCeritificateForTLSIncomingToggle" native="true"> <property name="font"> <font> <pointsize>10</pointsize> </font> </property> <property name="text" stdset="0"> - <string>TLS Connections Require Certificate</string> + <string>Enable SDES (Key Exchange)</string> </property> </widget> </item> - <item row="1" column="1"> - <spacer name="horizontalSpacer_23"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::MinimumExpanding</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> + <item row="11" column="2"> + <widget class="QComboBox" name="tlsProtocolComboBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - </spacer> - </item> - <item row="0" column="0"> - <widget class="ToggleSwitch" name="encryptMediaStreamsToggle" native="true"> <property name="font"> <font> <pointsize>10</pointsize> </font> </property> - <property name="text" stdset="0"> - <string>Encrypt Media Streams (SRTP)</string> + <property name="insertPolicy"> + <enum>QComboBox::InsertAtBottom</enum> </property> </widget> </item> - <item row="13" column="2"> - <widget class="QSpinBox" name="negotiationTimeoutSpinBox"> + <item row="0" column="0"> + <widget class="ToggleSwitch" name="encryptMediaStreamsToggle" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> </font> </property> - <property name="maximum"> - <number>3000</number> + <property name="text" stdset="0"> + <string>Encrypt Media Streams (SRTP)</string> </property> </widget> </item> - <item row="4" column="0"> - <layout class="QHBoxLayout" name="horizontalLayout_22"> - <item> - <spacer name="horizontalSpacer_16"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item> - <widget class="QLabel" name="label_18"> - <property name="font"> - <font> - <pointsize>10</pointsize> - </font> - </property> - <property name="text"> - <string>CA Certificate</string> - </property> - </widget> - </item> - </layout> - </item> - <item row="2" column="0"> - <widget class="ToggleSwitch" name="fallbackRTPToggle" native="true"> + <item row="10" column="0"> + <widget class="ToggleSwitch" name="requireCeritificateForTLSIncomingToggle" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> </font> </property> <property name="text" stdset="0"> - <string>Can Fallback on RTP</string> + <string>TLS Connections Require Certificate</string> </property> </widget> </item> - <item row="5" column="0"> - <layout class="QHBoxLayout" name="horizontalLayout_23"> - <item> - <spacer name="horizontalSpacer_19"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item> - <widget class="QLabel" name="label_19"> - <property name="font"> - <font> - <pointsize>10</pointsize> - </font> - </property> - <property name="text"> - <string>User Certificate</string> - </property> - </widget> - </item> - </layout> + <item row="3" column="1"> + <spacer name="horizontalSpacer_13"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::MinimumExpanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>0</width> + <height>20</height> + </size> + </property> + </spacer> </item> <item row="10" column="1"> <spacer name="horizontalSpacer_15"> @@ -665,75 +732,166 @@ </property> <property name="sizeHint" stdset="0"> <size> - <width>40</width> + <width>0</width> <height>20</height> </size> </property> </spacer> </item> - <item row="7" column="2"> - <widget class="QLineEdit" name="lineEditSIPCertPassword"> + <item row="9" column="0"> + <widget class="ToggleSwitch" name="verifyIncomingCertificatesClientToogle" native="true"> <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> - <size> - <width>300</width> - <height>0</height> - </size> - </property> <property name="font"> <font> <pointsize>10</pointsize> </font> </property> - <property name="echoMode"> - <enum>QLineEdit::PasswordEchoOnEdit</enum> - </property> - <property name="placeholderText"> - <string/> + <property name="text" stdset="0"> + <string>Verify Certificates (Client Side)</string> </property> </widget> </item> - <item row="13" column="0"> - <widget class="QLabel" name="label_12"> + <item row="1" column="1"> + <spacer name="horizontalSpacer_23"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::MinimumExpanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>0</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item row="8" column="0"> + <widget class="ToggleSwitch" name="verifyIncomingCertificatesServerToogle" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> </font> </property> - <property name="text"> - <string>Negotitation Timeout (seconds)</string> + <property name="text" stdset="0"> + <string>Verify Certificates (Server Side)</string> </property> </widget> </item> - <item row="11" column="2"> - <widget class="QComboBox" name="tlsProtocolComboBox"> + <item row="8" column="1"> + <spacer name="horizontalSpacer_24"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::MinimumExpanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>0</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item row="13" column="2"> + <widget class="QSpinBox" name="negotiationTimeoutSpinBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> </font> </property> - <property name="insertPolicy"> - <enum>QComboBox::InsertAtBottom</enum> + <property name="maximum"> + <number>3000</number> </property> </widget> </item> <item row="12" column="2"> <widget class="QLineEdit" name="outgoingTLSServerNameLineEdit"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> </font> </property> <property name="echoMode"> - <enum>QLineEdit::PasswordEchoOnEdit</enum> + <enum>QLineEdit::Normal</enum> + </property> + </widget> + </item> + <item row="9" column="1"> + <spacer name="horizontalSpacer_14"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::MinimumExpanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>0</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item row="12" column="0"> + <widget class="QLabel" name="label_10"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="font"> + <font> + <pointsize>10</pointsize> + </font> + </property> + <property name="text"> + <string>Outgoing TLS Server Name</string> </property> </widget> </item> + <item row="2" column="1"> + <spacer name="horizontalSpacer_22"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::MinimumExpanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>0</width> + <height>20</height> + </size> + </property> + </spacer> + </item> </layout> </item> </layout> @@ -746,7 +904,7 @@ <enum>Qt::Vertical</enum> </property> <property name="sizeType"> - <enum>QSizePolicy::Minimum</enum> + <enum>QSizePolicy::MinimumExpanding</enum> </property> <property name="sizeHint" stdset="0"> <size> @@ -779,7 +937,7 @@ <enum>Qt::Vertical</enum> </property> <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> + <enum>QSizePolicy::MinimumExpanding</enum> </property> <property name="sizeHint" stdset="0"> <size> @@ -804,6 +962,12 @@ </property> <item row="6" column="2"> <widget class="QLineEdit" name="lineEditTurnPsswdSIP"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> @@ -818,6 +982,12 @@ <layout class="QHBoxLayout" name="horizontalLayout_27"> <item> <widget class="QLabel" name="label_23"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> @@ -832,6 +1002,12 @@ </item> <item row="8" column="2"> <widget class="QLineEdit" name="lineEditSTUNAddressSIP"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> @@ -844,6 +1020,12 @@ </item> <item row="5" column="2"> <widget class="QLineEdit" name="lineEditTurnUsernameSIP"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> @@ -895,6 +1077,12 @@ </item> <item> <widget class="QLabel" name="label_9"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> @@ -909,6 +1097,12 @@ </item> <item row="2" column="0"> <widget class="ToggleSwitch" name="checkBoxUPnPSIP" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> @@ -954,14 +1148,14 @@ <item row="4" column="2"> <widget class="QLineEdit" name="lineEditTurnAddressSIP"> <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> - <width>300</width> + <width>250</width> <height>0</height> </size> </property> @@ -1027,6 +1221,12 @@ <layout class="QHBoxLayout" name="horizontalLayout_26"> <item> <widget class="QLabel" name="label_22"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> @@ -1059,6 +1259,12 @@ </item> <item> <widget class="QLabel" name="label_8"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> @@ -1073,6 +1279,12 @@ </item> <item row="1" column="2"> <widget class="QSpinBox" name="networkInterfaceSpinBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> @@ -1085,6 +1297,12 @@ </item> <item row="0" column="2"> <widget class="QSpinBox" name="registrationExpireTimeoutSpinBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> @@ -1097,6 +1315,12 @@ </item> <item row="7" column="2"> <widget class="QLineEdit" name="lineEditTurnRealmSIP"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> @@ -1107,6 +1331,22 @@ </property> </widget> </item> + <item row="3" column="1"> + <spacer name="horizontalSpacer_28"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::MinimumExpanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> </layout> </item> </layout> @@ -1119,7 +1359,7 @@ <enum>Qt::Vertical</enum> </property> <property name="sizeType"> - <enum>QSizePolicy::Minimum</enum> + <enum>QSizePolicy::MinimumExpanding</enum> </property> <property name="sizeHint" stdset="0"> <size> @@ -1152,7 +1392,7 @@ <enum>Qt::Vertical</enum> </property> <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> + <enum>QSizePolicy::MinimumExpanding</enum> </property> <property name="sizeHint" stdset="0"> <size> @@ -1217,7 +1457,7 @@ </property> <property name="sizeHint" stdset="0"> <size> - <width>40</width> + <width>0</width> <height>20</height> </size> </property> @@ -1225,6 +1465,12 @@ </item> <item row="2" column="2"> <widget class="QSpinBox" name="customPortSIPSpinBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> @@ -1282,14 +1528,14 @@ <item row="1" column="2"> <widget class="QLineEdit" name="lineEditSIPCustomAddress"> <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> - <width>300</width> + <width>250</width> <height>0</height> </size> </property> @@ -1318,7 +1564,7 @@ <enum>Qt::Vertical</enum> </property> <property name="sizeType"> - <enum>QSizePolicy::Minimum</enum> + <enum>QSizePolicy::MinimumExpanding</enum> </property> <property name="sizeHint" stdset="0"> <size> @@ -1351,7 +1597,7 @@ <enum>Qt::Vertical</enum> </property> <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> + <enum>QSizePolicy::MinimumExpanding</enum> </property> <property name="sizeHint" stdset="0"> <size> @@ -1710,7 +1956,7 @@ <enum>Qt::Vertical</enum> </property> <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> + <enum>QSizePolicy::MinimumExpanding</enum> </property> <property name="sizeHint" stdset="0"> <size> @@ -1755,7 +2001,7 @@ <enum>Qt::Vertical</enum> </property> <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> + <enum>QSizePolicy::MinimumExpanding</enum> </property> <property name="sizeHint" stdset="0"> <size> @@ -1782,6 +2028,12 @@ <layout class="QHBoxLayout" name="horizontalLayout_30"> <item> <widget class="QLabel" name="label_26"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> @@ -1798,6 +2050,12 @@ <layout class="QHBoxLayout" name="horizontalLayout_21"> <item> <widget class="QLabel" name="label_15"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> @@ -1812,6 +2070,12 @@ </item> <item row="1" column="2"> <widget class="QSpinBox" name="audioRTPMaxPortSpinBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> @@ -1824,9 +2088,15 @@ </item> <item row="0" column="2"> <widget class="QSpinBox" name="audioRTPMinPortSpinBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="minimumSize"> <size> - <width>300</width> + <width>250</width> <height>0</height> </size> </property> @@ -1842,6 +2112,12 @@ </item> <item row="2" column="2"> <widget class="QSpinBox" name="videoRTPMinPortSpinBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> @@ -1856,6 +2132,12 @@ <layout class="QHBoxLayout" name="horizontalLayout_19"> <item> <widget class="QLabel" name="label_13"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> @@ -1873,7 +2155,7 @@ <item> <widget class="QLabel" name="label_29"> <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> @@ -1898,6 +2180,12 @@ </item> <item row="3" column="2"> <widget class="QSpinBox" name="videoRTPMaxPortSpinBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="font"> <font> <pointsize>10</pointsize> @@ -1918,7 +2206,7 @@ </property> <property name="sizeHint" stdset="0"> <size> - <width>40</width> + <width>0</width> <height>20</height> </size> </property> -- GitLab