summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-07-10 13:50:49 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-10 19:59:23 -0700
commit503a150af0c8662ed2b16a276b4ec26887af5288 (patch)
treeeaf13ed8bb1ce3777260c10c7da072b42770038e /qt-ui/mainwindow.ui
parent8940f29eadf57d058b18e4cfc8c4bce889be35d7 (diff)
downloadsubsurface-503a150af0c8662ed2b16a276b4ec26887af5288.tar.gz
Added the toggle picture button and hoocked it up
This patch adds the toggle picture button and hoocks it up with the rest of the code. I'v also changed a call from ProfileWidget because it caused errors on the ui generated code, where it would try to call an still-to-be instantiated object. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.ui')
-rw-r--r--qt-ui/mainwindow.ui31
1 files changed, 27 insertions, 4 deletions
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui
index cdabc8ea6..ff687ac42 100644
--- a/qt-ui/mainwindow.ui
+++ b/qt-ui/mainwindow.ui
@@ -109,7 +109,7 @@
<property name="spacing">
<number>0</number>
</property>
- <item row="14" column="0">
+ <item row="15" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
@@ -466,6 +466,9 @@
</property>
</widget>
</item>
+ <item row="0" column="1" rowspan="16">
+ <widget class="ProfileWidget2" name="newProfile"/>
+ </item>
<item row="1" column="0">
<widget class="QToolButton" name="profPn2">
<property name="toolTip">
@@ -492,8 +495,28 @@
</property>
</widget>
</item>
- <item row="0" column="1" rowspan="15">
- <widget class="ProfileWidget2" name="newProfile"/>
+ <item row="14" column="0">
+ <widget class="QToolButton" name="profTogglePicture">
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/pictures</normaloff>:/pictures</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>24</width>
+ <height>24</height>
+ </size>
+ </property>
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="autoRaise">
+ <bool>true</bool>
+ </property>
+ </widget>
</item>
</layout>
</widget>
@@ -638,7 +661,7 @@ p, li { white-space: pre-wrap; }
<x>0</x>
<y>0</y>
<width>1682</width>
- <height>19</height>
+ <height>27</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">