mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 11:17:15 +08:00
update
This commit is contained in:
parent
0df4c6858b
commit
ce552012f3
@ -68,7 +68,12 @@ FluScrollablePage{
|
|||||||
id: control
|
id: control
|
||||||
width: 220
|
width: 220
|
||||||
height: 240
|
height: 240
|
||||||
|
FluShadow{
|
||||||
|
radius:8
|
||||||
|
anchors.fill: item_content
|
||||||
|
}
|
||||||
FluItem{
|
FluItem{
|
||||||
|
id:item_content
|
||||||
radius: [8,8,8,8]
|
radius: [8,8,8,8]
|
||||||
width: 200
|
width: 200
|
||||||
height: 220
|
height: 220
|
||||||
|
@ -27,6 +27,7 @@ FRAMELESSHELPER_USE_NAMESPACE
|
|||||||
FramelessConfig::instance()->set(Global::Option::EnableBlurBehindWindow);
|
FramelessConfig::instance()->set(Global::Option::EnableBlurBehindWindow);
|
||||||
#ifdef Q_OS_WIN // 此设置仅在Windows下生效
|
#ifdef Q_OS_WIN // 此设置仅在Windows下生效
|
||||||
FramelessConfig::instance()->set(Global::Option::ForceHideWindowFrameBorder);
|
FramelessConfig::instance()->set(Global::Option::ForceHideWindowFrameBorder);
|
||||||
|
FramelessConfig::instance()->set(Global::Option::EnableBlurBehindWindow,false);
|
||||||
#endif
|
#endif
|
||||||
#ifdef Q_OS_MACOS
|
#ifdef Q_OS_MACOS
|
||||||
FramelessConfig::instance()->set(Global::Option::ForceNonNativeBackgroundBlur,false);
|
FramelessConfig::instance()->set(Global::Option::ForceNonNativeBackgroundBlur,false);
|
||||||
|
@ -5,7 +5,7 @@ import FluentUI
|
|||||||
Item{
|
Item{
|
||||||
property int mode: FluTimelineType.Left
|
property int mode: FluTimelineType.Left
|
||||||
property alias model: repeater.model
|
property alias model: repeater.model
|
||||||
property color lineColor: Qt.rgba(240/255,240/255,240/255,1)
|
property color lineColor: FluTheme.dark ? Qt.rgba(80/255,80/255,80/255,1) : Qt.rgba(210/255,210/255,210/255,1)
|
||||||
id:control
|
id:control
|
||||||
implicitWidth: 380
|
implicitWidth: 380
|
||||||
implicitHeight: layout_column.height
|
implicitHeight: layout_column.height
|
||||||
|
@ -12,9 +12,9 @@ Window {
|
|||||||
property Component loadingItem: com_loading
|
property Component loadingItem: com_loading
|
||||||
property color backgroundColor: {
|
property color backgroundColor: {
|
||||||
if(active){
|
if(active){
|
||||||
return FluTheme.dark ? Qt.rgba(26/255,34/255,40/255,1) : Qt.rgba(238/255,244/255,249/255,1)
|
return FluTheme.dark ? Qt.rgba(26/255,34/255,40/255,1) : Qt.rgba(243/255,243/255,243/255,1)
|
||||||
}
|
}
|
||||||
return FluTheme.dark ? Qt.rgba(32/255,32/255,32/255,1) : Qt.rgba(243/255,243/255,243/255,1)
|
return FluTheme.dark ? Qt.rgba(32/255,32/255,32/255,1) : Qt.rgba(237/255,237/255,237/255,1)
|
||||||
}
|
}
|
||||||
property var _pageRegister
|
property var _pageRegister
|
||||||
property string _route
|
property string _route
|
||||||
|
Loading…
Reference in New Issue
Block a user