-
Notifications
You must be signed in to change notification settings - Fork 11
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#291
- Loading branch information
1 parent
7377a97
commit 02d4266
Showing
8 changed files
with
1,394 additions
and
543 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,196 @@ | ||
// SPDX-FileCopyrightText: 2024 UnionTech Software Technology Co., Ltd. | ||
// | ||
// SPDX-License-Identifier: LGPL-3.0-or-later | ||
|
||
#include "private/dplatformwindowinterface_p.h" | ||
|
||
DGUI_BEGIN_NAMESPACE | ||
|
||
DPlatformWindowInterface::DPlatformWindowInterface(QWindow *window, DPlatformHandle *platformHandle) | ||
: m_window(window) | ||
, m_platformHandle(platformHandle) | ||
{ | ||
} | ||
|
||
DPlatformWindowInterface::~DPlatformWindowInterface() | ||
{ | ||
} | ||
|
||
QWindow *DPlatformWindowInterface::window() const | ||
{ | ||
return m_window; | ||
} | ||
|
||
void DPlatformWindowInterface::setEnabled(bool enabled) | ||
{ | ||
Q_UNUSED(enabled) | ||
} | ||
|
||
bool DPlatformWindowInterface::isEnabled() const | ||
{ | ||
return false; | ||
} | ||
|
||
bool DPlatformWindowInterface::isEnabledNoTitlebar() const | ||
{ | ||
return {}; | ||
} | ||
|
||
bool DPlatformWindowInterface::setEnabledNoTitlebar(bool enable) | ||
{ | ||
Q_UNUSED(enable) | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setDisableWindowOverrideCursor(bool disable) | ||
{ | ||
Q_UNUSED(disable) | ||
} | ||
|
||
int DPlatformWindowInterface::windowRadius() const | ||
{ | ||
return -1; | ||
} | ||
|
||
void DPlatformWindowInterface::setWindowRadius(int windowRadius) | ||
{ | ||
Q_UNUSED(windowRadius) | ||
} | ||
|
||
int DPlatformWindowInterface::borderWidth() const | ||
{ | ||
return -1; | ||
} | ||
|
||
void DPlatformWindowInterface::setBorderWidth(int borderWidth) | ||
{ | ||
Q_UNUSED(borderWidth) | ||
} | ||
|
||
QColor DPlatformWindowInterface::borderColor() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setBorderColor(const QColor &borderColor) | ||
{ | ||
Q_UNUSED(borderColor) | ||
} | ||
|
||
int DPlatformWindowInterface::shadowRadius() const | ||
{ | ||
return -1; | ||
} | ||
|
||
void DPlatformWindowInterface::setShadowRadius(int shadowRadius) | ||
{ | ||
Q_UNUSED(shadowRadius) | ||
} | ||
|
||
QPoint DPlatformWindowInterface::shadowOffset() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setShadowOffset(const QPoint &shadowOffset) | ||
{ | ||
Q_UNUSED(shadowOffset) | ||
} | ||
|
||
QColor DPlatformWindowInterface::shadowColor() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setShadowColor(const QColor &shadowColor) | ||
{ | ||
Q_UNUSED(shadowColor) | ||
} | ||
|
||
DPlatformHandle::EffectScene DPlatformWindowInterface::windowEffect() | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setWindowEffect(DPlatformHandle::EffectScenes effectScene) | ||
{ | ||
Q_UNUSED(effectScene) | ||
} | ||
|
||
DPlatformHandle::EffectType DPlatformWindowInterface::windowStartUpEffect() | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setWindowStartUpEffect(DPlatformHandle::EffectTypes effectType) | ||
{ | ||
Q_UNUSED(effectType) | ||
} | ||
|
||
QPainterPath DPlatformWindowInterface::clipPath() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setClipPath(const QPainterPath &clipPath) | ||
{ | ||
Q_UNUSED(clipPath) | ||
} | ||
|
||
QRegion DPlatformWindowInterface::frameMask() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setFrameMask(const QRegion &frameMask) | ||
{ | ||
Q_UNUSED(frameMask) | ||
} | ||
|
||
QMargins DPlatformWindowInterface::frameMargins() const | ||
{ | ||
return {}; | ||
} | ||
|
||
bool DPlatformWindowInterface::translucentBackground() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setTranslucentBackground(bool translucentBackground) | ||
{ | ||
Q_UNUSED(translucentBackground) | ||
} | ||
|
||
bool DPlatformWindowInterface::enableSystemResize() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setEnableSystemResize(bool enableSystemResize) | ||
{ | ||
Q_UNUSED(enableSystemResize) | ||
} | ||
|
||
bool DPlatformWindowInterface::enableSystemMove() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setEnableSystemMove(bool enableSystemMove) | ||
{ | ||
Q_UNUSED(enableSystemMove) | ||
} | ||
|
||
bool DPlatformWindowInterface::enableBlurWindow() const | ||
{ | ||
return {}; | ||
} | ||
|
||
void DPlatformWindowInterface::setEnableBlurWindow(bool enableBlurWindow) | ||
{ | ||
Q_UNUSED(enableBlurWindow) | ||
} | ||
|
||
DGUI_END_NAMESPACE | ||
|
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
Oops, something went wrong.