#include <mmshboxwidget.h>

Public Member Functions | |
| MMSHBoxWidget (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 hbox widget is a container for other widgets. You can add more than one child widget to a hbox. Widgets different from MMSHBoxWidget/MMSVBoxWidget can only have one child widget. The child widgets will be horizontal arranged. The hbox widget cannot be focused and displays nothing.
Definition at line 46 of file mmshboxwidget.h.
| MMSHBoxWidget::MMSHBoxWidget | ( | MMSWindow * | root | ) |
Definition at line 35 of file mmshboxwidget.cpp.
| bool MMSHBoxWidget::create | ( | MMSWindow * | root | ) | [private] |
Definition at line 39 of file mmshboxwidget.cpp.
| void MMSHBoxWidget::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 63 of file mmshboxwidget.cpp.
| void MMSHBoxWidget::recalculateChildren | ( | ) | [private, virtual] |
| void MMSHBoxWidget::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 mmshboxwidget.cpp.
| MMSWidget * MMSHBoxWidget::copyWidget | ( | ) | [virtual] |
| void MMSHBoxWidget::add | ( | MMSWidget * | widget | ) | [virtual] |