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