+ function open() { // for compatibility with when this used to be a Dialog
+ show();
+ }
+
+ width: mainContent.implicitWidth
+ height: mainContent.implicitHeight
+
+ QtLayouts.ColumnLayout {
+ id: mainContent
+ anchors.fill: parent
+ anchors.margins: 4
NewStuff.DialogContent {
id: newStuffPage
QtLayouts.Layout.fillWidth: true
@@ -103,7 +118,6 @@ QtDialogs.Dialog {
component.close();
}
}
- QtControls.DialogButtonBox.buttonRole: QtControls.DialogButtonBox.RejectRole // this is a close button, dialog close buttons have a rejection role...