1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

profile settings in scrollarea

This commit is contained in:
agilob 2014-10-22 17:09:59 +01:00
parent 5eec74c032
commit 575e57cd00
No known key found for this signature in database
GPG Key ID: 2CACF3EEF598C663
2 changed files with 162 additions and 145 deletions

View File

@ -28,6 +28,9 @@
<property name="widgetResizable">
<bool>true</bool>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents_2">
<property name="geometry">
<rect>
@ -37,7 +40,13 @@
<height>627</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<layout class="QVBoxLayout" name="verticalLayout_4" stretch="0,0,1">
<property name="spacing">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<item alignment="Qt::AlignTop">
<widget class="QGroupBox" name="generalGroup">
<property name="title">
@ -262,7 +271,7 @@
</layout>
</widget>
</item>
<item>
<item alignment="Qt::AlignTop">
<widget class="QGroupBox" name="connectionGroup">
<property name="title">
<string>Connection Settings</string>
@ -336,10 +345,6 @@
</widget>
</item>
</layout>
<zorder>generalGroup</zorder>
<zorder>generalGroup</zorder>
<zorder>themeGroup</zorder>
<zorder>connectionGroup</zorder>
</widget>
</widget>
</item>

View File

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
<width>439</width>
<height>472</height>
</rect>
</property>
<property name="windowTitle">
@ -15,6 +15,27 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QScrollArea" name="scrollArea">
<property name="widgetResizable">
<bool>true</bool>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>419</width>
<height>452</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4" stretch="0,0,1">
<property name="spacing">
<number>9</number>
</property>
<item alignment="Qt::AlignTop">
<widget class="QGroupBox" name="publicGroup">
<property name="title">
<string>Public Information</string>
@ -43,7 +64,7 @@
</layout>
</widget>
</item>
<item>
<item alignment="Qt::AlignTop">
<widget class="QGroupBox" name="toxGroup">
<property name="title">
<string>Tox ID</string>
@ -59,7 +80,7 @@
</layout>
</widget>
</item>
<item>
<item alignment="Qt::AlignTop">
<widget class="QGroupBox" name="profilesGroup">
<property name="title">
<string>Profiles</string>
@ -111,12 +132,12 @@
</item>
<item>
<widget class="QPushButton" name="deleteButton">
<property name="text">
<string comment="delete profile button">Delete</string>
</property>
<property name="toolTip">
<string comment="delete profile button tooltip">This is useful to remain safe on public computers</string>
</property>
<property name="text">
<string comment="delete profile button">Delete</string>
</property>
</widget>
</item>
</layout>
@ -142,18 +163,9 @@
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>