Visibility service for handling active popups
This commit is contained in:
parent
89cf6f315b
commit
9873324823
4 changed files with 24 additions and 11 deletions
|
|
@ -5,9 +5,7 @@ import qs.widgets
|
|||
StyledButton {
|
||||
id: root
|
||||
|
||||
onClicked: {
|
||||
popup.opened = !popup.opened;
|
||||
}
|
||||
onClicked: popup.toggle()
|
||||
|
||||
content: StyledText {
|
||||
id: text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue