Skip to content
Snippets Groups Projects
Commit a276b522 authored by SeeLook's avatar SeeLook
Browse files

Improve score menu look, lock sound input properly (temporarily)

parent fa4733fd
No related branches found
No related tags found
No related merge requests found
......@@ -88,6 +88,8 @@ void Tsound::init() {
connect(NOO, &TnootkaQML::playNote, [=](const Tnote& n){ play(n); });
// if (sniffer)
// sniffer->startListening();
if (sniffer) //TODO delete it when above code becomes enabled
sniffer->setStoppedByUser(true);
emit initialized();
});
}
......
......@@ -12,11 +12,12 @@ Menu {
x: toolBar.scoreAct.x
y: score.y
background: TipRect { color: activPal.window; shadowRadius: Noo.fontSize() }
background: TipRect { shadowRadius: Noo.fontSize() }
Repeater {
model: score.scoreActions
MenuItem {
padding: 0
width: menu.width
contentItem: MenuButton {
action: modelData
......
/** This file is part of Nootka (http://nootka.sf.net) *
* Copyright (C) 2017 by Tomasz Bojczuk (seelook@gmail.com) *
* 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
......@@ -15,11 +15,10 @@ Rectangle {
property alias text: butText.text
width: parent.width - Noo.fontSize()
implicitHeight: Noo.fontSize() * 3
implicitHeight: Noo.fontSize() * 2.8
anchors.horizontalCenter: parent.horizontalCenter
color: ma.containsPress ? activPal.highlight : activPal.button
border { width: 1; color: ma.containsMouse ? activPal.highlight : activPal.shadow }
radius: Noo.fontSize() / 4
color: ma.containsPress ? activPal.highlight : (ma.containsMouse ? Noo.alpha(activPal.highlight, 50) : activPal.button)
border { width: 1; color: activPal.shadow }
signal clicked()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment