standard signals altough unused
This commit is contained in:
parent
b51d5b1cd9
commit
2a79834ceb
@ -38,19 +38,23 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
import QtQuick 1.1
|
import QtQuick 1.0
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
property bool inPortrait: height > width
|
property bool inPortrait: height > width
|
||||||
|
signal orientationChangeAboutToStart
|
||||||
|
signal orientationChangeStarted
|
||||||
|
signal orientationChangeFinished
|
||||||
|
|
||||||
width: 800
|
width: 800
|
||||||
height: 480
|
height: 480
|
||||||
|
|
||||||
//FIXME: something from the plasma theme
|
Connections {
|
||||||
Rectangle {
|
target: root
|
||||||
anchors.fill: parent
|
onInPortraitChanged: {
|
||||||
|
root.orientationChangeFinished()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user