~dragly/ubuntu-rssreader-app/single-entry-styling

« back to all changes in this revision

Viewing changes to SingleEntryPage.qml

  • Committer: Tarmac
  • Author(s): Svenn-Arne Dragly
  • Date: 2013-04-16 07:16:39 UTC
  • mfrom: (5.1.4 ubuntu-rssreader-app)
  • Revision ID: tarmac-20130416071639-v6ug4t6ahb8mfdos
Implemented design proposal with horizontal swipes between feeds on main screen.

Approved by Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import QtQuick 2.0
 
2
 
 
3
import QtWebKit 3.0
 
4
 
 
5
Rectangle {
 
6
    width: 30
 
7
    height: 30
 
8
    property alias content: contentLabel
 
9
 
 
10
    /* FIRST WAY OF DISPLAYING FEED */
 
11
    WebView {
 
12
        id: contentLabel
 
13
        anchors.fill: parent
 
14
 
 
15
        onNavigationRequested: {
 
16
            if (request.navigationType == 0)
 
17
                request.action = 1
 
18
        }
 
19
    }
 
20
}