~loic.molinari/+junk/qtdeclarative-shadereffectsource-changes

« back to all changes in this revision

Viewing changes to tests/auto/quick/qquickitem2/data/implicitsize.qml

  • Committer: Loïc Molinari
  • Date: 2012-04-21 17:59:51 UTC
  • Revision ID: loic.molinari@canonical.com-20120421175951-bqx68caaf5zrp76l
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import QtQuick 2.0
 
2
 
 
3
Item {
 
4
    implicitWidth: 200
 
5
    implicitHeight: 100
 
6
 
 
7
    width: 80
 
8
    height: 60
 
9
 
 
10
    function resetSize() {
 
11
        width = undefined
 
12
        height = undefined
 
13
    }
 
14
 
 
15
    function changeImplicit() {
 
16
        implicitWidth = 150
 
17
        implicitHeight = 80
 
18
    }
 
19
}