more detailed TabButton

This commit is contained in:
Marco Martin 2011-12-22 19:20:48 +01:00
parent 3a0405b50e
commit 7efa3012db

View File

@ -53,22 +53,23 @@ Description:
Properties: Properties:
Item tab: Item tab:
TODO The reference to the tab content (one of the children of a TabGroup, usually a Page) that is activated when this TabButton is clicked.
bool checked: bool checked:
Returns true if the button is checked,otherwise false. True if the button is checked,otherwise false.
bool pressed: bool pressed:
Returns true if the button is being pressed,otherwise false. True if the button is being pressed,otherwise false.
alias text: string text:
Sets the text for the button. Sets the text for the button.
alias iconSource: string iconSource:
Sets an icon for the button Icon for the button. It can be a Freedesktop icon name, a full path to a ong/svg file, or any name for which the application has an image handler registered.
Signals: Signals:
onClicked: onClicked:
The signal is being emmited when the button is being clicked. The signal is emmited when the button is clicked.
**/ **/
import QtQuick 1.1 import QtQuick 1.1