-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Synchronize source files from linuxdeepin/dtkgui. Source-pull-request: linuxdeepin/dtkgui#258
- Loading branch information
1 parent
e25e766
commit 4d6b80a
Showing
11 changed files
with
1,357 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,214 @@ | ||
// SPDX-FileCopyrightText: 2024 UnionTech Software Technology Co., Ltd. | ||
// | ||
// SPDX-License-Identifier: LGPL-3.0-or-later | ||
|
||
#include "dplatformhandle.h" | ||
#include "private/dplatformwindowinterface_p.h" | ||
#include "private/dplatformwindowinterface_p_p.h" | ||
#include "dtkgui_global.h" | ||
#include <dobject.h> | ||
#include <qobject.h> | ||
|
||
DGUI_BEGIN_NAMESPACE | ||
|
||
DPlatformWindowInterfacePrivate::DPlatformWindowInterfacePrivate(DPlatformWindowInterface *qq) | ||
: DObjectPrivate(qq) | ||
{ | ||
} | ||
|
||
DPlatformWindowInterface::DPlatformWindowInterface(QWindow *window, DPlatformHandle *platformHandle, QObject *parent) | ||
:DPlatformWindowInterface(*new DPlatformWindowInterfacePrivate(this), window, platformHandle, parent) | ||
{ | ||
} | ||
|
||
DPlatformWindowInterface::~DPlatformWindowInterface() | ||
{ | ||
} | ||
|
||
QWindow *DPlatformWindowInterface::window() const | ||
{ | ||
D_DC(DPlatformWindowInterface); | ||
|
||
return d->m_window; | ||
} | ||
|
||
bool DPlatformWindowInterface::isEnabledNoTitlebar() const | ||
{ | ||
return {}; | ||
} | ||
|
||
bool DPlatformWindowInterface::setEnabledNoTitlebar(bool enable) | ||
{ | ||
return {}; | ||
} | ||
|
||
bool DPlatformWindowInterface::setWindowBlurAreaByWM(const QVector<DPlatformHandle::WMBlurArea> &area) | ||
{ | ||
return {}; | ||
} | ||
|
||
bool DPlatformWindowInterface::setWindowBlurAreaByWM(const QList<QPainterPath> &paths) | ||
{ | ||
return {}; | ||
} | ||
|
||
int DPlatformWindowInterface::windowRadius() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setWindowRadius(int windowRadius) | ||
{ | ||
} | ||
|
||
int DPlatformWindowInterface::borderWidth() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setBorderWidth(int borderWidth) | ||
{ | ||
} | ||
|
||
QColor DPlatformWindowInterface::borderColor() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setBorderColor(const QColor &borderColor) | ||
{ | ||
} | ||
|
||
int DPlatformWindowInterface::shadowRadius() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setShadowRadius(int shadowRadius) | ||
{ | ||
} | ||
|
||
QPoint DPlatformWindowInterface::shadowOffset() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setShadowOffset(const QPoint &shadowOffset) | ||
{ | ||
} | ||
|
||
QColor DPlatformWindowInterface::shadowColor() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setShadowColor(const QColor &shadowColor) | ||
{ | ||
} | ||
|
||
DPlatformHandle::EffectScene DPlatformWindowInterface::windowEffect() | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setWindowEffect(DPlatformHandle::EffectScenes effectScene) | ||
{ | ||
} | ||
|
||
DPlatformHandle::EffectType DPlatformWindowInterface::windowStartUpEffect() | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setWindowStartUpEffect(DPlatformHandle::EffectTypes effectType) | ||
{ | ||
} | ||
|
||
QPainterPath DPlatformWindowInterface::clipPath() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setClipPath(const QPainterPath &clipPath) | ||
{ | ||
} | ||
|
||
QRegion DPlatformWindowInterface::frameMask() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setFrameMask(const QRegion &frameMask) | ||
{ | ||
} | ||
|
||
QMargins DPlatformWindowInterface::frameMargins() const | ||
{ | ||
return {}; | ||
} | ||
|
||
bool DPlatformWindowInterface::translucentBackground() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setTranslucentBackground(bool translucentBackground) | ||
{ | ||
} | ||
|
||
bool DPlatformWindowInterface::enableSystemResize() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setEnableSystemResize(bool enableSystemResize) | ||
{ | ||
} | ||
|
||
bool DPlatformWindowInterface::enableSystemMove() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setEnableSystemMove(bool enableSystemMove) | ||
{ | ||
} | ||
|
||
bool DPlatformWindowInterface::enableBlurWindow() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setEnableBlurWindow(bool enableBlurWindow) | ||
{ | ||
} | ||
|
||
bool DPlatformWindowInterface::autoInputMaskByClipPath() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setAutoInputMaskByClipPath(bool autoInputMaskByClipPath) | ||
{ | ||
} | ||
|
||
WId DPlatformWindowInterface::realWindowId() const | ||
{ | ||
return {}; | ||
} | ||
|
||
WId DPlatformWindowInterface::windowLeader() | ||
{ | ||
return {}; | ||
} | ||
|
||
DPlatformWindowInterface::DPlatformWindowInterface(DPlatformWindowInterfacePrivate &dd, QWindow *window, DPlatformHandle *platformHandle, QObject *parent) | ||
: QObject(parent) | ||
, DObject(dd) | ||
{ | ||
d_func()->m_window = window; | ||
d_func()->m_platformHandle = platformHandle; | ||
} | ||
|
||
DGUI_END_NAMESPACE | ||
|
Oops, something went wrong.