KDDockWidgets API Documentation 1.7
Loading...
Searching...
No Matches
Separator_qwidget.h
Go to the documentation of this file.
1/*
2 This file is part of KDDockWidgets.
3
4 SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
5 Author: SĂ©rgio Martins <sergio.martins@kdab.com>
6
7 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
8
9 Contact KDAB at <info@kdab.com> for commercial licensing options.
10*/
11
12#ifndef KD_MULTISPLITTER_SEPARATORQWIDGET_P_H
13#define KD_MULTISPLITTER_SEPARATORQWIDGET_P_H
14
15#include "kddockwidgets/docks_export.h"
16#include "Separator_p.h"
17#include "Widget_qwidget.h"
18#include "kddockwidgets/Qt5Qt6Compat_p.h"
19
20#include <QRubberBand>
21
22// clazy:excludeall=ctor-missing-parent-argument
23
24namespace Layouting {
25
26class DOCKS_EXPORT SeparatorWidget
27 : public QWidget,
28 public Layouting::Separator,
30{
31 Q_OBJECT
32public:
33 explicit SeparatorWidget(Layouting::Widget *parent = nullptr);
34
35protected:
36 void paintEvent(QPaintEvent *) override;
37 void enterEvent(KDDockWidgets::Qt5Qt6Compat::QEnterEvent *) override;
38 void leaveEvent(QEvent *) override;
39 void mousePressEvent(QMouseEvent *) override;
40 void mouseMoveEvent(QMouseEvent *) override;
41 void mouseReleaseEvent(QMouseEvent *) override;
42 void mouseDoubleClickEvent(QMouseEvent *) override;
43 Widget *createRubberBand(Widget *parent) override;
44 Widget *asWidget() override;
45};
46
48{
50public:
52};
53
54}
55
56#endif
A Layouting::Widget that's deals in QWidget.
RubberBand(Layouting::Widget *parent)
A Layouting::Widget that's deals in QWidget Allows to host a QWidget in the layout.
An abstraction/wrapper around QWidget, QtQuickItem or anything else.
Definition Widget.h:77
QObject * parent() const
Definition Widget.h:126
Q_OBJECTQ_OBJECT

© 2019-2023 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDDockWidgets
Advanced Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets/
Generated on Wed Nov 1 2023 00:02:31 for KDDockWidgets API Documentation by doxygen 1.9.8