open url on N
This commit is contained in:
parent
c474db9a0c
commit
f24fc3da3c
2 changed files with 4 additions and 2 deletions
|
@ -4,7 +4,7 @@ import QtQuick.Controls 1.3
|
||||||
Component {
|
Component {
|
||||||
Item {
|
Item {
|
||||||
property int headLinefontSize: 14
|
property int headLinefontSize: 14
|
||||||
property int smallfontSize: 10
|
property int smallfontSize: 11
|
||||||
|
|
||||||
id: item
|
id: item
|
||||||
height: column.height + 20
|
height: column.height + 20
|
||||||
|
@ -47,6 +47,7 @@ Component {
|
||||||
}
|
}
|
||||||
Label {
|
Label {
|
||||||
text: title
|
text: title
|
||||||
|
color: read ? "gray" : this.color
|
||||||
font.pointSize: headLinefontSize
|
font.pointSize: headLinefontSize
|
||||||
textFormat: Text.PlainText
|
textFormat: Text.PlainText
|
||||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||||
|
|
|
@ -62,7 +62,8 @@ MenuBar {
|
||||||
MenuItem {
|
MenuItem {
|
||||||
text: qsTr("Open in Browser")
|
text: qsTr("Open in Browser")
|
||||||
shortcut: "N"
|
shortcut: "N"
|
||||||
enabled: false
|
enabled: true
|
||||||
|
onTriggered: Qt.openUrlExternally(content.post.link)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue