.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "11_demos\itom\ui\demo_dockWidgetExamples.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note Click :ref:`here ` to download the full example code .. rst-class:: sphx-glr-example-title .. _sphx_glr_11_demos_itom_ui_demo_dockWidgetExamples.py: Dockwidget ============= Create a dockWidget form the main window at the bottom dock widget area The dock widget can be destroyed by deleting the variable, that references to it. If the dock widget is hidden by clicking the close button, it is hidden and can be re-shown e.g. by the context menu of the toolbar of ``itom``. .. GENERATED FROM PYTHON SOURCE LINES 9-15 .. code-block:: default from itom import ui bottom_dock_window = ui("mainWindow.ui", ui.TYPEDOCKWIDGET, dockWidgetArea=ui.BOTTOMDOCKWIDGETAREA) .. GENERATED FROM PYTHON SOURCE LINES 17-21 Create a dock widget form the main window at the bottom dock widget area The dock widget can be destroyed by deleting the variable, that references to it. If the dock widget is hidden by clicking the close button, it is hidden and can be re-shown e.g. by the context menu of the toolbar of itom. .. GENERATED FROM PYTHON SOURCE LINES 21-25 .. code-block:: default right_dock_widget = ui("widget.ui", ui.TYPEDOCKWIDGET, dockWidgetArea=ui.RIGHTDOCKWIDGETAREA) bottom_dock_window.show() right_dock_widget.show() .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 0.180 seconds) .. _sphx_glr_download_11_demos_itom_ui_demo_dockWidgetExamples.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: demo_dockWidgetExamples.py ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: demo_dockWidgetExamples.ipynb `