Doxygenize ButtonRow
This commit is contained in:
parent
2b6797dca3
commit
22c18e2d1e
@ -39,48 +39,39 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
/**Documented API
|
||||
Inherits:
|
||||
Row
|
||||
|
||||
Imports:
|
||||
ButtonGroup.js
|
||||
QtQuick 1.1
|
||||
|
||||
|
||||
Description:
|
||||
A ButtonRow allows you to group Buttons in a row. It provides a selection-behavior as well.
|
||||
|
||||
Note: This component don't support the enabled property.
|
||||
If you need to disable it you should disable all the buttons inside it.
|
||||
|
||||
This is an example,
|
||||
<code>
|
||||
ButtonRow {
|
||||
Button { text: "Left" }
|
||||
Button { text: "Right" }
|
||||
}
|
||||
</code>
|
||||
|
||||
Properties:
|
||||
bool exclusive:
|
||||
Specifies the grouping behavior. If enabled, the checked property on buttons contained
|
||||
in the group will be exclusive.The default value is true.
|
||||
|
||||
Note that a button in an exclusive group will allways be checkable
|
||||
|
||||
Item checkedButton:
|
||||
Returns the last checked button.
|
||||
**/
|
||||
|
||||
import QtQuick 1.1
|
||||
import "ButtonGroup.js" as Behavior
|
||||
|
||||
/**
|
||||
* A ButtonRow allows you to group Buttons in a row. It provides a
|
||||
* selection-behavior as well.
|
||||
*
|
||||
* Note: This component does not support the enabled property. If you need to
|
||||
* disable it you should disable all the buttons inside it.
|
||||
*
|
||||
* Example code:
|
||||
*
|
||||
* @code
|
||||
* ButtonRow {
|
||||
* Button { text: "Left" }
|
||||
* Button { text: "Right" }
|
||||
* }
|
||||
* @endcode
|
||||
*/
|
||||
Row {
|
||||
id: root
|
||||
|
||||
/**
|
||||
* Specifies the grouping behavior. If enabled, the checked property on
|
||||
* buttons contained in the group will be exclusive.The default value is true.
|
||||
*
|
||||
* Note that a button in an exclusive group will always be checkable
|
||||
*/
|
||||
property bool exclusive: true
|
||||
|
||||
/**
|
||||
* Returns the last checked button
|
||||
*/
|
||||
property Item checkedButton;
|
||||
|
||||
Component.onCompleted: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user