mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-03 16:45:24 +08:00
Merge branch 'main' of https://github.com/zhuzichu520/FluentUI
This commit is contained in:
@ -2262,20 +2262,21 @@ Some contents...</source>
|
||||
<message>
|
||||
<location filename="qml/page/T_Theme.qml" line="123"/>
|
||||
<source>Open Blur Window</source>
|
||||
<oldsource>Rounded Window</oldsource>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="qml/page/T_Theme.qml" line="136"/>
|
||||
<location filename="qml/page/T_Theme.qml" line="158"/>
|
||||
<source>window tintOpacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="qml/page/T_Theme.qml" line="153"/>
|
||||
<location filename="qml/page/T_Theme.qml" line="175"/>
|
||||
<source>window blurRadius</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="qml/page/T_Theme.qml" line="169"/>
|
||||
<location filename="qml/page/T_Theme.qml" line="135"/>
|
||||
<source>window effect</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -2444,22 +2444,23 @@ Some contents...</source>
|
||||
<message>
|
||||
<location filename="qml/page/T_Theme.qml" line="123"/>
|
||||
<source>Open Blur Window</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<oldsource>Rounded Window</oldsource>
|
||||
<translation>亚克力背景</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="qml/page/T_Theme.qml" line="136"/>
|
||||
<location filename="qml/page/T_Theme.qml" line="158"/>
|
||||
<source>window tintOpacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>背景透明度</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="qml/page/T_Theme.qml" line="153"/>
|
||||
<location filename="qml/page/T_Theme.qml" line="175"/>
|
||||
<source>window blurRadius</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>背景模糊度</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="qml/page/T_Theme.qml" line="169"/>
|
||||
<location filename="qml/page/T_Theme.qml" line="135"/>
|
||||
<source>window effect</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>窗口效果</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="qml/page/T_Theme.qml" line="178"/>
|
||||
|
@ -131,6 +131,28 @@ FluScrollablePage{
|
||||
FluTheme.blurBehindWindowEnabled = !FluTheme.blurBehindWindowEnabled
|
||||
}
|
||||
}
|
||||
FluText{
|
||||
text: qsTr("window effect")
|
||||
Layout.topMargin: 20
|
||||
}
|
||||
Row{
|
||||
spacing: 10
|
||||
Repeater{
|
||||
model: window.availableEffects
|
||||
delegate: FluRadioButton{
|
||||
checked: window.effect === modelData
|
||||
text: qsTr(`${modelData}`)
|
||||
clickListener:function(){
|
||||
window.effect = modelData
|
||||
if(window.effective){
|
||||
FluTheme.blurBehindWindowEnabled = false
|
||||
toggle_blur.checked = Qt.binding( function() {return FluTheme.blurBehindWindowEnabled})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
FluText{
|
||||
visible: FluTheme.blurBehindWindowEnabled || window.effect === "dwm-blur"
|
||||
text: qsTr("window tintOpacity")
|
||||
@ -165,28 +187,6 @@ FluScrollablePage{
|
||||
value = window.blurRadius
|
||||
}
|
||||
}
|
||||
FluText{
|
||||
text: qsTr("window effect")
|
||||
Layout.topMargin: 20
|
||||
}
|
||||
Row{
|
||||
spacing: 10
|
||||
Repeater{
|
||||
model: window.availableEffects
|
||||
delegate: FluRadioButton{
|
||||
checked: window.effect === modelData
|
||||
text: qsTr(`${modelData}`)
|
||||
clickListener:function(){
|
||||
window.effect = modelData
|
||||
if(window.effective){
|
||||
FluTheme.blurBehindWindowEnabled = false
|
||||
toggle_blur.checked = Qt.binding( function() {return FluTheme.blurBehindWindowEnabled})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
CodeExpander{
|
||||
|
Reference in New Issue
Block a user