diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-10-18 10:28:54 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-02-26 10:03:19 +0100 |
commit | 517893325daabbc77b0740b4e85f0214d49c93fa (patch) | |
tree | b5f4aa24f975dd879bd4999fb7eb26f25812468d /examples/gui | |
parent | 94869cf1cacb1a5c2d722f49feb8e8af895144bc (diff) |
Port the simplerhiwidget example
Task-number: QTBUG-113331
Task-number: PYSIDE-2497
Task-number: PYSIDE-2206
Change-Id: I69b69a761eb4485b8a0f6c14d92065b0699336ea
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'examples/gui')
-rw-r--r-- | examples/gui/rhiwindow/doc/rhiwindow.rst | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/examples/gui/rhiwindow/doc/rhiwindow.rst b/examples/gui/rhiwindow/doc/rhiwindow.rst index f38f9af63..defbc46ef 100644 --- a/examples/gui/rhiwindow/doc/rhiwindow.rst +++ b/examples/gui/rhiwindow/doc/rhiwindow.rst @@ -1,3 +1,5 @@ +.. _rhi-window-example: + RHI Window Example ================== @@ -28,13 +30,7 @@ platform/API specifics or correctly handling ``QExposeEvent`` and resize events for the window are all managed by Qt Quick. Whereas in this example, all that is managed and taken care of by the application itself. -.. note:: For ``QWidget``-based applications in particular, it should be noted - that ``QWidget::createWindowContainer()`` allows embedding a ``QWindow`` - (backed by a native window) into the widget-based user interface. Therefore, - the ``HelloWindow`` class from this example is reusable in ``QWidget``-based - applications, assuming the necessary initialization from ``main()`` is in place - as well. - +.. note:: For ``QWidget``-based applications, see the :ref:`rhi-widget-example`. Shaders ------- |