new about window

This commit is contained in:
Damien Elmes 2009-03-21 04:44:09 +09:00
parent 9ed6e11b1a
commit 02d2f67f6c
4 changed files with 28 additions and 8 deletions

View file

@ -1,4 +1,5 @@
# Copyright: Damien Elmes <anki@ichi2.net> # Copyright: Damien Elmes <anki@ichi2.net>
# -*- coding: utf-8 -*-
# License: GNU GPL, version 3 or later; http://www.gnu.org/copyleft/gpl.html # License: GNU GPL, version 3 or later; http://www.gnu.org/copyleft/gpl.html
from PyQt4.QtGui import * from PyQt4.QtGui import *
@ -10,12 +11,30 @@ def show(parent):
abt = ankiqt.forms.about.Ui_About() abt = ankiqt.forms.about.Ui_About()
abt.setupUi(dialog) abt.setupUi(dialog)
abt.label.setText(_(""" abt.label.setText(_("""
<h1>Anki</h1> <center><img src=":/icons/anki-logo-thin.png"></center>
<img src=":/icons/anki.png">
<p> <p>
<span>Anki is a spaced repetition flashcard program designed to maximise your Anki is a friendly, intelligent spaced learning system. It's free and open
memory potential.<p/>It's free and licensed under the GPL.<p/> source.<p>
Version %s<br> Version %(ver)s<br>
<a href="http://ichi2.net/anki/">Visit website</a></span> <a href="http://ichi2.net/anki/">Visit website</a></span>
""") % appVersion) <p>
Written by Damien Elmes, with patches, translation, testing and design from:<p>%(cont)s
<p>
If you have contributed and are not on this list, please get in touch.
<p>
A big thanks to all the people who have provided suggestions, bug reports and
donations.""") % {
'cont': u"""
Alex Fraser, Andreas Klauer, Bananeweizen, Bernhard Ibertsberger, Christian
Rusche, David Smith, Dave Druelinger, Emmanuel Jarri, Frank Harper, Ian Lewis,
Iroiro, Jin Eun-Deok, Jo Nakashima, Krause Chr, LaC, Laurent Steffan, Marco
Giancotti, Mark Wilbur, Meelis Vasser, Michael Penkov, Michal Čadil, Nathanael
Law, Nick Cook, Niklas Laxström, Pcsl88, Piotr Kubowicz, Richard Colley,
Samson Melamed, Susanna Björverud, Timm Preetz, Timo Paulssen and Xtru.
""",
'ver': appVersion})
dialog.show()
dialog.adjustSize()
dialog.exec_() dialog.exec_()

View file

@ -5,8 +5,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>224</width> <width>410</width>
<height>310</height> <height>447</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy" > <property name="sizePolicy" >

View file

@ -1,5 +1,6 @@
<RCC> <RCC>
<qresource prefix="/" > <qresource prefix="/" >
<file>icons/anki-logo-thin.png</file>
<file>icons/anki-logo.png</file> <file>icons/anki-logo.png</file>
<file>icons/download.png</file> <file>icons/download.png</file>
<file>icons/preferences-plugin.png</file> <file>icons/preferences-plugin.png</file>

BIN
icons/anki-logo-thin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB