qskinny/doc/classes/QskIndexedLayoutBox.dox
2021-01-25 11:06:01 +01:00

70 lines
1.8 KiB
Plaintext

/*!
\class QskIndexedLayoutBox QskIndexedLayoutBox.h
\brief Base class of layouts with index ordered elements
*/
/*!
\property bool QskIndexedLayoutBox::autoAddChildren
\brief Flag controlling whether to automatically append children to the layout.
When autoAddChildren is enabled new children are automatically
appended to the layout. Otherwise items have to be inserted
manually using addItem() or insertItem().
\note Children being transparent for positioners are ignored
\accessors autoAddChildren(), setAutoAddChildren(), autoAddChildrenChanged()
*/
/*!
\fn QskIndexedLayoutBox::QskIndexedLayoutBox( QQuickItem* )
\brief Constructor
Create a layout having autoAddChildren set to false.
\param parent Parent item
*/
/*!
\fn QskIndexedLayoutBox::~QskIndexedLayoutBox()
\brief Destructor
*/
/*!
\fn void QskIndexedLayoutBox::autoAddChildrenChanged()
The autoAddChildren property has changed
\sa setAutoAddChildren(), autoAddChildren()
*/
/*!
\fn void QskIndexedLayoutBox::setAutoAddChildren( bool on )
\brief En/Disable auto appending of children
When autoAddChildren() is enabled new children are automatically
appended to the layout. Otherwise items have to be inserted
manually using addItem() or insertItem().
\param on When true autoAddChildren is enabled
\note Existing children, that have not been inserted before
remain being not seen by the layout.
*/
/*!
\fn bool QskIndexedLayoutBox::autoAddChildren() const
\return Value of the \ref autoAddChildren property
*/
/*!
\fn void QskIndexedLayoutBox::itemChange( QQQuickItem *::ItemChange, const QQQuickItem *::ItemChangeData & )
Checking ItemChildAddedChange/ItemChildRemovedChange changes to
implement the \ref autoAddChildren mode
\sa autoAddChildren
*/