Created
August 27, 2023 11:23
-
-
Save ZaWertun/eb10ecea8393c3132e274e29c6343536 to your computer and use it in GitHub Desktop.
Test onVisibilityChanged handler for Kirigami2 ApplicationWindow in Wayland
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Start with `QT_LOGGING_RULES="qml.debug=true" qmlscene-qt5 test-kirigami2.qml` | |
import org.kde.kirigami 2.20 as Kirigami | |
Kirigami.ApplicationWindow { | |
id: root | |
width: 500 | |
height: 400 | |
onClosing: { | |
console.log('Closing!') | |
} | |
onVisibilityChanged: { | |
console.log(visibility) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment