Commit 3e844885 authored by Dan Pascu's avatar Dan Pascu

Refactored contact editor UI

parent 91d69ce3
...@@ -42,13 +42,13 @@ ...@@ -42,13 +42,13 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0"> <item row="0" column="0">
<widget class="QLabel" name="addresses_label"> <widget class="QLabel" name="name_label">
<property name="text"> <property name="text">
<string>Addresses:</string> <string>Name:</string>
</property> </property>
<property name="alignment"> <property name="alignment">
<set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -93,45 +93,60 @@ ...@@ -93,45 +93,60 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="1" colspan="2"> <item row="6" column="0" colspan="3">
<widget class="QComboBox" name="preferred_media"> <layout class="QHBoxLayout" name="button_box_layout">
<property name="sizePolicy"> <property name="spacing">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <number>6</number>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<item> <item>
<property name="text"> <spacer name="button_box_spacer">
<string>Start voice calls by default</string> <property name="orientation">
</property> <enum>Qt::Horizontal</enum>
</item> </property>
<item> <property name="sizeHint" stdset="0">
<property name="text"> <size>
<string>Start video calls by default</string> <width>40</width>
</property> <height>20</height>
</size>
</property>
</spacer>
</item> </item>
<item> <item>
<property name="text"> <widget class="QPushButton" name="reject_button">
<string>Start chat sessions by default</string> <property name="minimumSize">
</property> <size>
<width>85</width>
<height>25</height>
</size>
</property>
<property name="text">
<string>Cancel</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
</item> </item>
<item> <item>
<property name="text"> <widget class="QPushButton" name="accept_button">
<string>Start voice + chat sessions by default</string> <property name="minimumSize">
</property> <size>
<width>85</width>
<height>25</height>
</size>
</property>
<property name="text">
<string>Add</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="default">
<bool>false</bool>
</property>
</widget>
</item> </item>
</widget> </layout>
</item>
<item row="3" column="1" colspan="2">
<widget class="QCheckBox" name="presence">
<property name="text">
<string>Exchange Availability Information</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item> </item>
<item row="5" column="0" colspan="3"> <item row="5" column="0" colspan="3">
<spacer name="grid_spacer"> <spacer name="grid_spacer">
...@@ -143,13 +158,13 @@ ...@@ -143,13 +158,13 @@
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>412</width> <width>20</width>
<height>20</height> <height>20</height>
</size> </size>
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="2" column="1" colspan="2"> <item row="2" column="0" colspan="3">
<widget class="ContactURITableView" name="addresses_table"> <widget class="ContactURITableView" name="addresses_table">
<property name="palette"> <property name="palette">
<palette> <palette>
...@@ -205,70 +220,45 @@ ...@@ -205,70 +220,45 @@
</attribute> </attribute>
</widget> </widget>
</item> </item>
<item row="0" column="0"> <item row="3" column="0" colspan="3">
<widget class="QLabel" name="name_label"> <widget class="QCheckBox" name="presence">
<property name="text"> <property name="text">
<string>Name:</string> <string>Exchange Availability Information</string>
</property> </property>
<property name="alignment"> <property name="checked">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item row="6" column="0" colspan="3"> <item row="4" column="0" colspan="3">
<layout class="QHBoxLayout" name="button_box_layout"> <widget class="QComboBox" name="preferred_media">
<property name="spacing"> <property name="sizePolicy">
<number>6</number> <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<item> <item>
<spacer name="button_box_spacer"> <property name="text">
<property name="orientation"> <string>Start voice calls by default</string>
<enum>Qt::Horizontal</enum> </property>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item> </item>
<item> <item>
<widget class="QPushButton" name="reject_button"> <property name="text">
<property name="minimumSize"> <string>Start video calls by default</string>
<size> </property>
<width>85</width>
<height>25</height>
</size>
</property>
<property name="text">
<string>Cancel</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="accept_button"> <property name="text">
<property name="minimumSize"> <string>Start chat sessions by default</string>
<size> </property>
<width>85</width>
<height>25</height>
</size>
</property>
<property name="text">
<string>Add</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="default">
<bool>false</bool>
</property>
</widget>
</item> </item>
</layout> <item>
<property name="text">
<string>Start voice + chat sessions by default</string>
</property>
</item>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>
......
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