VCF::HorizontalLayoutContainer Class Reference
#include <vcf/ApplicationKit/HorizontalLayoutContainer.h>
Inheritance diagram for VCF::HorizontalLayoutContainer:
List of all members.
|
Public Member Functions |
| | HorizontalLayoutContainer () |
| | HorizontalLayoutContainer (Component *owner) |
| void | setNumberOfColumns (const uint32 &numColumns) |
| uint32 | getNumberOfColumns () const |
| void | setColumnWidth (const uint32 &index, const double &width) |
| double | getColumnWidth (const uint32 &index) const |
| void | insertColumnWidth (const uint32 &index, const double &val) |
| void | removeColumnWidth (const uint32 &index) |
| void | setColumnTweenWidth (const uint32 &index, const double &width) |
| double | getColumnTweenWidth (const uint32 &index) const |
| void | insertColumnTweenWidth (const uint32 &index, const double &val) |
| void | removeColumnTweenWidth (const uint32 &index) |
| uint32 | getColumnTweenCount () const |
| void | setMaxRowHeight (const double &val) |
| double | getMaxRowHeight () |
| void | setEqualizeHeights (const bool &equalize) |
| | Set if we want all the row heights to be the same as the hightest one.
|
| bool | getEqualizeHeights () |
| void | setAverageHeights (const bool &average) |
| | Set if we want all the row heights to be the same as the average height that fills the parent control.
|
| bool | getAverageHeights () |
| void | setKeepControlsWidth (const bool &keep) |
| | Set if we want the controls to keep their width or, as it is by default, resize their width to the one of the column where they are located.
|
| bool | getKeepControlsWidth () |
| double | getMinimumVisibleHeight () |
| virtual void | resizeChildren (Control *control) |
| | resizes all the children, according to their alignment types and anchor values.
|
| bool | getMaximizeLastRow () |
| void | setMaximizeLastRow (const bool &val) |
| void | setRowSpacerHeight (const double &val) |
| double | getRowSpacerHeight () |
| bool | generatePropertyValue (const String &fullPropertyName, Property *property, VariantData *value, String &strValue) |
Protected Attributes |
| std::vector< double > | columns_ |
| std::vector< double > | columnTweens_ |
| double | maxRowHeight_ |
| double | rowSpacerHeight_ |
| bool | maximizeLastRow_ |
| bool | equalizeHeights_ |
| bool | averageHeights_ |
| bool | keepControlsWidth_ |
Constructor & Destructor Documentation
| VCF::HorizontalLayoutContainer::HorizontalLayoutContainer |
( |
|
) |
[inline] |
|
| VCF::HorizontalLayoutContainer::HorizontalLayoutContainer |
( |
Component * |
owner |
) |
[inline] |
|
Member Function Documentation
| bool VCF::HorizontalLayoutContainer::generatePropertyValue |
( |
const String & |
fullPropertyName, |
|
|
Property * |
property, |
|
|
VariantData * |
value, |
|
|
String & |
strValue |
|
) |
[inline, virtual] |
|
| bool VCF::HorizontalLayoutContainer::getAverageHeights |
( |
|
) |
[inline] |
|
| uint32 VCF::HorizontalLayoutContainer::getColumnTweenCount |
( |
|
) |
const [inline] |
|
| double VCF::HorizontalLayoutContainer::getColumnTweenWidth |
( |
const uint32 & |
index |
) |
const [inline] |
|
| double VCF::HorizontalLayoutContainer::getColumnWidth |
( |
const uint32 & |
index |
) |
const [inline] |
|
| bool VCF::HorizontalLayoutContainer::getEqualizeHeights |
( |
|
) |
[inline] |
|
| bool VCF::HorizontalLayoutContainer::getKeepControlsWidth |
( |
|
) |
[inline] |
|
| bool VCF::HorizontalLayoutContainer::getMaximizeLastRow |
( |
|
) |
[inline] |
|
| double VCF::HorizontalLayoutContainer::getMaxRowHeight |
( |
|
) |
[inline] |
|
| double VCF::HorizontalLayoutContainer::getMinimumVisibleHeight |
( |
|
) |
[inline] |
|
| uint32 VCF::HorizontalLayoutContainer::getNumberOfColumns |
( |
|
) |
const [inline] |
|
| double VCF::HorizontalLayoutContainer::getRowSpacerHeight |
( |
|
) |
[inline] |
|
| void VCF::HorizontalLayoutContainer::insertColumnTweenWidth |
( |
const uint32 & |
index, |
|
|
const double & |
val |
|
) |
[inline] |
|
| void VCF::HorizontalLayoutContainer::insertColumnWidth |
( |
const uint32 & |
index, |
|
|
const double & |
val |
|
) |
[inline] |
|
| void VCF::HorizontalLayoutContainer::removeColumnTweenWidth |
( |
const uint32 & |
index |
) |
[inline] |
|
| void VCF::HorizontalLayoutContainer::removeColumnWidth |
( |
const uint32 & |
index |
) |
[inline] |
|
| virtual void VCF::HorizontalLayoutContainer::resizeChildren |
( |
Control * |
control |
) |
[inline, virtual] |
|
|
|
resizes all the children, according to their alignment types and anchor values.
Usually called by the implementing container control when it is resized. - Parameters:
-
| Control | the child control that has changed and should be paid attention to. If the the parameter is NULL then the control that the container is attached to has changed. |
Reimplemented from VCF::StandardContainer. |
| void VCF::HorizontalLayoutContainer::setAverageHeights |
( |
const bool & |
average |
) |
[inline] |
|
|
|
Set if we want all the row heights to be the same as the average height that fills the parent control.
The default is false; |
| void VCF::HorizontalLayoutContainer::setColumnTweenWidth |
( |
const uint32 & |
index, |
|
|
const double & |
width |
|
) |
[inline] |
|
| void VCF::HorizontalLayoutContainer::setColumnWidth |
( |
const uint32 & |
index, |
|
|
const double & |
width |
|
) |
[inline] |
|
| void VCF::HorizontalLayoutContainer::setEqualizeHeights |
( |
const bool & |
equalize |
) |
[inline] |
|
|
|
Set if we want all the row heights to be the same as the hightest one.
The default is false; This flag excludes setEqualizeHeights(). |
| void VCF::HorizontalLayoutContainer::setKeepControlsWidth |
( |
const bool & |
keep |
) |
[inline] |
|
|
|
Set if we want the controls to keep their width or, as it is by default, resize their width to the one of the column where they are located.
|
| void VCF::HorizontalLayoutContainer::setMaximizeLastRow |
( |
const bool & |
val |
) |
[inline] |
|
| void VCF::HorizontalLayoutContainer::setMaxRowHeight |
( |
const double & |
val |
) |
[inline] |
|
| void VCF::HorizontalLayoutContainer::setNumberOfColumns |
( |
const uint32 & |
numColumns |
) |
[inline] |
|
| void VCF::HorizontalLayoutContainer::setRowSpacerHeight |
( |
const double & |
val |
) |
[inline] |
|
Member Data Documentation
The documentation for this class was generated from the following file: