Add window.makePopup(), utils.makePopup() wrapper

This commit is contained in:
miruka
2020-08-03 01:26:35 -04:00
parent c813e92ac7
commit a389238024
12 changed files with 27 additions and 18 deletions

View File

@@ -57,6 +57,15 @@ ApplicationWindow {
}
}
function makePopup(
urlComponent, properties={}, callback=null, autoDestruct=true,
) {
utils.makePopup(
urlComponent, window, properties, callback, autoDestruct,
)
}
flags: Qt.WA_TranslucentBackground
minimumWidth: theme ? theme.minimumSupportedWidth : 240