summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJonathan Bauer2011-06-20 16:57:52 +0200
committerJonathan Bauer2011-06-20 16:57:52 +0200
commit1f55ffeef1201b7633addc14371eee32f1e07ce4 (patch)
tree717e0d23cb3ec9311701e2f59fe90a07e92558c1 /src
parentminor changes (diff)
downloadfbsplash-1f55ffeef1201b7633addc14371eee32f1e07ce4.tar.gz
fbsplash-1f55ffeef1201b7633addc14371eee32f1e07ce4.tar.xz
fbsplash-1f55ffeef1201b7633addc14371eee32f1e07ce4.zip
new ui, loading external png's now
Diffstat (limited to 'src')
-rw-r--r--src/fbsplash.qrc5
-rw-r--r--src/fbsplash.ui134
-rw-r--r--src/img/openslx-left.pngbin0 -> 9187 bytes
3 files changed, 98 insertions, 41 deletions
diff --git a/src/fbsplash.qrc b/src/fbsplash.qrc
new file mode 100644
index 0000000..96aa9f9
--- /dev/null
+++ b/src/fbsplash.qrc
@@ -0,0 +1,5 @@
+<RCC>
+ <qresource prefix="/">
+ <file>img/openslx-left.png</file>
+ </qresource>
+</RCC>
diff --git a/src/fbsplash.ui b/src/fbsplash.ui
index bee2404..1d0b767 100644
--- a/src/fbsplash.ui
+++ b/src/fbsplash.ui
@@ -6,54 +6,106 @@
<rect>
<x>0</x>
<y>0</y>
- <width>1024</width>
- <height>768</height>
+ <width>960</width>
+ <height>567</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<property name="styleSheet">
- <string notr="true"/>
+ <string notr="true">#fbsplash{
+background:black;
+}</string>
</property>
- <widget class="QLabel" name="label">
- <property name="geometry">
- <rect>
- <x>390</x>
- <y>300</y>
- <width>201</width>
- <height>61</height>
- </rect>
- </property>
- <property name="font">
- <font>
- <pointsize>20</pointsize>
- </font>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>TextLabel</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- <widget class="QProgressBar" name="progressBar">
- <property name="geometry">
- <rect>
- <x>420</x>
- <y>380</y>
- <width>181</width>
- <height>21</height>
- </rect>
- </property>
- <property name="value">
- <number>24</number>
- </property>
- </widget>
+ <layout class="QGridLayout" name="gridLayout_2">
+ <item row="2" column="0">
+ <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="2" column="2">
+ <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="3" column="1">
+ <spacer name="verticalSpacer">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="2" column="1">
+ <widget class="QProgressBar" name="progressBar">
+ <property name="styleSheet">
+ <string notr="true">#progressBar{
+padding: 1px;
+border-style: solid;
+border: 2px solid gray;
+border-radius: 8px;
+}</string>
+ </property>
+ <property name="value">
+ <number>24</number>
+ </property>
+ <property name="format">
+ <string/>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLabel" name="label_2">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="pixmap">
+ <pixmap resource="fbsplash.qrc">:/img/openslx-left.png</pixmap>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignCenter</set>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <spacer name="verticalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
</widget>
- <resources/>
+ <resources>
+ <include location="fbsplash.qrc"/>
+ </resources>
<connections/>
</ui>
diff --git a/src/img/openslx-left.png b/src/img/openslx-left.png
new file mode 100644
index 0000000..900dd86
--- /dev/null
+++ b/src/img/openslx-left.png
Binary files differ