forked from qt-creator/qt-creator
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
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 4.7 KiB |
BIN
src/plugins/welcome/images/welcomebg.png
Normal file
BIN
src/plugins/welcome/images/welcomebg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 71 KiB |
@@ -19,5 +19,6 @@
|
|||||||
<file>images/combobox_arrow.png</file>
|
<file>images/combobox_arrow.png</file>
|
||||||
<file>images/arrow-left.png</file>
|
<file>images/arrow-left.png</file>
|
||||||
<file>images/arrow-right.png</file>
|
<file>images/arrow-right.png</file>
|
||||||
|
<file>images/welcomebg.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|||||||
@@ -76,13 +76,13 @@ QToolButton:pressed, QPushButton:pressed{
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QWidget" name="gradientWidget" native="true">
|
<widget class="QWidget" name="gradientWidget" native="true">
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">
|
<string notr="true">/*
|
||||||
#gradientWidget {
|
#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));
|
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 {
|
#gradientWidget {
|
||||||
border-image: url(:/core/images/welcomebg.png) 4;
|
border-image: url(:/welcome/images/welcomebg.png) 0;
|
||||||
}
|
}
|
||||||
</string>
|
</string>
|
||||||
</property>
|
</property>
|
||||||
@@ -119,8 +119,8 @@ QToolButton:pressed, QPushButton:pressed{
|
|||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">#mainFrame {
|
<string notr="true">#mainFrame {
|
||||||
border-image: url(:/welcome/images/background_center_frame.png);
|
border-image: url(:/welcome/images/background_center_frame.png);
|
||||||
border-width: 4;
|
border-width: 2;
|
||||||
padding:-3;
|
padding:-1;
|
||||||
padding-bottom:20 ;
|
padding-bottom:20 ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user