![]() |
HAL
|
An abstract class that provides the interface for specific anchors (see SplitterAnchor or TabWidget ). More...
#include <content_anchor.h>
Public Member Functions | |
virtual void | add (ContentWidget *widget, int index)=0 |
virtual void | remove (ContentWidget *widget)=0 |
virtual void | detach (ContentWidget *widget)=0 |
virtual void | reattach (ContentWidget *widget)=0 |
virtual void | open (ContentWidget *widget)=0 |
virtual void | close (ContentWidget *widget)=0 |
virtual | ~ContentAnchor ()=0 |
virtual int | count () const =0 |
An abstract class that provides the interface for specific anchors (see SplitterAnchor or TabWidget ).
Definition at line 37 of file content_anchor.h.
|
inlinepure virtual |
Destructor that has to be overriden.
Definition at line 94 of file content_anchor.h.
|
pure virtual |
Adds a given ContentWidget to the anchor.
widget | - The widget to add. |
index | - The position. |
Implemented in hal::SplitterAnchor, and hal::TabWidget.
Referenced by hal::DockBar::dropEvent().
|
pure virtual |
Closes a given widget.
widget | - The widget to close. |
Implemented in hal::SplitterAnchor, and hal::TabWidget.
Referenced by hal::ContentWidget::close().
|
pure virtual |
Returns the number of widgets / buttons as of mDockBar->count()
Implemented in hal::TabWidget, and hal::SplitterAnchor.
|
pure virtual |
Detaches a given widget from the anchor.
widget | - The widget to detach. |
Implemented in hal::SplitterAnchor, and hal::TabWidget.
Referenced by hal::ContentWidget::detach().
|
pure virtual |
Displays a given widget in the achor's corresponding area.
widget | - The widget to open. |
Implemented in hal::SplitterAnchor, and hal::TabWidget.
Referenced by hal::ContentWidget::open().
|
pure virtual |
Reattaches a given widget to the anchor.
widget | - The widget to reattach. |
Implemented in hal::SplitterAnchor, and hal::TabWidget.
Referenced by hal::ContentWidget::reattach().
|
pure virtual |
Removes a given widget from the anchor.
widget | - The widget to remove. |
Implemented in hal::SplitterAnchor, and hal::TabWidget.
Referenced by hal::ContentWidget::remove().