Newer
Older
/** 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
id: menu
x: toolBar.scoreAct.x
y: score.y
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 }