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,46 +93,61 @@ ...@@ -93,46 +93,61 @@
</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">
<enum>Qt::Horizontal</enum>
</property> </property>
</item> <property name="sizeHint" stdset="0">
<item> <size>
<property name="text"> <width>40</width>
<string>Start video calls by default</string> <height>20</height>
</size>
</property> </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">
<size>
<width>85</width>
<height>25</height>
</size>
</property> </property>
</item>
<item>
<property name="text"> <property name="text">
<string>Start voice + chat sessions by default</string> <string>Cancel</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property> </property>
</item>
</widget> </widget>
</item> </item>
<item row="3" column="1" colspan="2"> <item>
<widget class="QCheckBox" name="presence"> <widget class="QPushButton" name="accept_button">
<property name="minimumSize">
<size>
<width>85</width>
<height>25</height>
</size>
</property>
<property name="text"> <property name="text">
<string>Exchange Availability Information</string> <string>Add</string>
</property> </property>
<property name="checked"> <property name="autoDefault">
<bool>true</bool> <bool>false</bool>
</property>
<property name="default">
<bool>false</bool>
</property> </property>
</widget> </widget>
</item> </item>
</layout>
</item>
<item row="5" column="0" colspan="3"> <item row="5" column="0" colspan="3">
<spacer name="grid_spacer"> <spacer name="grid_spacer">
<property name="orientation"> <property name="orientation">
...@@ -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 name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property> </property>
</spacer>
</item> </item>
<item> <item>
<widget class="QPushButton" name="reject_button">
<property name="minimumSize">
<size>
<width>85</width>
<height>25</height>
</size>
</property>
<property name="text"> <property name="text">
<string>Cancel</string> <string>Start video calls by default</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property> </property>
</widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="accept_button">
<property name="minimumSize">
<size>
<width>85</width>
<height>25</height>
</size>
</property>
<property name="text"> <property name="text">
<string>Add</string> <string>Start chat sessions by default</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property> </property>
<property name="default"> </item>
<bool>false</bool> <item>
<property name="text">
<string>Start voice + chat sessions by default</string>
</property> </property>
</widget>
</item> </item>
</layout> </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