summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2007-07-30 17:33:46 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2007-07-30 17:33:46 +0000
commite2dca3e92a84c91ad2443a1103bea804e60690e7 (patch)
tree4c0128ae3d12845a7466560355fdcbee600f3635 /rbutil/rbutilqt
parenta690ebb1d1925e4f443c8ea7047c9b183e931d2a (diff)
downloadrockbox-e2dca3e92a84c91ad2443a1103bea804e60690e7.tar.gz
rockbox-e2dca3e92a84c91ad2443a1103bea804e60690e7.tar.bz2
rockbox-e2dca3e92a84c91ad2443a1103bea804e60690e7.zip
add link to homepage to about window.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14076 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt')
-rw-r--r--rbutil/rbutilqt/aboutbox.ui34
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp1
2 files changed, 27 insertions, 8 deletions
diff --git a/rbutil/rbutilqt/aboutbox.ui b/rbutil/rbutilqt/aboutbox.ui
index 6d4389daee..dff0550441 100644
--- a/rbutil/rbutilqt/aboutbox.ui
+++ b/rbutil/rbutilqt/aboutbox.ui
@@ -6,7 +6,7 @@
<x>0</x>
<y>0</y>
<width>443</width>
- <height>450</height>
+ <height>482</height>
</rect>
</property>
<property name="windowTitle" >
@@ -21,7 +21,7 @@
<string/>
</property>
<property name="pixmap" >
- <pixmap resource="qrbutil.qrc" >:/icons/icons/rbutil.xpm</pixmap>
+ <pixmap resource="rbutilqt.qrc" >:/icons/icons/rbutil.xpm</pixmap>
</property>
</widget>
</item>
@@ -53,8 +53,7 @@
<string>Installer and housekeeping utility for the Rockbox open source digital audio player firmware.
© 2005 - 2007 The Rockbox Team.
-Released under the GNU General Public License v2.
-</string>
+Released under the GNU General Public License v2.</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
@@ -65,6 +64,25 @@ Released under the GNU General Public License v2.
</widget>
</item>
<item row="2" column="0" colspan="3" >
+ <widget class="QLabel" name="labelHomepage" >
+ <property name="text" >
+ <string>http://www.rockbox.org</string>
+ </property>
+ <property name="textFormat" >
+ <enum>Qt::AutoText</enum>
+ </property>
+ <property name="alignment" >
+ <set>Qt::AlignCenter</set>
+ </property>
+ <property name="openExternalLinks" >
+ <bool>true</bool>
+ </property>
+ <property name="textInteractionFlags" >
+ <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::NoTextInteraction</set>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0" colspan="3" >
<widget class="QTabWidget" name="tabWidget" >
<property name="currentIndex" >
<number>0</number>
@@ -117,7 +135,7 @@ Released under the GNU General Public License v2.
</widget>
</widget>
</item>
- <item row="3" column="0" >
+ <item row="4" column="0" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
@@ -130,14 +148,14 @@ Released under the GNU General Public License v2.
</property>
</spacer>
</item>
- <item row="3" column="1" >
+ <item row="4" column="1" >
<widget class="QPushButton" name="okButton" >
<property name="text" >
<string>&amp;Ok</string>
</property>
</widget>
</item>
- <item row="3" column="2" >
+ <item row="4" column="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
@@ -153,7 +171,7 @@ Released under the GNU General Public License v2.
</layout>
</widget>
<resources>
- <include location="qrbutil.qrc" />
+ <include location="rbutilqt.qrc" />
</resources>
<connections>
<connection>
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index 848d087bf9..286047e2a7 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -152,6 +152,7 @@ void RbUtilQt::about()
about.browserCredits->moveCursor(QTextCursor::Start, QTextCursor::MoveAnchor);
QString title = QString("<b>The Rockbox Utility</b> Version %1").arg(VERSION);
about.labelTitle->setText(title);
+ about.labelHomepage->setText("<a href='http://www.rockbox.org'>http://www.rockbox.org</a>");
window->show();