Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
src_gui_widgets_qdockwidget.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
5QDockWidget *dockWidget = qobject_cast<QDockWidget*>(parentWidget());
7 // I need to be vertical
8} else {
9 // I need to be horizontal
10}
The QDockWidget class provides a widget that can be docked inside a QMainWindow or floated as a top-l...
Definition qdockwidget.h:20
@ DockWidgetVerticalTitleBar
Definition qdockwidget.h:42
DockWidgetFeatures features
whether the dock widget is movable, closable, and floatable
Definition qdockwidget.h:24
QDockWidget * dockWidget
[0]