diff options
| author | Ilya Kitaev <mbg033@gmail.com> | 2016-06-21 11:58:06 +0300 |
|---|---|---|
| committer | Ilya Kitaev <mbg033@gmail.com> | 2016-06-21 11:58:06 +0300 |
| commit | 88d9be953babda68cb5325258569578c11fa4438 (patch) | |
| tree | 4e22b0a202b7e7d325818acb8c2d88161a3411f8 /RightPanel.qml | |
| parent | 417c9bf60925aa0b7bc6ccc78721c8bc905ff88f (diff) | |
| download | monzero-gui-88d9be953babda68cb5325258569578c11fa4438.tar.gz monzero-gui-88d9be953babda68cb5325258569578c11fa4438.tar.xz monzero-gui-88d9be953babda68cb5325258569578c11fa4438.zip | |
Lazy loading for the tweets
Diffstat (limited to 'RightPanel.qml')
| -rw-r--r-- | RightPanel.qml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/RightPanel.qml b/RightPanel.qml index b29cb28a..c5878146 100644 --- a/RightPanel.qml +++ b/RightPanel.qml @@ -36,6 +36,11 @@ Rectangle { width: 330 color: "#FFFFFF" + function updateTweets() { + tabView.twitter.item.updateTweets() + } + + TabView { id: tabView anchors.left: parent.left @@ -45,12 +50,18 @@ Rectangle { anchors.leftMargin: 14 anchors.rightMargin: 14 anchors.topMargin: 40 + property alias twitter: twitter + - Tab { title: qsTr("Twitter"); source: "tabs/Twitter.qml" } + + + Tab { id: twitter; title: qsTr("Twitter"); source: "tabs/Twitter.qml" } Tab { title: "News" } Tab { title: "Help" } Tab { title: "About" } + + style: TabViewStyle { frameOverlap: 0 tabOverlap: 0 |
