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
core
views
StackViewInterface.cpp
Go to the documentation of this file.
1
/*
2
This file is part of KDDockWidgets.
3
4
SPDX-FileCopyrightText: 2020 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
#include "
StackViewInterface.h
"
13
#include "kddockwidgets/core/Stack.h"
14
15
16
namespace
KDDockWidgets::Core
{
17
18
StackViewInterface::StackViewInterface
(
Stack
*controller)
19
: m_stack(controller)
20
{
21
}
18
StackViewInterface::StackViewInterface
(
Stack
*controller) {
…
}
22
23
StackViewInterface::~StackViewInterface
() =
default
;
24
25
bool
StackViewInterface::isPositionDraggable
(Point)
const
26
{
27
return
true
;
28
}
25
bool
StackViewInterface::isPositionDraggable
(Point)
const
{
…
}
29
30
void
StackViewInterface::setDocumentMode
(
bool
)
31
{
33
}
30
void
StackViewInterface::setDocumentMode
(
bool
) {
…
}
34
35
}
StackViewInterface.h
KDDockWidgets::Core::StackViewInterface::StackViewInterface
StackViewInterface(Stack *)
Definition
StackViewInterface.cpp:18
KDDockWidgets::Core::StackViewInterface::isPositionDraggable
virtual bool isPositionDraggable(Point p) const
Reimplement if you want to support dragging by QTabWidget instead of TitleBar This is only implemente...
Definition
StackViewInterface.cpp:25
KDDockWidgets::Core::StackViewInterface::setDocumentMode
virtual void setDocumentMode(bool)
Sets QTabWidget::documentMode(). Only implemented for QtWidgets. Probably not interesting for other f...
Definition
StackViewInterface.cpp:30
KDDockWidgets::Core::StackViewInterface::~StackViewInterface
virtual ~StackViewInterface()
KDDockWidgets::Core::Stack
Definition
core/Stack.h:35
KDDockWidgets::Core
Definition
Config.h:27
© 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