Imitates behaviour of word wrapping, but uses views instead words.
More...
Imitates behaviour of word wrapping, but uses views instead words.
|
static void | disconnect () |
|
template<AAnySignal Signal, aui::derived_from< AObject > Object, ACompatibleSlotFor< Signal > Function> |
static void | connect (Signal &signal, Object *object, Function &&function) |
|
template<AAnySignal Signal, aui::derived_from< AObject > Object, ACompatibleSlotFor< Signal > Function> |
static void | connect (Signal &signal, Object &object, Function &&function) |
|
template<AAnySignal Signal, aui::derived_from< AObject > Object, ACompatibleSlotFor< Signal > Function> |
static void | connect (Signal &signal, _< Object > object, Function &&function) |
|
static void | moveToThread (aui::no_escape< AObject > object, _< AAbstractThread > thread) |
|
void | addViewBasicImpl (Storage view, AOptional< size_t > index) |
|
void | setThread (_< AAbstractThread > thread) |
| Set thread of the object.
|
|
AVector< Storage > | mViews |
|
◆ addView()
void AWordWrappingLayout::addView |
( |
const _< AView > & |
view, |
|
|
AOptional< size_t > |
index |
|
) |
| |
|
overridevirtual |
Attaches view to the layout.
- Parameters
-
view | view to attach. |
index | index to insert at. If not specified, when the view is inserted at the end. |
See ABasicLayout for basic implementation of this method.
Implements ALayout.
◆ getMinimumHeight()
int AWordWrappingLayout::getMinimumHeight |
( |
| ) |
|
|
overridevirtual |
◆ getMinimumWidth()
int AWordWrappingLayout::getMinimumWidth |
( |
| ) |
|
|
overridevirtual |
◆ onResize()
void AWordWrappingLayout::onResize |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
overridevirtual |
◆ removeView()
Detaches view from the layout.
- Parameters
-
view | view to detach. |
index | index of the view in the container. This value is indented for optimization purposes in most cases; the value may be ignored safely. |
See ABasicLayout for basic implementation of this method.
Implements ALayout.
#include <AUI/Layout/AWordWrappingLayout.h>
The documentation for this class was generated from the following files: