Commit 7e121478 authored by Dan Pascu's avatar Dan Pascu

Enhanced the main window layout

parent 9dad1e5f
...@@ -33,11 +33,20 @@ ...@@ -33,11 +33,20 @@
<property name="autoFillBackground"> <property name="autoFillBackground">
<bool>false</bool> <bool>false</bool>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="window_layout">
<property name="spacing"> <property name="spacing">
<number>2</number> <number>2</number>
</property> </property>
<property name="margin"> <property name="leftMargin">
<number>1</number>
</property>
<property name="topMargin">
<number>1</number>
</property>
<property name="rightMargin">
<number>1</number>
</property>
<property name="bottomMargin">
<number>1</number> <number>1</number>
</property> </property>
<item> <item>
...@@ -59,6 +68,9 @@ ...@@ -59,6 +68,9 @@
<property name="maxVisibleItems"> <property name="maxVisibleItems">
<number>20</number> <number>20</number>
</property> </property>
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContents</enum>
</property>
<property name="iconSize"> <property name="iconSize">
<size> <size>
<width>14</width> <width>14</width>
...@@ -87,17 +99,27 @@ ...@@ -87,17 +99,27 @@
</widget> </widget>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="identity_layout"> <widget class="QWidget" name="identity_widget" native="true">
<property name="spacing"> <layout class="QGridLayout" name="identity_layout">
<number>2</number>
</property>
<property name="leftMargin"> <property name="leftMargin">
<number>2</number> <number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property> </property>
<property name="rightMargin"> <property name="rightMargin">
<number>1</number> <number>0</number>
</property> </property>
<item> <property name="bottomMargin">
<number>0</number>
</property>
<property name="horizontalSpacing">
<number>2</number>
</property>
<property name="verticalSpacing">
<number>0</number>
</property>
<item row="0" column="0" rowspan="2">
<widget class="AccountState" name="account_state"> <widget class="AccountState" name="account_state">
<property name="icon"> <property name="icon">
<iconset> <iconset>
...@@ -114,12 +136,7 @@ ...@@ -114,12 +136,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="0" column="1">
<layout class="QVBoxLayout" name="name_note_layout">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="LineEdit" name="display_name"> <widget class="LineEdit" name="display_name">
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
...@@ -147,7 +164,7 @@ ...@@ -147,7 +164,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="1" column="1">
<widget class="LineEdit" name="activity_note"> <widget class="LineEdit" name="activity_note">
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
...@@ -291,8 +308,7 @@ ...@@ -291,8 +308,7 @@
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </widget>
</layout>
</item> </item>
<item> <item>
<widget class="SwitchViewButton" name="switch_view_button"> <widget class="SwitchViewButton" name="switch_view_button">
...@@ -334,11 +350,20 @@ ...@@ -334,11 +350,20 @@
<number>0</number> <number>0</number>
</property> </property>
<widget class="QWidget" name="contacts_panel"> <widget class="QWidget" name="contacts_panel">
<layout class="QVBoxLayout" name="verticalLayout_8"> <layout class="QVBoxLayout" name="contacts_layout">
<property name="spacing"> <property name="spacing">
<number>0</number> <number>0</number>
</property> </property>
<property name="margin"> <property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number> <number>0</number>
</property> </property>
<item> <item>
...@@ -347,11 +372,20 @@ ...@@ -347,11 +372,20 @@
<number>0</number> <number>0</number>
</property> </property>
<widget class="QWidget" name="contact_list_panel"> <widget class="QWidget" name="contact_list_panel">
<layout class="QVBoxLayout" name="verticalLayout_7"> <layout class="QVBoxLayout" name="contact_list_layout">
<property name="spacing"> <property name="spacing">
<number>0</number> <number>0</number>
</property> </property>
<property name="margin"> <property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number> <number>0</number>
</property> </property>
<item> <item>
...@@ -379,11 +413,20 @@ ...@@ -379,11 +413,20 @@
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="search_panel"> <widget class="QWidget" name="search_panel">
<layout class="QVBoxLayout" name="verticalLayout_6"> <layout class="QVBoxLayout" name="search_layout">
<property name="spacing"> <property name="spacing">
<number>2</number> <number>2</number>
</property> </property>
<property name="margin"> <property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number> <number>0</number>
</property> </property>
<item> <item>
...@@ -485,11 +528,20 @@ ...@@ -485,11 +528,20 @@
<number>0</number> <number>0</number>
</property> </property>
<widget class="QWidget" name="search_list_panel"> <widget class="QWidget" name="search_list_panel">
<layout class="QVBoxLayout" name="verticalLayout_5"> <layout class="QVBoxLayout" name="search_list_layout">
<property name="spacing"> <property name="spacing">
<number>0</number> <number>0</number>
</property> </property>
<property name="margin"> <property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number> <number>0</number>
</property> </property>
<item> <item>
...@@ -514,11 +566,20 @@ ...@@ -514,11 +566,20 @@
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="not_found_panel"> <widget class="QWidget" name="not_found_panel">
<layout class="QVBoxLayout" name="verticalLayout_3"> <layout class="QVBoxLayout" name="not_found_layout">
<property name="spacing"> <property name="spacing">
<number>0</number> <number>0</number>
</property> </property>
<property name="margin"> <property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number> <number>0</number>
</property> </property>
<item> <item>
...@@ -813,11 +874,20 @@ padding: 2px;</string> ...@@ -813,11 +874,20 @@ padding: 2px;</string>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="sessions_panel"> <widget class="QWidget" name="sessions_panel">
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="sessions_layout">
<property name="spacing"> <property name="spacing">
<number>0</number> <number>0</number>
</property> </property>
<property name="margin"> <property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number> <number>0</number>
</property> </property>
<item> <item>
...@@ -960,7 +1030,7 @@ padding: 2px;</string> ...@@ -960,7 +1030,7 @@ padding: 2px;</string>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>285</width> <width>285</width>
<height>20</height> <height>29</height>
</rect> </rect>
</property> </property>
<widget class="QMenu" name="blink_menu"> <widget class="QMenu" name="blink_menu">
......
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