diff --git a/glabels/AboutDialog.cpp b/glabels/AboutDialog.cpp index d09ab7f..24234fb 100644 --- a/glabels/AboutDialog.cpp +++ b/glabels/AboutDialog.cpp @@ -33,12 +33,11 @@ AboutDialog::AboutDialog( QWidget *parent ) { setupUi( this ); - QString subtitle = tr("Label Designer"); + QString titleImage = ":images/glabels-label-designer.png"; QString version = "x.x.x"; QString description = tr("A program to create labels and business cards."); - QString markup = "

gLabels " - + subtitle + "

" + QString markup = QString("

").arg( titleImage ) + "

" + version + "

" + "

" + description + "

" + "

Copyright © 2016 Jim Evins

"; diff --git a/glabels/StartupView.cpp b/glabels/StartupView.cpp index 5dcf5ed..b5c476f 100644 --- a/glabels/StartupView.cpp +++ b/glabels/StartupView.cpp @@ -33,12 +33,8 @@ StartupView::StartupView( MainWindow* window ) { setupUi( this ); - QString subtitle = tr("Label Designer"); - - QString markup = "gLabels " - + subtitle + ""; - - titleLabel->setText( markup ); + QString titleImage = ":images/glabels-label-designer.png"; + titleLabel->setPixmap( QPixmap( titleImage ) ); } diff --git a/glabels/images.qrc b/glabels/images.qrc index 0a470c1..ccf1c19 100644 --- a/glabels/images.qrc +++ b/glabels/images.qrc @@ -2,6 +2,7 @@ + images/glabels-label-designer.png images/glabels-logo.png diff --git a/glabels/images/glabels-label-designer.png b/glabels/images/glabels-label-designer.png new file mode 100644 index 0000000..ed04250 Binary files /dev/null and b/glabels/images/glabels-label-designer.png differ diff --git a/glabels/images/glabels-label-designer.svg b/glabels/images/glabels-label-designer.svg new file mode 100644 index 0000000..2fe31b2 --- /dev/null +++ b/glabels/images/glabels-label-designer.svg @@ -0,0 +1,81 @@ + + + + + + + + + + image/svg+xml + + + + + + + gLabels Label Designer + + diff --git a/glabels/ui/StartupView.ui b/glabels/ui/StartupView.ui index 56e9f8a..af83512 100644 --- a/glabels/ui/StartupView.ui +++ b/glabels/ui/StartupView.ui @@ -88,7 +88,16 @@ padding:8px; - <html><head/><body><p><span style=" font-size:24pt; font-weight:600;">gLabels </span><span style=" font-size:16pt; color:#909090;">Label Designer</span></p></body></html> + + + + :/images/glabels-label-designer.png + + + false + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter @@ -182,6 +191,7 @@ +