Skip to content
Snippets Groups Projects
ScoreMenuContent.qml 648 B
Newer Older
  • Learn to ignore specific revisions
  • /** This file is part of Nootka (http://nootka.sf.net)               *
    
     * Copyright (C) 2017-2018 by Tomasz Bojczuk (seelook@gmail.com)     *
    
     * on the terms of GNU GPLv3 license (http://www.gnu.org/licenses)   */
    
    import QtQuick 2.9
    import QtQuick.Controls 2.2
    
    
    
      Repeater {
        model: score.scoreActions
        MenuItem {
    
          width: menu.width
          contentItem: MenuButton {
            action: modelData
            onClicked: close()
    
            Rectangle { width: parent.width; height: index === count - 1 ? 0 : 1; color: activPal.text; y: parent.height - 1 }