Skip to content

Commit

Permalink
Fix about dialog font and link
Browse files Browse the repository at this point in the history
  • Loading branch information
rrwick committed Dec 6, 2015
1 parent 2958e3a commit 6cdaa6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
5 changes: 5 additions & 0 deletions ui/aboutdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ AboutDialog::AboutDialog(QWidget *parent) :
{
ui->setupUi(this);

//Make the word 'Bandage' a larger font size.
QFont font;
font.setPointSize(font.pointSize() * 2);
ui->titleLabel->setFont(font);

QString versionCopyrightText = "<html><head/><body><p>Version: " + QApplication::applicationVersion() + "</p><p>Copyright 2015 Ryan Wick</p><p><a href=\"http://rrwick.github.io/Bandage/\"><span style=\" text-decoration: underline; color:#0000ff;\">http://rrwick.github.io/Bandage/</span></a></p></body></html>";
ui->versionCopyrightLabel->setText(versionCopyrightText);

Expand Down
14 changes: 1 addition & 13 deletions ui/aboutdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,6 @@
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="titleLabel">
<property name="font">
<font>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Bandage</string>
</property>
Expand Down Expand Up @@ -149,12 +142,7 @@
</size>
</property>
<property name="text">
<string>Bandage is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Bandage is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the GNU General Public License for more details:
http://www.gnu.org/licenses/gpl.txt</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Bandage is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Bandage is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;See the GNU General Public License for more details:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.gnu.org/licenses/gpl.txt&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;http://www.gnu.org/licenses/gpl.txt&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
Expand Down

0 comments on commit 6cdaa6d

Please sign in to comment.