This repository has been archived by the owner on Sep 16, 2022. It is now read-only.
/
AboutDialog.qml
41 lines (40 loc) · 1.87 KB
/
AboutDialog.qml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import QtQuick 1.0
import com.nokia.meego 1.0
Dialog {
id: aboutDialog
content:Item {
id: name
width: parent.width
height: 300
Text {
font.pixelSize:22
font.family: kipprFont.name
color: "white"
anchors.centerIn: parent
text: parent.getAboutMsg()
textFormat: Text.RichText
wrapMode: Text.WordWrap
onLinkActivated: Qt.openUrlExternally(link)
}
function getAboutMsg() {
var msg = '<h1>Klippr</h1>';
msg += '<h3>a client for kippt.com</h3>';
msg += '<p>© 2012, Martin Borho <a style="color:red" href="mailto:martin@borho.net">martin@borho.net</a><br/>';
msg += 'License: GNU General Public License (GPL) Vers.3<br/>';
msg += 'Source: <a style="color:red" href="http://github.com/mborho/klippr">http://github.com/mborho/klippr</a><br/>';
msg += 'Header font: <a style="color:red" href="http://openfontlibrary.org/en/font/sansus-webissimo">Sansus Webissimo</a>'
msg += '<div><b>Changelog:</b><br/>'
msg += '<div>* 1.7.0 - Context menu added in lists</div>';
msg += '<div>* 1.6.0 - Added option to share clips via ShareUi</div>';
msg += '<div>* 1.4.1 - Reader "swipe-back" gesture, delete flow impr.</div>';
msg += '<div>* 1.2.0 - Reader in fullscreen, navigation flow improved</div>';
msg += '<div>* 1.0.1 - Ovi store</div>';
msg += '</div>';
msg += '</p><br/>';
msg += '<table><tr><td valign="middle">powered by </td>';
msg += '<td valign="middle"><a style="color:red" href="http://kippt.com">Kippt.com</a></td>'; //<img src="gfx/glogo.png" height="41" width="114" /></td>';
msg += '</tr></table>';
return msg
}
}
}