40class DAppLoaderPrivate :
public DTK_CORE_NAMESPACE::DObjectPrivate,
public QQuickItemChangeListener
45 void ensureLoadPreload();
46 void ensureLoadMain();
47 void destoryIncubator(QQmlIncubator *incubator);
48 QQmlContext *creationContext(QQmlComponent *component, QObject *obj);
49 bool createObjects(
const char *propertyName);
50 void createChildComponents();
51 void initRootItem(QQuickItem *item);
52 void updateRootItemSize(QQuickItem *item);
53 virtual void itemGeometryChanged(QQuickItem *, QQuickGeometryChange,
const QRectF &)
override;
54 void findWindowContentItem();
55 void finishedLoaded();
58 void _q_onPreloadCreated(QObject *obj,
const QUrl &);
59 void _q_onMainComponentStatusChanged(QQmlComponent::Status status);
60 void _q_onComponentProgressChanged();
62 static QStringList buildinPluginPaths();
65 QStringList pluginPaths;
66 QQmlApplicationEngine *engine;
67 QList<QQmlIncubator *> incubators;
69 QQuickItem *loadingOverlay;
70 QPointer<QQuickItem> windowContentItem;
71 QQuickTransition *exitedTransition;
72 QQuickWindow *appWindow;
73 QQmlComponent *mainComponent;
74 bool overlayUsingParentSize;
75 bool duringTransition;
77 QHash<QQmlComponent *, QQmlContext *> itemContextMap;
78 QScopedPointer<DQmlAppPreloadInterface> preloadInstance;
79 QScopedPointer<DQmlAppMainWindowInterface> mainInstance;
80 QScopedPointer<QGuiApplication> app;
82 template<
class T> T *loadInstance()
const;
Definition dqmlappmainwindowinterface.h:21