Register QPlatformDialogHelper::ButtonLayout
This allows QML DialogButtonBox in Qt Quick Controls 2 to use the same enum without having to duplicate it. Change-Id: Ib3a89acd18f9e584a203ee44621ca2e3fc0ceaba Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
parent
ee55b37070
commit
0d465f5ccb
@ -150,6 +150,7 @@ public:
|
|||||||
MacModelessLayout,
|
MacModelessLayout,
|
||||||
AndroidLayout
|
AndroidLayout
|
||||||
};
|
};
|
||||||
|
Q_ENUM(ButtonLayout)
|
||||||
|
|
||||||
QPlatformDialogHelper();
|
QPlatformDialogHelper();
|
||||||
virtual ~QPlatformDialogHelper();
|
virtual ~QPlatformDialogHelper();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user