mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-16 08:29:15 +01:00
Change mouse pointr type to show this is a link
This commit is contained in:
parent
af6ee00fe1
commit
6243cad768
@ -135,15 +135,20 @@ Rectangle {
|
|||||||
text: welcomePlugin.newVersionText
|
text: welcomePlugin.newVersionText
|
||||||
anchors.rightMargin: 0
|
anchors.rightMargin: 0
|
||||||
font.bold: true
|
font.bold: true
|
||||||
|
font.underline: true
|
||||||
styleColor: "#00000000"
|
styleColor: "#00000000"
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
font.pixelSize: 14
|
font.pixelSize: 14
|
||||||
anchors.left: textOpVersion.right
|
anchors.left: textOpVersion.right
|
||||||
|
|
||||||
MouseArea{
|
MouseArea{
|
||||||
|
id: mouseAreaOpVersionAvailable
|
||||||
|
hoverEnabled: true
|
||||||
|
cursorShape: Qt.PointingHandCursor
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: parent.height
|
height: parent.height
|
||||||
onClicked: welcomePlugin.openUrl("http://wiki.openpilot.org/display/BUILDS/OpenPilot+Software+Downloads")
|
onClicked: {
|
||||||
|
welcomePlugin.openUrl("http://wiki.openpilot.org/display/BUILDS/OpenPilot+Software+Downloads")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -169,7 +169,7 @@ void WelcomeMode::networkResponseReady(QNetworkReply* reply)
|
|||||||
|
|
||||||
if(version != VersionInfo::tagOrHash8())
|
if(version != VersionInfo::tagOrHash8())
|
||||||
{
|
{
|
||||||
m_newVersionText = tr("(Update Available: %1)").arg(version);
|
m_newVersionText = tr("Update Available: %1").arg(version);
|
||||||
emit newVersionTextChanged();
|
emit newVersionTextChanged();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user