|
void | removeView (aui::no_escape< AView > view, size_t index) override |
| Detaches view from the layout. More...
|
|
AVector< _< AView > > | getAllViews () override |
| Visits all views in the layout. More...
|
|
virtual void | onResize (int x, int y, int width, int height)=0 |
|
virtual void | addView (const _< AView > &view, AOptional< size_t > index=std::nullopt)=0 |
| Attaches view to the layout. More...
|
|
virtual int | getMinimumWidth ()=0 |
|
virtual int | getMinimumHeight ()=0 |
|
virtual ALayoutDirection | getLayoutDirection () |
|
virtual void | setSpacing (int spacing) |
| Layout spacing. More...
|
|
_< AObject > | sharedPtr () |
|
_weak< AObject > | weakPtr () |
|
void | clearSignals () noexcept |
|
template<AAnySignal Signal, ACompatibleSlotFor< Signal > Function> |
void | connect (Signal &signal, Function &&function) |
|
void | setSignalsEnabled (bool enabled) |
|
bool | isSignalsEnabled () const noexcept |
|
template<ASignalInvokable T> |
void | operator^ (T &&t) |
|
_< AAbstractThread > | getThread () const |
|
bool | isSlotsCallsOnlyOnMyThread () const noexcept |
|
void | setSlotsCallsOnlyOnMyThread (bool slotsCallsOnlyOnMyThread) |
|
| noncopyable (const noncopyable &)=delete |
|
noncopyable & | operator= (const noncopyable &)=delete |
|
|
void | addViewBasicImpl (Storage view, AOptional< size_t > index) |
|
void | setThread (_< AAbstractThread > thread) |
| Set thread of the object.
|
|
|
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) |
|
◆ getAllViews()
template<aui::convertible_to<
_<
AView > > Storage = _<AView>>
Visits all views in the layout.
Implements ALayout.
◆ removeView()
template<aui::convertible_to<
_<
AView > > Storage = _<AView>>
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.
The documentation for this class was generated from the following file: