KDDockWidgets API Documentation
1.7
Loading...
Searching...
No Matches
source
src
private
multisplitter
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
24
namespace
Layouting
{
25
26
class
DOCKS_EXPORT
SeparatorWidget
27
:
public
QWidget
,
28
public
Layouting::Separator,
29
public
Layouting::Widget_qwidget
30
{
31
Q_OBJECT
32
public
:
33
explicit
SeparatorWidget
(
Layouting::Widget
*parent =
nullptr
);
34
35
protected
:
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
47
class
RubberBand
:
public
QRubberBand
,
public
Layouting::Widget_qwidget
48
{
49
Q_OBJECT
50
public
:
51
explicit
RubberBand
(
Layouting::Widget
*
parent
);
52
};
53
54
}
55
56
#endif
Widget_qwidget.h
A Layouting::Widget that's deals in QWidget.
Layouting::RubberBand
Definition
Rubberband_quick.h:26
Layouting::RubberBand::RubberBand
RubberBand(Layouting::Widget *parent)
Layouting::SeparatorWidget
Definition
Separator_qwidget.h:30
Layouting::Widget_qwidget
A Layouting::Widget that's deals in QWidget Allows to host a QWidget in the layout.
Definition
Widget_qwidget.h:28
Layouting::Widget
An abstraction/wrapper around QWidget, QtQuickItem or anything else.
Definition
Widget.h:77
Layouting::Widget::parent
QObject * parent() const
Definition
Widget.h:126
Layouting
Definition
FrameworkWidgetFactory.h:36
QEvent
QMouseEvent
QObject::Q_OBJECT
Q_OBJECTQ_OBJECT
QPaintEvent
QRubberBand
QWidget
© 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