import QtQuick 2.0 import QtGraphicalEffects 1.13 import "qrc:/emulator/components" import "qrc:/emulator/items" import "qrc:/theme" import "qrc:/const" Item { width: Const.windowWidth height: Const.windowHeight NeuLight { x: 70 y: 70 colorMode: 0 width: Const.microButton height: Const.microButton image: Theme.current=== Theme.dark ? "qrc:/icons/uiMode/light.svg" : "qrc:/icons/uiMode/dark.svg" MouseArea{ anchors.fill: parent onClicked: { if(Theme.current=== Theme.dark) { Theme.current = Theme.light } else { Theme.current = Theme.dark } } } } TopLeft {} TopRight {} BottomRight {} CurveButtons {} Joysticks {} Encoders {} JoystickCouple {} TrackballGroup {} }