View.qml 577 B

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