summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/dialog.ui167
1 files changed, 98 insertions, 69 deletions
diff --git a/src/ui/dialog.ui b/src/ui/dialog.ui
index 0e195ea..4e03ebc 100644
--- a/src/ui/dialog.ui
+++ b/src/ui/dialog.ui
@@ -35,73 +35,100 @@
<number>6</number>
</property>
<item>
- <layout class="QHBoxLayout" name="title">
- <property name="spacing">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
+ <widget class="QWidget" name="headerBg" native="true">
+ <property name="styleSheet">
+ <string notr="true">background: #fff;</string>
</property>
- <item>
- <widget class="QLabel" name="label_l">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>110</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">#label_l {background-color:#fff;
-margin-left:1px;
-margin-top:1px;
-margin-bottom:0px;}</string>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Plain</enum>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="pixmap">
- <pixmap>:/title_l</pixmap>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="label_r">
- <property name="minimumSize">
- <size>
- <width>120</width>
- <height>110</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>120</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">#label_r {background-color:#fff;
-margin-top:1px;
-margin-right:1px;
-margin-bottom:0px;}</string>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Plain</enum>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="pixmap">
- <pixmap>:/title_r</pixmap>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- </layout>
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item>
+ <widget class="QLabel" name="label_l">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>10</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>10</height>
+ </size>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Plain</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="pixmap">
+ <pixmap resource="../images.qrc">:/title_l</pixmap>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_3">
+ <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>
+ <widget class="QLabel" name="label_r">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>10</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>10</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Plain</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="pixmap">
+ <pixmap resource="../images.qrc">:/title_r</pixmap>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
</item>
<item>
<layout class="QHBoxLayout" name="help_news">
@@ -219,7 +246,7 @@ li.checked::marker { content: &quot;\2612&quot;; }
<string>Local</string>
</property>
<property name="icon">
- <iconset>
+ <iconset resource="../images.qrc">
<normaloff>:/linux</normaloff>:/linux</iconset>
</property>
<property name="iconSize">
@@ -261,7 +288,7 @@ li.checked::marker { content: &quot;\2612&quot;; }
<string>All Classes</string>
</property>
<property name="icon">
- <iconset>
+ <iconset resource="../images.qrc">
<normaloff>:/vm-mix</normaloff>:/vm-mix</iconset>
</property>
<property name="iconSize">
@@ -685,6 +712,8 @@ li.checked::marker { content: &quot;\2612&quot;; }
<header>src/vmtree.h</header>
</customwidget>
</customwidgets>
- <resources/>
+ <resources>
+ <include location="../images.qrc"/>
+ </resources>
<connections/>
</ui>