mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 03:10:10 +08:00
update
This commit is contained in:
parent
0e55f31fe2
commit
b3e26d17a2
@ -680,7 +680,7 @@
|
|||||||
<location filename="qml/window/MainWindow.qml" line="118"/>
|
<location filename="qml/window/MainWindow.qml" line="118"/>
|
||||||
<location filename="qml-Qt6/window/MainWindow.qml" line="118"/>
|
<location filename="qml-Qt6/window/MainWindow.qml" line="118"/>
|
||||||
<source>Open in Separate Window</source>
|
<source>Open in Separate Window</source>
|
||||||
<translation type="unfinished">单独窗口打开</translation>
|
<translation type="unfinished">在独立窗口中打开</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/window/MainWindow.qml" line="215"/>
|
<location filename="qml/window/MainWindow.qml" line="215"/>
|
||||||
|
@ -112,11 +112,10 @@ FluWindow {
|
|||||||
Component{
|
Component{
|
||||||
id: nav_item_right_menu
|
id: nav_item_right_menu
|
||||||
FluMenu{
|
FluMenu{
|
||||||
id: menu
|
width: 186
|
||||||
width: 130
|
|
||||||
FluMenuItem{
|
FluMenuItem{
|
||||||
text: qsTr("Open in Separate Window")
|
text: qsTr("Open in Separate Window")
|
||||||
visible: true
|
font.pixelSize: 12
|
||||||
onClicked: {
|
onClicked: {
|
||||||
FluApp.navigate("/pageWindow",{title:modelData.title,url:modelData.url})
|
FluApp.navigate("/pageWindow",{title:modelData.title,url:modelData.url})
|
||||||
}
|
}
|
||||||
|
@ -112,11 +112,10 @@ FluWindow {
|
|||||||
Component{
|
Component{
|
||||||
id: nav_item_right_menu
|
id: nav_item_right_menu
|
||||||
FluMenu{
|
FluMenu{
|
||||||
id: menu
|
width: 186
|
||||||
width: 130
|
|
||||||
FluMenuItem{
|
FluMenuItem{
|
||||||
text: qsTr("Open in Separate Window")
|
text: qsTr("Open in Separate Window")
|
||||||
visible: true
|
font.pixelSize: 12
|
||||||
onClicked: {
|
onClicked: {
|
||||||
FluApp.navigate("/pageWindow",{title:modelData.title,url:modelData.url})
|
FluApp.navigate("/pageWindow",{title:modelData.title,url:modelData.url})
|
||||||
}
|
}
|
||||||
|
@ -40,6 +40,7 @@ T.MenuItem {
|
|||||||
icon.height: 24
|
icon.height: 24
|
||||||
icon.color: control.palette.windowText
|
icon.color: control.palette.windowText
|
||||||
height: visible ? implicitHeight : 0
|
height: visible ? implicitHeight : 0
|
||||||
|
font:FluTextStyle.Body
|
||||||
Component{
|
Component{
|
||||||
id:com_icon
|
id:com_icon
|
||||||
FluIcon{
|
FluIcon{
|
||||||
@ -69,6 +70,7 @@ T.MenuItem {
|
|||||||
FluText {
|
FluText {
|
||||||
id:content_text
|
id:content_text
|
||||||
text: control.text
|
text: control.text
|
||||||
|
font: control.font
|
||||||
color: control.textColor
|
color: control.textColor
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
|
@ -41,6 +41,7 @@ T.MenuItem {
|
|||||||
icon.height: 24
|
icon.height: 24
|
||||||
icon.color: control.palette.windowText
|
icon.color: control.palette.windowText
|
||||||
height: visible ? implicitHeight : 0
|
height: visible ? implicitHeight : 0
|
||||||
|
font:FluTextStyle.Body
|
||||||
Component{
|
Component{
|
||||||
id:com_icon
|
id:com_icon
|
||||||
FluIcon{
|
FluIcon{
|
||||||
@ -70,6 +71,7 @@ T.MenuItem {
|
|||||||
FluText {
|
FluText {
|
||||||
id:content_text
|
id:content_text
|
||||||
text: control.text
|
text: control.text
|
||||||
|
font: control.font
|
||||||
color: control.textColor
|
color: control.textColor
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user