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
qtoolbarseparator_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QDYNAMICTOOLBARSEPARATOR_P_H
5#define QDYNAMICTOOLBARSEPARATOR_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtWidgets/private/qtwidgetsglobal_p.h>
19#include "QtWidgets/qwidget.h"
20
22
24
25class QStyleOption;
26class QToolBar;
27
29{
31 Qt::Orientation orient;
32
33public:
35
37
38 QSize sizeHint() const override;
39
40 void paintEvent(QPaintEvent *) override;
42
43public Q_SLOTS:
45};
46
48
49#endif // QDYNAMICTOOLBARSEPARATOR_P_H
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:346
The QPaintEvent class contains event parameters for paint events.
Definition qevent.h:486
\inmodule QtCore
Definition qsize.h:25
The QStyleOption class stores the parameters used by QStyle functions.
QToolBarSeparator(QToolBar *parent)
void setOrientation(Qt::Orientation orientation)
Qt::Orientation orientation() const
void initStyleOption(QStyleOption *option) const
void paintEvent(QPaintEvent *) override
This event handler can be reimplemented in a subclass to receive paint events passed in event.
QSize sizeHint() const override
The QToolBar class provides a movable panel that contains a set of controls.
Definition qtoolbar.h:23
The QWidget class is the base class of all user interface objects.
Definition qwidget.h:99
Combined button and popup list for selecting options.
Orientation
Definition qnamespace.h:98
GLuint GLenum option
#define QT_REQUIRE_CONFIG(feature)
#define Q_OBJECT
#define Q_SLOTS