1
by Loïc Molinari
Initial import |
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 |
}
|