add profile feature
- Allow the user to choose a photo or take one
- Allow the user to modify profile in settings
- Link with LRC model to send profile to peer
Change-Id: I04054f98fbd756c0d08f0b69a4e7020d56bdccab
Tuleap: #531
diff --git a/wizarddialog.ui b/wizarddialog.ui
index 7caf3a9..1198ec3 100644
--- a/wizarddialog.ui
+++ b/wizarddialog.ui
@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>500</width>
- <height>246</height>
+ <height>370</height>
</rect>
</property>
<property name="sizePolicy">
@@ -19,7 +19,7 @@
<property name="minimumSize">
<size>
<width>500</width>
- <height>246</height>
+ <height>370</height>
</size>
</property>
<property name="windowTitle">
@@ -76,6 +76,44 @@
</spacer>
</item>
<item alignment="Qt::AlignHCenter">
+ <widget class="QPushButton" name="avatarButton">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>74</width>
+ <height>74</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>74</width>
+ <height>74</height>
+ </size>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset resource="ressources.qrc">
+ <normaloff>:/images/user/btn-default-userpic.svg</normaloff>:/images/user/btn-default-userpic.svg</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>74</width>
+ <height>74</height>
+ </size>
+ </property>
+ <property name="flat">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item alignment="Qt::AlignHCenter">
<widget class="QLabel" name="label">
<property name="font">
<font>