mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-27 13:49:08 +08:00
Compare commits
2 Commits
41cbeef3fd
...
5fd934b5f5
Author | SHA1 | Date | |
---|---|---|---|
|
5fd934b5f5 | ||
|
b7fde5f79c |
@ -195,8 +195,7 @@ bool FluFrameless::nativeEventFilter(const QByteArray &eventType, void *message,
|
|||||||
if (0 != *result) {
|
if (0 != *result) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
auto aa = _hitAppBar();
|
if(_hitAppBar()){
|
||||||
if(aa){
|
|
||||||
*result = HTCAPTION;
|
*result = HTCAPTION;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -47,9 +47,8 @@ private:
|
|||||||
bool _containsCursorToItem(QQuickItem* item);
|
bool _containsCursorToItem(QQuickItem* item);
|
||||||
bool _hitAppBar();
|
bool _hitAppBar();
|
||||||
bool _hitMaximizeButton();
|
bool _hitMaximizeButton();
|
||||||
qint64 _current;
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
qint64 _current;
|
||||||
int _edges = 0;
|
int _edges = 0;
|
||||||
int _margins = 8;
|
int _margins = 8;
|
||||||
QList<QPointer<QQuickItem>> _hitTestList;
|
QList<QPointer<QQuickItem>> _hitTestList;
|
||||||
|
@ -3,7 +3,7 @@ import QtQuick.Controls 2.15
|
|||||||
import FluentUI 1.0
|
import FluentUI 1.0
|
||||||
|
|
||||||
QtObject {
|
QtObject {
|
||||||
readonly property string key : FluTools.uuid()
|
property string key
|
||||||
property int _idx
|
property int _idx
|
||||||
property var _ext
|
property var _ext
|
||||||
property var _parent
|
property var _parent
|
||||||
@ -22,4 +22,7 @@ QtObject {
|
|||||||
property var extra
|
property var extra
|
||||||
property bool showEdit
|
property bool showEdit
|
||||||
signal tap
|
signal tap
|
||||||
|
Component.onCompleted: {
|
||||||
|
key = FluTools.uuid()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,9 +3,12 @@ import QtQuick.Controls 2.15
|
|||||||
import FluentUI 1.0
|
import FluentUI 1.0
|
||||||
|
|
||||||
QtObject {
|
QtObject {
|
||||||
readonly property string key : FluTools.uuid()
|
property string key
|
||||||
property int _idx
|
property int _idx
|
||||||
property var _ext
|
property var _ext
|
||||||
property var _parent
|
property var _parent
|
||||||
property bool visible: true
|
property bool visible: true
|
||||||
|
Component.onCompleted: {
|
||||||
|
key = FluTools.uuid()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ import QtQuick.Controls 2.15
|
|||||||
import FluentUI 1.0
|
import FluentUI 1.0
|
||||||
|
|
||||||
FluObject {
|
FluObject {
|
||||||
readonly property string key : FluTools.uuid()
|
property string key
|
||||||
property int _idx
|
property int _idx
|
||||||
property bool visible: true
|
property bool visible: true
|
||||||
property string title
|
property string title
|
||||||
@ -15,4 +15,7 @@ FluObject {
|
|||||||
property Component iconDelegate
|
property Component iconDelegate
|
||||||
property Component menuDelegate
|
property Component menuDelegate
|
||||||
property Component editDelegate
|
property Component editDelegate
|
||||||
|
Component.onCompleted: {
|
||||||
|
key = FluTools.uuid()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,9 +3,12 @@ import QtQuick.Controls 2.15
|
|||||||
import FluentUI 1.0
|
import FluentUI 1.0
|
||||||
|
|
||||||
QtObject {
|
QtObject {
|
||||||
readonly property string key : FluTools.uuid()
|
property string key
|
||||||
property int _idx
|
property int _idx
|
||||||
property bool visible: true
|
property bool visible: true
|
||||||
property string title
|
property string title
|
||||||
property var parent
|
property var parent
|
||||||
|
Component.onCompleted: {
|
||||||
|
key = FluTools.uuid()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,13 @@ import QtQuick.Controls 2.15
|
|||||||
import FluentUI 1.0
|
import FluentUI 1.0
|
||||||
|
|
||||||
QtObject {
|
QtObject {
|
||||||
readonly property string key : FluTools.uuid()
|
property string key
|
||||||
property int _idx
|
property int _idx
|
||||||
property bool visible: true
|
property bool visible: true
|
||||||
property var parent
|
property var parent
|
||||||
property real spacing
|
property real spacing
|
||||||
property int size:1
|
property int size:1
|
||||||
|
Component.onCompleted: {
|
||||||
|
key = FluTools.uuid()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ import QtQuick.Controls
|
|||||||
import FluentUI
|
import FluentUI
|
||||||
|
|
||||||
QtObject {
|
QtObject {
|
||||||
readonly property string key : FluTools.uuid()
|
property string key
|
||||||
property int _idx
|
property int _idx
|
||||||
property var _ext
|
property var _ext
|
||||||
property var _parent
|
property var _parent
|
||||||
@ -22,4 +22,7 @@ QtObject {
|
|||||||
property var extra
|
property var extra
|
||||||
property bool showEdit
|
property bool showEdit
|
||||||
signal tap
|
signal tap
|
||||||
|
Component.onCompleted: {
|
||||||
|
key = FluTools.uuid()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,9 +3,12 @@ import QtQuick.Controls
|
|||||||
import FluentUI
|
import FluentUI
|
||||||
|
|
||||||
QtObject {
|
QtObject {
|
||||||
readonly property string key : FluTools.uuid()
|
property string key
|
||||||
property int _idx
|
property int _idx
|
||||||
property var _ext
|
property var _ext
|
||||||
property var _parent
|
property var _parent
|
||||||
property bool visible: true
|
property bool visible: true
|
||||||
|
Component.onCompleted: {
|
||||||
|
key = FluTools.uuid()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ import QtQuick.Controls
|
|||||||
import FluentUI
|
import FluentUI
|
||||||
|
|
||||||
FluObject {
|
FluObject {
|
||||||
readonly property string key : FluTools.uuid()
|
property string key
|
||||||
property int _idx
|
property int _idx
|
||||||
property bool visible: true
|
property bool visible: true
|
||||||
property string title
|
property string title
|
||||||
@ -15,4 +15,7 @@ FluObject {
|
|||||||
property Component iconDelegate
|
property Component iconDelegate
|
||||||
property Component menuDelegate
|
property Component menuDelegate
|
||||||
property Component editDelegate
|
property Component editDelegate
|
||||||
|
Component.onCompleted: {
|
||||||
|
key = FluTools.uuid()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,9 +3,12 @@ import QtQuick.Controls
|
|||||||
import FluentUI
|
import FluentUI
|
||||||
|
|
||||||
QtObject {
|
QtObject {
|
||||||
readonly property string key : FluTools.uuid()
|
property string key
|
||||||
property int _idx
|
property int _idx
|
||||||
property bool visible: true
|
property bool visible: true
|
||||||
property string title
|
property string title
|
||||||
property var parent
|
property var parent
|
||||||
|
Component.onCompleted: {
|
||||||
|
key = FluTools.uuid()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,13 @@ import QtQuick.Controls
|
|||||||
import FluentUI
|
import FluentUI
|
||||||
|
|
||||||
QtObject {
|
QtObject {
|
||||||
readonly property string key : FluTools.uuid()
|
property string key
|
||||||
property int _idx
|
property int _idx
|
||||||
property bool visible: true
|
property bool visible: true
|
||||||
property var parent
|
property var parent
|
||||||
property real spacing
|
property real spacing
|
||||||
property int size:1
|
property int size:1
|
||||||
|
Component.onCompleted: {
|
||||||
|
key = FluTools.uuid()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Controls
|
import QtQuick.Controls
|
||||||
|
import QtQuick.Controls.Basic
|
||||||
import FluentUI
|
import FluentUI
|
||||||
|
|
||||||
Page {
|
Page {
|
||||||
|
Loading…
Reference in New Issue
Block a user