View.qml 577 B

1234567891011121314151617181920212223242526272829
  1. import QtQuick 2.5
  2. Item {
  3. id: root
  4. property var columnArray: []
  5. property var pictureDelegate: Component {
  6. ArtImage {}
  7. }
  8. function reset() {
  9. columnArray = []
  10. }
  11. anchors.fill: parent
  12. Timer {
  13. id: globalDeathTimer
  14. running: globalSettings.commonFeed && globalUtil.primed
  15. repeat: true
  16. interval: globalUtil.adjustedInterval
  17. onTriggered: columnArray[globalUtil.columnSelection()].shift()
  18. }
  19. Repeater {
  20. model: globalSettings.columnCount
  21. delegate: columnComponent
  22. }
  23. }