KDDockWidgets API Documentation
2.0
Loading...
Searching...
No Matches
source
src
qtwidgets
views
qtwidgets/views/Separator.h
Go to the documentation of this file.
1
/*
2
This file is part of KDDockWidgets.
3
4
SPDX-FileCopyrightText: 2019 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_SEPARATOR_QTWIDGETS_H
13
#define KD_SEPARATOR_QTWIDGETS_H
14
15
#pragma once
16
17
#include "
View.h
"
18
#include "kddockwidgets/Qt5Qt6Compat_p.h"
19
20
21
namespace
KDDockWidgets::Core
{
22
class
Separator
;
23
}
24
25
namespace
KDDockWidgets::QtWidgets
{
26
27
class
DOCKS_EXPORT
Separator
:
public
View
<QWidget>
28
{
29
Q_OBJECT
30
public
:
31
explicit
Separator
(
Core::Separator
*controller,
Core::View
*parent =
nullptr
);
32
33
protected
:
34
void
paintEvent(
QPaintEvent
*)
override
;
35
void
enterEvent(KDDockWidgets::Qt5Qt6Compat::QEnterEvent *)
override
;
36
void
leaveEvent(
QEvent
*)
override
;
37
void
mousePressEvent(
QMouseEvent
*)
override
;
38
void
mouseMoveEvent(
QMouseEvent
*)
override
;
39
void
mouseReleaseEvent(
QMouseEvent
*)
override
;
40
void
mouseDoubleClickEvent(
QMouseEvent
*)
override
;
41
42
private
:
43
Core::Separator
*
const
m_controller;
44
};
45
46
}
47
48
#endif
KDDockWidgets::Core::Separator
Definition
core/Separator.h:28
KDDockWidgets::Core::View
Definition
core/View.h:48
KDDockWidgets::QtWidgets::Separator
Definition
qtwidgets/views/Separator.h:28
KDDockWidgets::QtWidgets::View
Definition
qtwidgets/views/View.h:36
KDDockWidgets::Core
Definition
Config.h:27
KDDockWidgets::Core::ViewType::Separator
@ Separator
KDDockWidgets::QtWidgets
Definition
core/MainWindow.h:32
QEvent
QMouseEvent
QPaintEvent
View.h
© 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 by doxygen 1.9.8