changed splash screen

This commit is contained in:
2018-05-23 16:46:14 +02:00
parent aeecb5a046
commit 5bbba38786
8 changed files with 11 additions and 4 deletions
+3
View File
@@ -119,6 +119,9 @@ cChapter* cChapterList::add(const qint32& iID)
cChapter* cChapterList::find(const qint32& iID)
{
if(iID == -1)
return(0);
for(int x = 0;x < count();x++)
{
if(at(x)->id() == iID)
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 295 KiB

After

Width:  |  Height:  |  Size: 260 KiB

+4 -3
View File
@@ -16,13 +16,14 @@
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
// QPixmap pixmap(":/images/splash.png");
QPixmap pixmap(":/images/splashEmpty.png");
QPixmap pixmap(":/images/splash.png");
// QPixmap pixmap(":/images/splashEmpty.png");
cSplashScreen* lpSplash = new cSplashScreen(pixmap);
// int id = QFontDatabase::addApplicationFont(":/fonts/Stingray.otf");
// int id = QFontDatabase::addApplicationFont(":/fonts/Luna.ttf");
// int id = QFontDatabase::addApplicationFont(":/fonts/Tomatoes.ttf");
int id = QFontDatabase::addApplicationFont(":/fonts/BiggerLove.ttf");
// int id = QFontDatabase::addApplicationFont(":/fonts/BiggerLove.ttf");
int id = QFontDatabase::addApplicationFont(":/fonts/Tahu!.ttf");
QString family = QFontDatabase::applicationFontFamilies(id).at(0);
QFont splashFont(family);
Binary file not shown.

After

Width:  |  Height:  |  Size: 295 KiB

Binary file not shown.
+3 -1
View File
@@ -130,7 +130,9 @@ FORMS += \
ccharacterselectdialog.ui
DISTFILES += \
Doxyfile
Doxyfile \
resources/splash.png \
resources/splash.psd
RESOURCES += \
storywriter.qrc
+1
View File
@@ -44,5 +44,6 @@
<file>fonts/Luna.ttf</file>
<file>fonts/Tomatoes.ttf</file>
<file>images/splashEmpty.png</file>
<file>fonts/Tahu!.ttf</file>
</qresource>
</RCC>