DtkWidget 5.6.0.2
DTK Widget module
dmainwindow_p.h
1// SPDX-FileCopyrightText: 2017 - 2022 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4
5#ifndef DMAINWINDOW_P_H
6#define DMAINWINDOW_P_H
7
8#include <dtkwidget_global.h>
9#include <DMainWindow>
10#include <DShadowLine>
11
12#include <DObjectPrivate>
13
14class QShortcut;
15
16DWIDGET_BEGIN_NAMESPACE
17
18class DPlatformWindowHandle;
19class DTitlebar;
20class DMainWindowPrivate : public DTK_CORE_NAMESPACE::DObjectPrivate
21{
22public:
24
25 void init();
26 void updateTitleShadowGeometry();
27
28 DPlatformWindowHandle *handle = Q_NULLPTR;
29 DTitlebar *titlebar = Q_NULLPTR;
30 DShadowLine *titleShadow = nullptr;
31 QShortcut *help = Q_NULLPTR;
32
33private:
34 D_DECLARE_PUBLIC(DMainWindow)
35};
36
37DWIDGET_END_NAMESPACE
38
39#endif // DMAINWINDOW_P_H
Definition: dmainwindow_p.h:21
The DMainWindow class provides a main application window.
Definition: dmainwindow.h:21
Definition: dplatformwindowhandle.h:19
Definition: dshadowline.h:17
The DTitlebar class is an universal title bar on the top of windows.
Definition: dtitlebar.h:20