Skip to content

Commit

Permalink
Improve the appearance of the network section
Browse files Browse the repository at this point in the history
  • Loading branch information
javierllorente committed Nov 20, 2020
1 parent 4872375 commit b0f4008
Showing 1 changed file with 152 additions and 143 deletions.
295 changes: 152 additions & 143 deletions src/gui/configure.ui
Original file line number Diff line number Diff line change
Expand Up @@ -259,150 +259,159 @@
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayoutProxyRadioGroup">
<item>
<widget class="QRadioButton" name="radioButtonNoProxy">
<property name="text">
<string>N&amp;o proxy</string>
</property>
<attribute name="buttonGroup">
<string notr="true">buttonGroupProxyType</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radioButtonSystemProxy">
<property name="text">
<string>Use &amp;system proxy configuration</string>
</property>
<attribute name="buttonGroup">
<string notr="true">buttonGroupProxyType</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radioButtonManualProxy">
<property name="text">
<string>Use m&amp;anually specified proxy configuration</string>
</property>
<attribute name="buttonGroup">
<string notr="true">buttonGroupProxyType</string>
</attribute>
</widget>
</item>
</layout>
</item>
<item row="2" column="0">
<layout class="QFormLayout" name="formLayoutProxy">
<item row="0" column="0">
<widget class="QLabel" name="labelProxyType">
<property name="text">
<string>Type:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="comboBoxProxyType">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="labelProxyServer">
<property name="text">
<string>Server:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="lineEditProxyServer">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="labelProxyPort">
<property name="text">
<string>Port:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="spinBoxProxyPort">
<property name="enabled">
<bool>false</bool>
</property>
<property name="maximum">
<number>9999</number>
</property>
<property name="value">
<number>8080</number>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="labelProxyUsername">
<property name="text">
<string>Username:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="lineEditProxyUsername">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="labelProxyPassword">
<property name="text">
<string>Password:</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="lineEditProxyPassword">
<property name="enabled">
<bool>false</bool>
</property>
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<spacer name="verticalSpacerNetwork">
<property name="orientation">
<enum>Qt::Vertical</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 row="3" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>60</height>
</size>
<widget class="QGroupBox" name="groupBoxNetwork">
<property name="title">
<string>Network</string>
</property>
</spacer>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<layout class="QVBoxLayout" name="verticalLayoutProxyRadioGroup">
<item>
<widget class="QRadioButton" name="radioButtonNoProxy">
<property name="text">
<string>N&amp;o proxy</string>
</property>
<attribute name="buttonGroup">
<string notr="true">buttonGroupProxyType</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radioButtonSystemProxy">
<property name="text">
<string>Use &amp;system proxy configuration</string>
</property>
<attribute name="buttonGroup">
<string notr="true">buttonGroupProxyType</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radioButtonManualProxy">
<property name="text">
<string>Use m&amp;anually specified proxy configuration</string>
</property>
<attribute name="buttonGroup">
<string notr="true">buttonGroupProxyType</string>
</attribute>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacerNetwork">
<property name="orientation">
<enum>Qt::Vertical</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>
<layout class="QFormLayout" name="formLayoutProxy">
<item row="0" column="0">
<widget class="QLabel" name="labelProxyType">
<property name="text">
<string>Type:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="comboBoxProxyType">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="labelProxyServer">
<property name="text">
<string>Server:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="lineEditProxyServer">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="labelProxyPort">
<property name="text">
<string>Port:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="spinBoxProxyPort">
<property name="enabled">
<bool>false</bool>
</property>
<property name="maximum">
<number>9999</number>
</property>
<property name="value">
<number>8080</number>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="labelProxyUsername">
<property name="text">
<string>Username:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="lineEditProxyUsername">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="labelProxyPassword">
<property name="text">
<string>Password:</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="lineEditProxyPassword">
<property name="enabled">
<bool>false</bool>
</property>
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>60</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
Expand Down

0 comments on commit b0f4008

Please sign in to comment.