summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSebastian Schmelzer2011-03-02 16:30:22 +0100
committerSebastian Schmelzer2011-03-02 16:30:22 +0100
commit00752f8baa86ef40edd2a894e29628f631eeb3be (patch)
tree835202f0ea7d6874f9ea2e928f343ae34e6df3b7 /src
parent1) cmd-switch to use a window manager (diff)
downloadvmchooser-00752f8baa86ef40edd2a894e29628f631eeb3be.tar.gz
vmchooser-00752f8baa86ef40edd2a894e29628f631eeb3be.tar.xz
vmchooser-00752f8baa86ef40edd2a894e29628f631eeb3be.zip
new rz style layout
Diffstat (limited to 'src')
-rw-r--r--src/images.qrc2
-rw-r--r--src/img/title_l.pngbin0 -> 17458 bytes
-rw-r--r--src/img/title_r.pngbin0 -> 4108 bytes
-rw-r--r--src/ui/dialog.ui120
4 files changed, 114 insertions, 8 deletions
diff --git a/src/images.qrc b/src/images.qrc
index 4226952..0f203ad 100644
--- a/src/images.qrc
+++ b/src/images.qrc
@@ -17,5 +17,7 @@
<file alias="windows">img/windows.png</file>
<file alias="vmware">img/vmware.png</file>
<file alias="openslx">img/openslx-logo.png</file>
+ <file alias="title_r">img/title_r.png</file>
+ <file alias="title_l">img/title_l.png</file>
</qresource>
</RCC>
diff --git a/src/img/title_l.png b/src/img/title_l.png
new file mode 100644
index 0000000..e602ccd
--- /dev/null
+++ b/src/img/title_l.png
Binary files differ
diff --git a/src/img/title_r.png b/src/img/title_r.png
new file mode 100644
index 0000000..2d0e2cb
--- /dev/null
+++ b/src/img/title_r.png
Binary files differ
diff --git a/src/ui/dialog.ui b/src/ui/dialog.ui
index 93190a8..e9e2920 100644
--- a/src/ui/dialog.ui
+++ b/src/ui/dialog.ui
@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>784</width>
+ <width>842</width>
<height>655</height>
</rect>
</property>
@@ -14,18 +14,107 @@
<string>vmchooser</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
+ <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>6</number>
+ </property>
<item>
- <widget class="QLabel" name="label">
- <property name="text">
- <string/>
+ <layout class="QHBoxLayout" name="title">
+ <property name="spacing">
+ <number>0</number>
</property>
- <property name="pixmap">
- <pixmap resource="../images.qrc">:/openslx</pixmap>
- </property>
- </widget>
+ <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">background-color:#003592;
+margin-top:0px;
+margin-bottom:0px;</string>
+ </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>
+ <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">background-color:#003592;
+margin-top:0px;
+margin-bottom:0px;</string>
+ </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>
</item>
<item>
<widget class="QTreeView" name="treeView">
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border-top:1px solid #ccc;
+border-bottom:1px solid #ccc;
+</string>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::HLine</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Plain</enum>
+ </property>
+ <property name="lineWidth">
+ <number>0</number>
+ </property>
<property name="iconSize">
<size>
<width>32</width>
@@ -35,6 +124,9 @@
<property name="headerHidden">
<bool>true</bool>
</property>
+ <attribute name="headerMinimumSectionSize">
+ <number>23</number>
+ </attribute>
</widget>
</item>
<item>
@@ -46,6 +138,9 @@
<string>PVS Options</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
+ <property name="leftMargin">
+ <number>9</number>
+ </property>
<item>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
@@ -140,6 +235,15 @@
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout2">
+ <property name="leftMargin">
+ <number>9</number>
+ </property>
+ <property name="topMargin">
+ <number>6</number>
+ </property>
+ <property name="rightMargin">
+ <number>9</number>
+ </property>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">