Make welcome screen work for dark themes.

master
Torsten Paul 2015-01-09 20:20:29 +01:00
parent bb7adc83cb
commit cd5ecb5eeb
3 changed files with 5 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 43 KiB

View File

@ -221,6 +221,7 @@
<addaction name="separator"/> <addaction name="separator"/>
<addaction name="viewActionPerspective"/> <addaction name="viewActionPerspective"/>
<addaction name="viewActionOrthogonal"/> <addaction name="viewActionOrthogonal"/>
<addaction name="separator"/>
<addaction name="viewActionShowAxes"/> <addaction name="viewActionShowAxes"/>
<addaction name="viewActionShowEdges"/> <addaction name="viewActionShowEdges"/>
</widget> </widget>
@ -240,7 +241,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1397</width> <width>1397</width>
<height>35</height> <height>33</height>
</rect> </rect>
</property> </property>
<widget class="QMenu" name="menu_File"> <widget class="QMenu" name="menu_File">
@ -408,6 +409,7 @@
<addaction name="editActionRedo"/> <addaction name="editActionRedo"/>
<addaction name="editActionUnindent"/> <addaction name="editActionUnindent"/>
<addaction name="editActionIndent"/> <addaction name="editActionIndent"/>
<addaction name="separator"/>
<addaction name="designActionPreview"/> <addaction name="designActionPreview"/>
<addaction name="designActionRender"/> <addaction name="designActionRender"/>
<addaction name="separator"/> <addaction name="separator"/>

View File

@ -25,8 +25,8 @@ LaunchingScreen::LaunchingScreen(QWidget *parent) : QDialog(parent)
{ {
LaunchingScreen::inst = this; LaunchingScreen::inst = this;
setupUi(this); setupUi(this);
this->setStyleSheet("QDialog {background-image:url(':/icons/background.png')}"
"QPushButton {color:white;}"); this->setStyleSheet("QDialog {background-image:url(':/icons/background.png')} QPushButton {color:white;}");
this->versionNumberLabel->setText(openscad_version.c_str()); this->versionNumberLabel->setText(openscad_version.c_str());