update
parent
6174cbc2a4
commit
e7f6ad8b26
|
@ -37,6 +37,7 @@ SOURCES += \
|
||||||
qml_plugin.cpp \
|
qml_plugin.cpp \
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
|
LIBS += -ldwmapi -luser32
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
FramelessView_win.cpp
|
FramelessView_win.cpp
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -6,16 +6,10 @@
|
||||||
#include <FluTheme.h>
|
#include <FluTheme.h>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
|
||||||
#include <VersionHelpers.h>
|
|
||||||
#include <WinUser.h>
|
|
||||||
#include <dwmapi.h>
|
#include <dwmapi.h>
|
||||||
#include <objidl.h>
|
|
||||||
#include <windows.h>
|
|
||||||
#include <windowsx.h>
|
#include <windowsx.h>
|
||||||
#include <wtypes.h>
|
|
||||||
#pragma comment(lib, "Dwmapi.lib")
|
#pragma comment(lib, "Dwmapi.lib")
|
||||||
#pragma comment(lib, "User32.lib")
|
#pragma comment(lib, "User32.lib")
|
||||||
#pragma comment(lib, "Gdi32.lib")
|
|
||||||
|
|
||||||
static bool isMaxWin(QWindow* win)
|
static bool isMaxWin(QWindow* win)
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
import QtQuick.Window 2.15
|
import QtQuick.Window 2.15
|
||||||
import QtQuick.Controls 2.15
|
import QtQuick.Controls 2.15
|
||||||
import QtQuick.Layouts 1.15
|
import QtQuick.Layouts 1.15
|
||||||
|
|
||||||
import FluentUI 1.0
|
import FluentUI 1.0
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
@ -169,7 +168,6 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
RowLayout{
|
RowLayout{
|
||||||
id:layout_actions
|
id:layout_actions
|
||||||
anchors{
|
anchors{
|
||||||
|
|
Loading…
Reference in New Issue