5#ifndef QQSTYLEKITDELEGATECONTAINER_P_H
6#define QQSTYLEKITDELEGATECONTAINER_P_H
19#include <QtQuick/qquickitem.h>
20#include <QtQml/qqmlparserstatus.h>
24class QQStyleKitDelegateProperties;
29 Q_PROPERTY(QQStyleKitDelegateProperties *delegateStyle READ delegateStyle WRITE setDelegateStyle NOTIFY delegateStyleChanged FINAL)
58 void updateImplicitSize();
59 void maybeCreateDelegate();
60 void maybeCreateShadow();
63 QPointer<QQStyleKitDelegateProperties> m_delegateProperties;
64 QPointer<QObject> m_control;
66 QPointer<QQuickItem> m_delegateInstance;
67 QPointer<QQuickItem> m_shadowInstance;
69 QPointer<QQmlComponent> m_delegateComponent;
70 QPointer<QQmlComponent> m_shadowComponent;
72 static QQmlComponent *s_defaultDelegateComponent;
73 static QQmlComponent *s_defaultShadowComponent;
QQStyleKitDelegateProperties * delegateStyle() const
~QQStyleKitDelegateContainer() override
bool usingDefaultDelegate() const
void usingDefaultDelegateChanged()
void componentComplete() override
Invoked after the root component that caused this instantiation has completed construction.
QObject * quickControl() const
void setQuickControl(QObject *control)
void quickControlChanged()
void delegateInstanceChanged()
void setDelegateStyle(QQStyleKitDelegateProperties *delegateProperties)
QQuickItem * delegateInstance() const
Combined button and popup list for selecting options.