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

Refactored contact editor UI

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