Qt 6.11 is out! See what's new in the release
blog
Toggle button
-
Hello I have ran into another problem, here is my code:
RoundButton {
id: browserB
x: 7
y: 144
width: 66
height: 66
text: ""
flat: true
icon.height: 66
icon.width: 66
icon.source: "TestGUI/eyetemp.png"
display: AbstractButton.IconOnlyRectangle { id: browserPullMenu anchors.left: parent.right width: 180 height: 66 visible: false } Connections { target: browserB onClicked: { browserB.toggle() integratedBrowser.visible console.log("clicked") } } }How do I make the browserB(button) toggle the integratedBrowser.visible?
I can make it visible, can't seem to toggle the visibility off. -
S SGaist moved this topic from General and Desktop on