forked from qt-creator/qt-creator
WelcomeScreen: Pointing cursor for News
Change-Id: Ib327f70354296f5237e4783502329e64e02b53cd Reviewed-on: http://codereview.qt.nokia.com/890 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
committed by
Eike Ziller
parent
0627498500
commit
17c8833c05
@@ -1,4 +1,5 @@
|
||||
import Qt 4.7
|
||||
import "../components/" as Components
|
||||
|
||||
Item {
|
||||
id: root
|
||||
@@ -50,10 +51,17 @@ Item {
|
||||
Image { id: icon; source: blogIcon; asynchronous: true }
|
||||
Text { id: heading2; text: blogName; font.italic: true; wrapMode: Text.WrapAtWordBoundaryOrAnywhere; textFormat: Text.RichText; width: parent.width-icon.width-5 }
|
||||
}
|
||||
Text { id: text; text: description; wrapMode: Text.WrapAtWordBoundaryOrAnywhere; textFormat: Text.RichText ; width: parent.width-10 }
|
||||
Text {
|
||||
id: text;
|
||||
text: description;
|
||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||
textFormat: Text.RichText
|
||||
width: parent.width-10
|
||||
}
|
||||
Text { visible: link !== ""; id: readmore; text: qsTr("Click to read more..."); font.italic: true; wrapMode: Text.WrapAtWordBoundaryOrAnywhere; textFormat: Text.RichText }
|
||||
}
|
||||
MouseArea { anchors.fill: parent; onClicked: Qt.openUrlExternally(link); hoverEnabled: true; id: mouseArea }
|
||||
Components.QStyleItem { id: styleItem; cursor: "pointinghandcursor"; anchors.fill: column }
|
||||
MouseArea { anchors.fill: column; onClicked: Qt.openUrlExternally(link); hoverEnabled: true; id: mouseArea }
|
||||
|
||||
StateGroup {
|
||||
id: activeState
|
||||
|
Reference in New Issue
Block a user