Advertisement
Guest User

richtext

a guest
Sep 3rd, 2016
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.84 KB | None | 0 0
  1. import QtQuick 2.0
  2. import Sailfish.Silica 1.0
  3.  
  4. Page {
  5. id: page
  6.  
  7. SilicaFlickable {
  8. id: flick
  9. anchors.fill: page
  10. contentHeight: column.height
  11.  
  12. Column {
  13. id: column
  14. width: flick.width
  15. spacing: Theme.paddingLarge
  16.  
  17. PageHeader {
  18. title: "How to use"
  19. }
  20.  
  21. Label {
  22. text: "* Many custom icons you can find <style>a:link{color: " + Theme.highlightColor + ";}</style><a href=\"http://talk.maemo.org/showthread.php?t=92073\">here</a>.<br>* Put your custom icons (.png format ONLY) to: \"/home/nemo/Pictures/.jolla_android_icons\".<br>* Rename your icons with any file manager (NOT root) to the same names like in \"jolla_android_icons.list\".<br>* Write your prefered hours separated by one space: 12:05 15:30 18:20 etc...<br>* Choose if show notifications or not.<br>* Apply button - will apply your changes and will start service. You can see status will be changed to \"active\".<br>* Stop service - will stop service.<br><br>NOTE:<br>* If some icons not updated immediately, check if name of your custom icon is correct and try again.<br>* If still not updated, probably problem comes from lipstick. Just refresh homescreen (lipstick restart).<br>* \"Update icons list\" button - for manual update of \"jolla_android_icons.list\" (if you installed new android app), this list also automatically updated every time when service will start updating in your specific time.<br>* \"Update now\" button - for manual icons changing if you don't want to wait for automatic one."
  23. font.pixelSize: Theme.fontSizeMedium
  24. x: Theme.paddingLarge
  25. width: parent.width - Theme.paddingLarge * 2
  26. horizontalAlignment: Text.AlignHLeft
  27. wrapMode: Text.WordWrap
  28. textFormat: Text.RichText
  29. onLinkActivated: {
  30. Qt.openUrlExternally(link)
  31. }
  32. }
  33.  
  34. Item {
  35. width: parent.width
  36. height: -Theme.paddingSmall*2
  37. }
  38.  
  39. Label {
  40. text: qsTr("Donations are welcome :)")
  41. width: parent.width
  42. wrapMode: Text.Wrap
  43. horizontalAlignment: Text.AlignHCenter
  44. }
  45.  
  46. Button {
  47. text: qsTr("Donate")
  48. width: text.width
  49. anchors.horizontalCenter: parent.horizontalCenter
  50. onClicked: {
  51. Qt.openUrlExternally("https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=4T5E9AWWBBTH4&lc=IL&item_name=Jolla%20packages%20%28by%20Schturman%29&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted")
  52. }
  53. }
  54.  
  55. }
  56.  
  57. VerticalScrollDecorator {}
  58. }
  59.  
  60. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement