1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
import QtQuick
import QtQuick.Controls
ApplicationWindow {
id: root
width: 100
height: 100
property alias controlsPopup: _controlsPopup
property alias blockInputPopup: _blockInputPopup
Popup {
id: _controlsPopup
width: parent.width
height: parent.height
modal: true
popupType: Popup.Item
Control {
id: controls
anchors.fill: parent
hoverEnabled: true
contentItem: Text { text: "Test Control" }
}
}
Popup {
id: _blockInputPopup
width: parent.width
height: parent.height
modal: true
popupType: Popup.Item
}
}
|