Skip to content

Commit

Permalink
Move image icons to above image
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed May 31, 2015
1 parent 511783d commit dae4287
Showing 1 changed file with 45 additions and 42 deletions.
87 changes: 45 additions & 42 deletions src/roam/editorwidgets/uifiles/ui_imagewidget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>128</width>
<height>121</height>
<width>168</width>
<height>127</height>
</rect>
</property>
<property name="sizePolicy">
Expand Down Expand Up @@ -41,7 +41,7 @@
<property name="spacing">
<number>0</number>
</property>
<item row="1" column="0" colspan="6">
<item row="2" column="0" colspan="6">
<widget class="QLabel" name="image">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
Expand Down Expand Up @@ -75,34 +75,8 @@
</property>
</widget>
</item>
<item row="2" column="2" colspan="4">
<spacer name="horizontalSpacer">
<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 row="0" column="1" colspan="5">
<spacer name="horizontalSpacer_2">
<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 row="0" column="0">
<widget class="QPushButton" name="deletebutton">
<item row="0" column="1">
<widget class="QPushButton" name="selectbutton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
Expand All @@ -123,21 +97,21 @@
</property>
<property name="icon">
<iconset resource="../../resources.qrc">
<normaloff>:/icons/delete</normaloff>:/icons/delete</iconset>
<normaloff>:/widgets/reload</normaloff>:/widgets/reload</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QPushButton" name="selectbutton">
<item row="0" column="3">
<widget class="QPushButton" name="deletebutton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
Expand All @@ -158,20 +132,20 @@
</property>
<property name="icon">
<iconset resource="../../resources.qrc">
<normaloff>:/widgets/reload</normaloff>:/widgets/reload</iconset>
<normaloff>:/icons/delete</normaloff>:/icons/delete</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="1">
<item row="0" column="0">
<widget class="QPushButton" name="editButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
Expand All @@ -197,15 +171,44 @@
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="2">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="4">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<resources>
Expand Down

0 comments on commit dae4287

Please sign in to comment.