1
0
Fork 0
forked from len0rd/rockbox

add link to homepage to about window.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14076 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2007-07-30 17:33:46 +00:00
parent a690ebb1d1
commit e2dca3e92a
2 changed files with 27 additions and 8 deletions

View file

@ -6,7 +6,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>443</width> <width>443</width>
<height>450</height> <height>482</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle" >
@ -21,7 +21,7 @@
<string/> <string/>
</property> </property>
<property name="pixmap" > <property name="pixmap" >
<pixmap resource="qrbutil.qrc" >:/icons/icons/rbutil.xpm</pixmap> <pixmap resource="rbutilqt.qrc" >:/icons/icons/rbutil.xpm</pixmap>
</property> </property>
</widget> </widget>
</item> </item>
@ -53,8 +53,7 @@
<string>Installer and housekeeping utility for the Rockbox open source digital audio player firmware. <string>Installer and housekeeping utility for the Rockbox open source digital audio player firmware.
© 2005 - 2007 The Rockbox Team. © 2005 - 2007 The Rockbox Team.
Released under the GNU General Public License v2. Released under the GNU General Public License v2.</string>
</string>
</property> </property>
<property name="wordWrap" > <property name="wordWrap" >
<bool>true</bool> <bool>true</bool>
@ -65,6 +64,25 @@ Released under the GNU General Public License v2.
</widget> </widget>
</item> </item>
<item row="2" column="0" colspan="3" > <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" > <widget class="QTabWidget" name="tabWidget" >
<property name="currentIndex" > <property name="currentIndex" >
<number>0</number> <number>0</number>
@ -117,7 +135,7 @@ Released under the GNU General Public License v2.
</widget> </widget>
</widget> </widget>
</item> </item>
<item row="3" column="0" > <item row="4" column="0" >
<spacer> <spacer>
<property name="orientation" > <property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
@ -130,14 +148,14 @@ Released under the GNU General Public License v2.
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="3" column="1" > <item row="4" column="1" >
<widget class="QPushButton" name="okButton" > <widget class="QPushButton" name="okButton" >
<property name="text" > <property name="text" >
<string>&amp;Ok</string> <string>&amp;Ok</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="2" > <item row="4" column="2" >
<spacer> <spacer>
<property name="orientation" > <property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
@ -153,7 +171,7 @@ Released under the GNU General Public License v2.
</layout> </layout>
</widget> </widget>
<resources> <resources>
<include location="qrbutil.qrc" /> <include location="rbutilqt.qrc" />
</resources> </resources>
<connections> <connections>
<connection> <connection>

View file

@ -152,6 +152,7 @@ void RbUtilQt::about()
about.browserCredits->moveCursor(QTextCursor::Start, QTextCursor::MoveAnchor); about.browserCredits->moveCursor(QTextCursor::Start, QTextCursor::MoveAnchor);
QString title = QString("<b>The Rockbox Utility</b> Version %1").arg(VERSION); QString title = QString("<b>The Rockbox Utility</b> Version %1").arg(VERSION);
about.labelTitle->setText(title); about.labelTitle->setText(title);
about.labelHomepage->setText("<a href='http://www.rockbox.org'>http://www.rockbox.org</a>");
window->show(); window->show();