KDDockWidgets API Documentation
2.0
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
h
i
j
l
m
o
p
q
r
s
t
v
w
Functions
a
b
c
f
g
i
j
l
m
o
p
q
r
s
t
w
Variables
a
r
s
Typedefs
Enumerations
Enumerator
a
c
d
f
l
m
r
s
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Variables
d
g
i
m
p
s
v
Typedefs
b
c
l
p
s
t
v
Enumerations
Enumerator
c
f
i
r
Properties
a
c
d
f
g
h
i
m
o
s
t
u
Files
File List
File Members
All
a
b
c
d
f
h
i
k
l
m
o
p
q
r
s
t
w
Functions
a
b
c
d
f
h
i
l
m
o
p
q
r
s
t
w
Variables
Enumerations
Enumerator
Macros
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
Concepts
Loading...
Searching...
No Matches
source
src
qtwidgets
views
qtwidgets/views/SegmentedDropIndicatorOverlay.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_SEGMENTEDDROPINDICATOROVERLAY_QTWIDGETS_H
13
#define KD_SEGMENTEDDROPINDICATOROVERLAY_QTWIDGETS_H
14
15
#pragma once
16
17
#include "
View.h
"
18
19
namespace
KDDockWidgets
{
20
21
namespace
Core {
22
class
SegmentedDropIndicatorOverlay;
23
}
24
25
namespace
QtWidgets
{
26
27
class
DOCKS_EXPORT
SegmentedDropIndicatorOverlay
:
public
View
<QWidget>
28
{
29
Q_OBJECT
30
public
:
31
explicit
SegmentedDropIndicatorOverlay
(
Core::SegmentedDropIndicatorOverlay
*controller,
32
QWidget
*parent =
nullptr
);
33
~SegmentedDropIndicatorOverlay
()
override
;
34
35
static
QColor
s_segmentPenColor
;
36
static
QColor
s_segmentBrushColor
;
37
static
QColor
s_hoveredSegmentBrushColor
;
38
39
protected
:
40
void
paintEvent(
QPaintEvent
*)
override
;
41
42
private
:
43
void
drawSegments(
QPainter
*p);
44
void
drawSegment(
QPainter
*p,
const
QPolygon
&segment);
45
Core::SegmentedDropIndicatorOverlay
*
const
m_controller;
46
};
27
class
DOCKS_EXPORT
SegmentedDropIndicatorOverlay
:
public
View
<QWidget> {
…
};
47
48
}
49
50
}
51
52
#endif
KDDockWidgets::Core::SegmentedDropIndicatorOverlay
Definition
core/indicators/SegmentedDropIndicatorOverlay.h:24
KDDockWidgets::QtWidgets::SegmentedDropIndicatorOverlay
Definition
qtwidgets/views/SegmentedDropIndicatorOverlay.h:28
KDDockWidgets::QtWidgets::SegmentedDropIndicatorOverlay::s_segmentBrushColor
static QColor s_segmentBrushColor
Definition
qtwidgets/views/SegmentedDropIndicatorOverlay.h:36
KDDockWidgets::QtWidgets::SegmentedDropIndicatorOverlay::s_hoveredSegmentBrushColor
static QColor s_hoveredSegmentBrushColor
Definition
qtwidgets/views/SegmentedDropIndicatorOverlay.h:37
KDDockWidgets::QtWidgets::SegmentedDropIndicatorOverlay::s_segmentPenColor
static QColor s_segmentPenColor
Definition
qtwidgets/views/SegmentedDropIndicatorOverlay.h:35
KDDockWidgets::QtWidgets::SegmentedDropIndicatorOverlay::~SegmentedDropIndicatorOverlay
~SegmentedDropIndicatorOverlay() override
KDDockWidgets::QtWidgets::View
Definition
qtwidgets/views/View.h:36
KDDockWidgets
Class to abstract QAction, so code still works with QtQuick and Flutter.
Definition
KDStlContainerAdaptor.h:427
KDDockWidgets::FrontendType::QtWidgets
@ QtWidgets
QColor
QPainter
QPaintEvent
QPolygon
View.h
QWidget
© 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