qt-quick-for-designers-1:components
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
qt-quick-for-designers-1:components [2013/06/22 04:03] – mithat | qt-quick-for-designers-1:components [2013/06/22 04:16] – mithat | ||
---|---|---|---|
Line 48: | Line 48: | ||
===== Properties ===== | ===== Properties ===== | ||
- | * You can declare a '' | + | * You can declare a '' |
<file javascript ButtonSimple2.qml> | <file javascript ButtonSimple2.qml> | ||
import QtQuick 1.0 | import QtQuick 1.0 | ||
Line 66: | Line 66: | ||
anchors.topMargin: | anchors.topMargin: | ||
} | } | ||
+ | |||
+ | MouseArea { | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
+ | } | ||
}</ | }</ | ||
Line 82: | Line 89: | ||
anchors.bottom: | anchors.bottom: | ||
anchors.bottomMargin: | anchors.bottomMargin: | ||
- | | ||
- | MouseArea { | ||
- | anchors.fill: | ||
- | onClicked: { | ||
- | parent.labelText = " | ||
- | } | ||
- | } | ||
} | } | ||
}</ | }</ | ||
- | * Note that the MouseArea has been moved out of '' | + | |
+ | ===== Signals ===== |
qt-quick-for-designers-1/components.txt · Last modified: 2013/07/06 22:53 by mithat