mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-26 13:27:05 +08:00
update
This commit is contained in:
parent
0b17d03f23
commit
7fe71c892b
@ -25,11 +25,7 @@ endif ()
|
|||||||
|
|
||||||
if (FLUENTUI_BUILD_FRAMELESSHEPLER)
|
if (FLUENTUI_BUILD_FRAMELESSHEPLER)
|
||||||
set(FRAMELESSHELPER_BUILD_STATIC ON)
|
set(FRAMELESSHELPER_BUILD_STATIC ON)
|
||||||
set(FRAMELESSHELPER_NO_SUMMARY OFF)
|
set(FRAMELESSHELPER_NO_DEBUG_OUTPUT ON)
|
||||||
set(FRAMELESSHELPER_NO_DEBUG_OUTPUT OFF)
|
|
||||||
set(FRAMELESSHELPER_BUILD_WIDGETS OFF)
|
|
||||||
add_definitions(-DFRAMELESSHELPER_CORE_NO_DEBUG_OUTPUT)
|
|
||||||
add_definitions(-DFRAMELESSHELPER_QUICK_NO_DEBUG_OUTPUT)
|
|
||||||
add_subdirectory(framelesshelper)
|
add_subdirectory(framelesshelper)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
@ -10,6 +10,12 @@ Window {
|
|||||||
property var argument:({})
|
property var argument:({})
|
||||||
property var background : com_background
|
property var background : com_background
|
||||||
property Component loadingItem: com_loading
|
property Component loadingItem: com_loading
|
||||||
|
property color backgroundColor: {
|
||||||
|
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(32/255,32/255,32/255,1) : Qt.rgba(243/255,243/255,243/255,1)
|
||||||
|
}
|
||||||
property var _pageRegister
|
property var _pageRegister
|
||||||
property string _route
|
property string _route
|
||||||
property var closeFunc: function(event){
|
property var closeFunc: function(event){
|
||||||
@ -34,12 +40,7 @@ Window {
|
|||||||
Component{
|
Component{
|
||||||
id:com_background
|
id:com_background
|
||||||
Rectangle{
|
Rectangle{
|
||||||
color: {
|
color: window.backgroundColor
|
||||||
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(32/255,32/255,32/255,1) : Qt.rgba(243/255,243/255,243/255,1)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loader{
|
Loader{
|
||||||
|
Loading…
Reference in New Issue
Block a user