Advertisement
Guest User

Untitled

a guest
Jan 1st, 2014
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1.  
  2. CoverBackground {
  3. anchors.fill: parent
  4.  
  5. Label {
  6. id: titleLabel
  7. anchors {
  8. verticalCenter: parent.verticalCenter
  9. verticalCenterOffset: - parent.height / 6
  10. horizontalCenter: parent.horizontalCenter
  11. }
  12. font.pixelSize: parent.width * 2.5
  13. color: Theme.rgba(Theme.primaryColor, 0.2)
  14. text: "#"
  15. }
  16. Label {
  17. id: unreadLabel
  18. anchors {
  19. top: parent.top
  20. left: parent.left
  21. margins: 20
  22. }
  23. font.pixelSize: Theme.fontSizeExtraLarge
  24. text: "0"
  25. }
  26. Label {
  27. anchors {
  28. left: unreadLabel.right
  29. top: unreadLabel.top
  30. leftMargin: 20
  31. }
  32. font.pixelSize: Theme.fontSizeExtraLarge / 2
  33. text: qsTr("Unread\nhighlights")
  34. }
  35. Item {
  36. id: recentChannels
  37. anchors {
  38. top: unreadLabel.bottom
  39. left: parent.left
  40. right: parent.right
  41. bottom: parent.bottom
  42. margins: 20
  43. }
  44. Column {
  45. anchors.fill: parent
  46. Repeater {
  47. model: ListModel {
  48. ListElement { bufferName: "#communi" }
  49. ListElement { bufferName: "#jollamobile" }
  50. ListElement { bufferName: "#sailfishos" }
  51. ListElement { bufferName: "#qt" }
  52. ListElement { bufferName: "#nemomobile-porters" }
  53. }
  54. delegate: Label {
  55. color: Theme.highlightColor
  56. text: model.bufferName
  57. }
  58. }
  59. }
  60. }
  61. OpacityRampEffect {
  62. direction: OpacityRamp.LeftToRight
  63. slope: 2
  64. offset: 0.5
  65. sourceItem: recentChannels
  66. }
  67.  
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement