mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-23 11:47:24 +01:00
Stylesheet support should work now
This commit is contained in:
parent
d496e7ecb4
commit
385f598ee2
@ -331,5 +331,6 @@
|
||||
<file>Tutorial/getting_started/images/17.png</file>
|
||||
<file>Tutorial/getting_started/images/18.png</file>
|
||||
<file>Tutorial/getting_started/images/new_button.png</file>
|
||||
<file>Tutorial/getting_started/stylesheets/style.css</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
@ -33,6 +33,7 @@ TutorialDialog::TutorialDialog(QString tutorial, QWidget *parent) :
|
||||
QDialog(parent),
|
||||
ui(new Ui::TutorialDialog_q)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
this->tutorial = tutorial;
|
||||
QString stylefile = QString(":/Tutorial/") + this->tutorial + "/stylesheets/style.css";
|
||||
QFile f(stylefile);
|
||||
@ -42,7 +43,6 @@ TutorialDialog::TutorialDialog(QString tutorial, QWidget *parent) :
|
||||
QString stylesheet = f.readAll();
|
||||
ui->content->setStyleSheet(stylesheet);
|
||||
}
|
||||
ui->setupUi(this);
|
||||
currentPage = 0;
|
||||
this->setWindowFlags(this->windowFlags() | Qt::WindowStaysOnTopHint);
|
||||
//this->setWindowModality(Qt::ApplicationModal);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user