KDDockWidgets API Documentation
2.0
Loading...
Searching...
No Matches
source
src
qtwidgets
DebugWindow.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
19
#ifndef DEBUGWINDOW_H
20
#define DEBUGWINDOW_H
21
#pragma once
22
23
#include "
ObjectViewer.h
"
24
25
#include <QWidget>
26
27
QT_BEGIN_NAMESPACE
28
class
QEventLoop
;
29
QT_END_NAMESPACE
30
31
namespace
KDDockWidgets
{
32
namespace
Debug {
33
34
class
DebugWindow
:
public
QWidget
35
{
36
Q_OBJECT
37
public
:
38
explicit
DebugWindow
(
QWidget
*
parent
=
nullptr
);
39
40
private
:
41
#ifdef Q_OS_WIN
42
void
dumpWindow(
QWidget
*);
43
void
dumpWindows();
44
#endif
45
46
void
repaintWidgetRecursive(
QWidget
*);
47
48
void
dumpDockWidgetInfo();
49
ObjectViewer
m_objectViewer;
50
QEventLoop
*m_isPickingWidget =
nullptr
;
51
52
protected
:
53
void
mousePressEvent
(
QMouseEvent
*
event
)
override
;
54
};
55
}
56
}
57
58
#endif
ObjectViewer.h
Tree Widget to show the object tree. Used for debugging only, for apps that don't support GammaRay.
KDDockWidgets::Debug::DebugWindow
Definition
DebugWindow.h:35
KDDockWidgets::Debug::DebugWindow::mousePressEvent
void mousePressEvent(QMouseEvent *event) override
Definition
DebugWindow.cpp:351
KDDockWidgets::Debug::ObjectViewer
Definition
ObjectViewer.h:38
KDDockWidgets
Class to abstract QAction, so code still works with QtQuick and Flutter.
Definition
KDStlContainerAdaptor.h:427
QEventLoop
QMouseEvent
QObject::Q_OBJECT
Q_OBJECTQ_OBJECT
QObject::parent
QObject * parent() const const
QWidget
QWidget::event
virtual bool event(QEvent *event) override
© 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