Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import QtQuick 1.1
- import Twitter4QML 1.0 as Twitter4QML
- Rectangle {
- width: 360
- height: 360
- Twitter4QML.OAuth {
- id: oauth
- consumer_key: ""
- consumer_secret: ""
- token: ''
- token_secret: ''
- user_id: ''
- screen_name: ''
- }
- ListView {
- id: view
- anchors.fill: parent
- model: Twitter4QML.FilterStreamModel {
- id: model
- track: '#kosenconf'
- }
- delegate: Column {
- width: ListView.view.width
- Text {
- text: model.user.name
- font.pixelSize: 16
- font.bold: true
- }
- Text {
- width: parent.width
- wrapMode: Text.WrapAnywhere
- text: model.text
- font.pixelSize: 14
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement