mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Add hover open in browser
Add disabled steam
This commit is contained in:
parent
76083ba0be
commit
5fcc4be4ab
@ -35,19 +35,16 @@ Item {
|
||||
openLink: swipeView.itemAt(0).url
|
||||
icon.source: "qrc:/assets/icons/icon_forum.svg"
|
||||
}
|
||||
|
||||
CommunityNavItem {
|
||||
text: qsTr("Wiki")
|
||||
openLink: swipeView.itemAt(1).url
|
||||
icon.source: "qrc:/assets/icons/icon_help_center.svg"
|
||||
}
|
||||
|
||||
CommunityNavItem {
|
||||
text: qsTr("Issues List")
|
||||
openLink: swipeView.itemAt(2).url
|
||||
icon.source: "qrc:/assets/icons/icon_report_problem.svg"
|
||||
}
|
||||
|
||||
CommunityNavItem {
|
||||
text: qsTr("Release Notes")
|
||||
openLink: swipeView.itemAt(3).url
|
||||
@ -58,12 +55,18 @@ Item {
|
||||
openLink: swipeView.itemAt(4).url
|
||||
icon.source: "qrc:/assets/icons/icon_supervisor_account.svg"
|
||||
}
|
||||
CommunityNavItem {
|
||||
enabled: false
|
||||
text: qsTr("Steam Workshop")
|
||||
openLink: "steam://url/GameHub/672870"
|
||||
icon.source: "qrc:/assets/icons/icon_steam.svg"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
LinearGradient {
|
||||
height: 6
|
||||
z:99
|
||||
z: 99
|
||||
anchors {
|
||||
top: navWrapper.bottom
|
||||
left: parent.left
|
||||
@ -113,5 +116,9 @@ Item {
|
||||
WebEngineView {
|
||||
url: "https://gitlab.com/kelteseth/ScreenPlay#contributing-for-none-programmer"
|
||||
}
|
||||
|
||||
WebEngineView {
|
||||
url: "https://steamcommunity.com/app/672870/workshop/"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -43,7 +43,6 @@ TabButton {
|
||||
anchors {
|
||||
top: parent.top
|
||||
topMargin: 15
|
||||
|
||||
right: parent.right
|
||||
}
|
||||
opacity: 0.6
|
||||
@ -53,6 +52,11 @@ TabButton {
|
||||
icon.width: 16
|
||||
icon.height: 16
|
||||
onClicked: Qt.openUrlExternally(control.openLink)
|
||||
|
||||
ToolTip.delay: 500
|
||||
ToolTip.timeout: 5000
|
||||
ToolTip.visible: hovered
|
||||
ToolTip.text: qsTr("Open in browser")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user