Compare commits
No commits in common. "7597af64649010a559b96afcd23ea063e122fd09" and "66b438f644fe3d483b5be0edb3d17c37e6155ff7" have entirely different histories.
7597af6464
...
66b438f644
|
@ -112,6 +112,7 @@ Item {
|
||||||
RibbonButton{
|
RibbonButton{
|
||||||
id: maximizeBtn
|
id: maximizeBtn
|
||||||
show_bg:false
|
show_bg:false
|
||||||
|
show_tooltip: Qt.platform.os !== "windows"
|
||||||
icon_source: Window.window.visibility === Window.Maximized ? RibbonIcons.ArrowMinimize : RibbonIcons.ArrowMaximize
|
icon_source: Window.window.visibility === Window.Maximized ? RibbonIcons.ArrowMinimize : RibbonIcons.ArrowMaximize
|
||||||
text_color: titleBar.title_text_color
|
text_color: titleBar.title_text_color
|
||||||
hover_color: "#61C554"
|
hover_color: "#61C554"
|
||||||
|
@ -155,18 +156,5 @@ Item {
|
||||||
checked: RibbonTheme.dark_mode
|
checked: RibbonTheme.dark_mode
|
||||||
visible: show_darkmode_btn
|
visible: show_darkmode_btn
|
||||||
}
|
}
|
||||||
RibbonButton{
|
|
||||||
id: pinBtn
|
|
||||||
show_bg:false
|
|
||||||
icon_source: checked ? RibbonIcons.Pin : RibbonIcons.PinOff
|
|
||||||
icon_source_filled: checked ? RibbonIcons_Filled.Pin : RibbonIcons_Filled.PinOff
|
|
||||||
checkable: true
|
|
||||||
text_color: title_text_color
|
|
||||||
hover_color: Qt.rgba(0,0,0, 0.3)
|
|
||||||
pressed_color: Qt.rgba(0,0,0, 0.4)
|
|
||||||
text_color_reverse: false
|
|
||||||
tip_text: qsTr("Stay on Top")
|
|
||||||
onClicked: Window.window.flags ^= Qt.WindowStaysOnTopHint
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue