mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-03 16:45:24 +08:00
update
This commit is contained in:
@ -161,19 +161,12 @@ void FluFrameless::componentComplete() {
|
||||
if (!isCompositionEnabled()) {
|
||||
offsetSize = 0;
|
||||
}
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||
if (!isMaximum) {
|
||||
clientRect->top = originalTop + offsetSize;
|
||||
clientRect->bottom = originalBottom;
|
||||
clientRect->left = originalLeft;
|
||||
clientRect->right = originalRight;
|
||||
}
|
||||
#else
|
||||
clientRect->top = originalTop + offsetSize;
|
||||
clientRect->bottom = originalBottom;
|
||||
clientRect->left = originalLeft;
|
||||
clientRect->right = originalRight;
|
||||
#endif
|
||||
_setMaximizeHovered(false);
|
||||
*result = WVR_REDRAW;
|
||||
return true;
|
||||
|
@ -12,6 +12,7 @@ Rectangle {
|
||||
property int cellHeight: 30
|
||||
property int depthPadding: 15
|
||||
property bool checkable: false
|
||||
property alias selectionModel: tree_model.selectionModel
|
||||
property color lineColor: FluTheme.dividerColor
|
||||
property color borderColor: FluTheme.dark ? Qt.rgba(37/255,37/255,37/255,1) : Qt.rgba(228/255,228/255,228/255,1)
|
||||
property color selectedBorderColor: FluTheme.primaryColor
|
||||
@ -710,9 +711,6 @@ Rectangle {
|
||||
}
|
||||
}
|
||||
}
|
||||
function selectionModel(){
|
||||
return tree_model.selectionModel
|
||||
}
|
||||
function count(){
|
||||
return tree_model.dataSourceSize
|
||||
}
|
||||
|
@ -12,6 +12,7 @@ Rectangle {
|
||||
property int cellHeight: 30
|
||||
property int depthPadding: 15
|
||||
property bool checkable: false
|
||||
property alias selectionModel: tree_model.selectionModel
|
||||
property color lineColor: FluTheme.dividerColor
|
||||
property color borderColor: FluTheme.dark ? Qt.rgba(37/255,37/255,37/255,1) : Qt.rgba(228/255,228/255,228/255,1)
|
||||
property color selectedBorderColor: FluTheme.primaryColor
|
||||
@ -710,9 +711,6 @@ Rectangle {
|
||||
}
|
||||
}
|
||||
}
|
||||
function selectionModel(){
|
||||
return tree_model.selectionModel
|
||||
}
|
||||
function count(){
|
||||
return tree_model.dataSourceSize
|
||||
}
|
||||
|
Reference in New Issue
Block a user