| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | - | |
| 6 | - | |
| 7 | class QQmlContext; | - |
| 8 | class QQmlError; | - |
| 9 | class QQuickItem; | - |
| 10 | class QQmlComponent; | - |
| 11 | class QQuickRenderControl; | - |
| 12 | class QOpenGLContext; | - |
| 13 | class QOffscreenSurface; | - |
| 14 | - | |
| 15 | class QQuickWidgetPrivate | - |
| 16 | : public QWidgetPrivate, | - |
| 17 | public QQuickItemChangeListener | - |
| 18 | { | - |
| 19 | inline QQuickWidget* q_func() { return static_cast<QQuickWidget *>(q_ptr); } inline const QQuickWidget* q_func() const { return static_cast<const QQuickWidget *>(q_ptr); } friend class QQuickWidget; | - |
| 20 | public: | - |
| 21 | static QQuickWidgetPrivate* get(QQuickWidget *view) { return never executed: view->d_func();return view->d_func();never executed: }return view->d_func(); | 0 |
| 22 | static const QQuickWidgetPrivate* get(const QQuickWidget *view) { return never executed: view->d_func();return view->d_func();never executed: }return view->d_func(); | 0 |
| 23 | - | |
| 24 | QQuickWidgetPrivate(); | - |
| 25 | ~QQuickWidgetPrivate(); | - |
| 26 | - | |
| 27 | void execute(); | - |
| 28 | void itemGeometryChanged(QQuickItem *item, QQuickGeometryChange change, const QRectF &oldGeometry) override; | - |
| 29 | void initResize(); | - |
| 30 | void updateSize(); | - |
| 31 | void updatePosition(); | - |
| 32 | void updateFrambufferObjectSize(); | - |
| 33 | void setRootObject(QObject *); | - |
| 34 | void render(bool needsSync); | - |
| 35 | void renderSceneGraph(); | - |
| 36 | void createContext(); | - |
| 37 | void destroyContext(); | - |
| 38 | void handleContextCreationFailure(const QSurfaceFormat &format, bool isEs); | - |
| 39 | - | |
| 40 | - | |
| 41 | GLuint textureId() const override; | - |
| 42 | QImage grabFramebuffer() override; | - |
| 43 | - | |
| 44 | - | |
| 45 | - | |
| 46 | - | |
| 47 | void init(QQmlEngine* e = 0); | - |
| 48 | void ensureEngine() const; | - |
| 49 | void handleWindowChange(); | - |
| 50 | void invalidateRenderControl(); | - |
| 51 | - | |
| 52 | QSize rootObjectSize() const; | - |
| 53 | - | |
| 54 | QPointer<QQuickItem> root; | - |
| 55 | - | |
| 56 | QUrl source; | - |
| 57 | - | |
| 58 | mutable QPointer<QQmlEngine> engine; | - |
| 59 | QQmlComponent *component; | - |
| 60 | QBasicTimer resizetimer; | - |
| 61 | QQuickWindow *offscreenWindow; | - |
| 62 | QOffscreenSurface *offscreenSurface; | - |
| 63 | QQuickRenderControl *renderControl; | - |
| 64 | - | |
| 65 | - | |
| 66 | QOpenGLFramebufferObject *fbo; | - |
| 67 | QOpenGLFramebufferObject *resolvedFbo; | - |
| 68 | QOpenGLContext *context; | - |
| 69 | - | |
| 70 | - | |
| 71 | QQuickWidget::ResizeMode resizeMode; | - |
| 72 | QSize initialSize; | - |
| 73 | QElapsedTimer frameTimer; | - |
| 74 | - | |
| 75 | QBasicTimer updateTimer; | - |
| 76 | bool eventPending; | - |
| 77 | bool updatePending; | - |
| 78 | bool fakeHidden; | - |
| 79 | - | |
| 80 | int requestedSamples; | - |
| 81 | - | |
| 82 | bool useSoftwareRenderer; | - |
| 83 | QImage softwareImage; | - |
| 84 | QRegion updateRegion; | - |
| 85 | bool forceFullUpdate; | - |
| 86 | }; | - |
| 87 | - | |
| 88 | - | |
| Switch to Source code | Preprocessed file |