diff options
author | Jens Bache-Wiig <jbache@trolltech.com> | 2010-04-26 15:26:00 +0200 |
---|---|---|
committer | Jens Bache-Wiig <jbache@trolltech.com> | 2010-04-26 15:28:05 +0200 |
commit | ce082fe61d58cac666bc4172d17f11c42914048e (patch) | |
tree | 8e6878771ccfe0980b871fc172cb6e2248de054d /src/plugins/welcome | |
parent | 3462def9b6e5870e7227f966ce3479d3cad60fb0 (diff) | |
download | qt-creator-ce082fe61d58cac666bc4172d17f11c42914048e.tar.gz |
Update welcomepage with a shiny background
I introduced some graphical details in the background
that replaces the gradient. I also fixed the foreground
square a bit to get rid of the blurry line at the bottom.
Reviewed-by: danimo
Diffstat (limited to 'src/plugins/welcome')
-rw-r--r-- | src/plugins/welcome/images/background_center_frame.png | bin | 2556 -> 4810 bytes | |||
-rw-r--r-- | src/plugins/welcome/images/welcomebg.png | bin | 0 -> 73047 bytes | |||
-rw-r--r-- | src/plugins/welcome/welcome.qrc | 5 | ||||
-rw-r--r-- | src/plugins/welcome/welcomemode.ui | 10 |
4 files changed, 8 insertions, 7 deletions
diff --git a/src/plugins/welcome/images/background_center_frame.png b/src/plugins/welcome/images/background_center_frame.png Binary files differindex a4ed651f14..76c166333a 100644 --- a/src/plugins/welcome/images/background_center_frame.png +++ b/src/plugins/welcome/images/background_center_frame.png diff --git a/src/plugins/welcome/images/welcomebg.png b/src/plugins/welcome/images/welcomebg.png Binary files differnew file mode 100644 index 0000000000..43e26923f6 --- /dev/null +++ b/src/plugins/welcome/images/welcomebg.png diff --git a/src/plugins/welcome/welcome.qrc b/src/plugins/welcome/welcome.qrc index f478674327..0009b023a1 100644 --- a/src/plugins/welcome/welcome.qrc +++ b/src/plugins/welcome/welcome.qrc @@ -1,6 +1,6 @@ <RCC> - <qresource prefix="/welcome" > - <file>images/btn_26.png</file> + <qresource prefix="/welcome"> + <file>images/btn_26.png</file> <file>images/btn_26_hover.png</file> <file>images/btn_27.png</file> <file>images/btn_27_hover.png</file> @@ -19,5 +19,6 @@ <file>images/combobox_arrow.png</file> <file>images/arrow-left.png</file> <file>images/arrow-right.png</file> + <file>images/welcomebg.png</file> </qresource> </RCC> diff --git a/src/plugins/welcome/welcomemode.ui b/src/plugins/welcome/welcomemode.ui index 13b3b4059a..57d2e98639 100644 --- a/src/plugins/welcome/welcomemode.ui +++ b/src/plugins/welcome/welcomemode.ui @@ -76,13 +76,13 @@ QToolButton:pressed, QPushButton:pressed{ <item> <widget class="QWidget" name="gradientWidget" native="true"> <property name="styleSheet"> - <string notr="true"> + <string notr="true">/* #gradientWidget { background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:1.0, y2:1, stop:0 rgba(240, 240, 240, 255), stop:1 rgba(200, 200, 200, 255)); } - +*/ #gradientWidget { - border-image: url(:/core/images/welcomebg.png) 4; + border-image: url(:/welcome/images/welcomebg.png) 0; } </string> </property> @@ -119,8 +119,8 @@ QToolButton:pressed, QPushButton:pressed{ <property name="styleSheet"> <string notr="true">#mainFrame { border-image: url(:/welcome/images/background_center_frame.png); - border-width: 4; - padding:-3; + border-width: 2; + padding:-1; padding-bottom:20 ; } |