31 Q_PROPERTY(QQuickItem *contentItem READ contentItem WRITE setContentItem NOTIFY contentItemChanged)
32 Q_PROPERTY(
bool visible READ visible WRITE setVisible NOTIFY visibleChanged)
33 Q_PROPERTY(QString title READ title WRITE setTitle NOTIFY titleChanged)
34 Q_PROPERTY(
bool modal READ modal WRITE setModal NOTIFY modalChanged)
35 Q_PROPERTY(
int minimumWidth READ minimumWidth WRITE setMinimumWidth NOTIFY minimumWidthChanged)
36 Q_PROPERTY(
int minimumHeight READ minimumHeight WRITE setMinimumHeight NOTIFY minimumHeightChanged)
37 Q_PROPERTY(
int maximumWidth READ maximumWidth WRITE setMaximumWidth NOTIFY maximumWidthChanged)
38 Q_PROPERTY(
int maximumHeight READ maximumHeight WRITE setMaximumHeight NOTIFY maximumHeightChanged)
39 Q_PROPERTY(
bool autoClose READ autoClose WRITE setAutoClose NOTIFY autoCloseChanged)
40 Q_PROPERTY(
bool closable READ closable WRITE setClosable NOTIFY closableChanged)
41 Q_PROPERTY(QQuickItem *activeFocusItem READ activeFocusItem NOTIFY activeFocusItemChanged)
43 explicit DialogView(QObject *parent =
nullptr);
45 QQuickItem *contentItem()
const;
46 void setContentItem(QQuickItem *newContentItem);
49 void setVisible(
bool newVisible);
51 QString title()
const;
52 void setTitle(
const QString &newTitle);
55 void setModal(
bool newModal);
57 int minimumWidth()
const;
58 void setMinimumWidth(
int newMinimumWidth);
60 int minimumHeight()
const;
61 void setMinimumHeight(
int newMinimumHeight);
63 int maximumWidth()
const;
64 void setMaximumWidth(
int newMaximumWidth);
66 int maximumHeight()
const;
67 void setMaximumHeight(
int newMaximumHeight);
74 bool autoClose()
const;
75 void setAutoClose(
bool newAutoClose);
77 bool closable()
const;
78 void setClosable(
bool newClosable);
80 QQuickItem *activeFocusItem()
const;
83 void contentItemChanged();
84 void visibleChanged();
87 void minimumWidthChanged();
88 void minimumHeightChanged();
89 void maximumWidthChanged();
90 void maximumHeightChanged();
91 void autoCloseChanged();
92 void closableChanged();
93 void activeFocusItemChanged();
97 QQuickItem *m_contentItem;