#include <mmsvboxwidget.h>

Public Member Functions | |
| MMSVBoxWidget (MMSWindow *root) | |
| MMSWidget * | copyWidget () |
| void | add (MMSWidget *widget) |
Private Member Functions | |
| bool | create (MMSWindow *root) |
| void | calcSize (int *num_spacers, int *last_spacer, int *required_pix, int *remain_pix, int *avail_pix, int *fixed_pix, int *dyn_pix, int *min_dyn_pix, float dyn_reduce_factor) |
| void | recalculateChildren () |
| void | setContentSizeFromChildren () |
| Internal method: Can be overridden by a specific widget which calculate it's own size from children. | |
The vbox widget is a container for other widgets. You can add more than one child widget to a vbox. Widgets different from MMSHBoxWidget/MMSVBoxWidget can only have one child widget. The child widgets will be vertical arranged. The vbox widget cannot be focused and displays nothing.
Definition at line 46 of file mmsvboxwidget.h.
| MMSVBoxWidget::MMSVBoxWidget | ( | MMSWindow * | root | ) |
Definition at line 35 of file mmsvboxwidget.cpp.
| bool MMSVBoxWidget::create | ( | MMSWindow * | root | ) | [private] |
Definition at line 39 of file mmsvboxwidget.cpp.
| void MMSVBoxWidget::calcSize | ( | int * | num_spacers, | |
| int * | last_spacer, | |||
| int * | required_pix, | |||
| int * | remain_pix, | |||
| int * | avail_pix, | |||
| int * | fixed_pix, | |||
| int * | dyn_pix, | |||
| int * | min_dyn_pix, | |||
| float | dyn_reduce_factor | |||
| ) | [private] |
Definition at line 64 of file mmsvboxwidget.cpp.
| void MMSVBoxWidget::recalculateChildren | ( | ) | [private, virtual] |
| void MMSVBoxWidget::setContentSizeFromChildren | ( | ) | [private, virtual] |
Internal method: Can be overridden by a specific widget which calculate it's own size from children.
Reimplemented from MMSWidget.
Definition at line 215 of file mmsvboxwidget.cpp.
| MMSWidget * MMSVBoxWidget::copyWidget | ( | ) | [virtual] |
| void MMSVBoxWidget::add | ( | MMSWidget * | widget | ) | [virtual] |