API Documentation
|
#include <DockItem.h>
Public Member Functions | |
DockItem (RibbonArea ribbon_area, ContainerWidgetBase *container=nullptr) | |
DockItem (ContainerWidgetBase *container=nullptr) | |
virtual | ~DockItem () |
void | setRibbonArea (RibbonArea ribbon_area) |
void | setDockArea (DropArea drop_area, SectionWidget *section) |
SectionIconTab * | titleWidget () const |
ContainerWidgetBase * | container () const |
SectionWidget * | section () const |
FloatingWidget * | floatingWidget () const |
virtual void | setContainer (ContainerWidgetBase *container) |
virtual void | swapWith (DockItem *other_widget) |
void | setClosable (bool closable) |
void | setHidable (bool hidable) |
void | setWindowable (bool hidable) |
void | setShowTab (bool show_tab) |
void | setMoveable (bool movable) |
bool | isDocked () const |
bool | isDockVisible () const |
void | setTabFlat (bool flat) |
void | moveTabToEnd () |
void | moveTabToStart () |
bool | isClosable () const |
bool | isHidable () const |
bool | isWindowable () const |
bool | isMovable () const |
bool | showTab () const |
bool | useTabTitle () const |
virtual void | setUseTabTitle (bool use_tab_title) |
virtual void | setDockSelected (bool selected) |
bool | isDockSelected () const |
virtual void | setIcon (const QIcon &icon) |
virtual void | setIconID (const String &icon) |
virtual void | setTitle (const TranslatedString &title) |
virtual const TranslatedString & | title () const |
Protected Member Functions | |
virtual void | createSectionContent () |
virtual void | initialize () |
Protected Attributes | |
UUID | m_uuid |
SectionIconTab * | m_icon_title |
SectionContent * | m_section_content |
SectionWidget * | m_original_section |
RibbonArea | m_prefered_ribbon_area |
QPointer< ContainerWidgetBase > | m_container |
String | m_icon_id |
QIcon | m_icon |
TranslatedString | m_title |
bool | m_is_closable |
bool | m_is_windowable |
bool | m_is_hidable |
bool | m_is_movable |
bool | m_is_selected |
bool | m_show_tab |
bool | m_use_tab_title |
|
explicit |
|
explicit |
|
virtual |
ContainerWidgetBase * container | ( | ) | const |
|
protectedvirtual |
Reimplemented in CustomDockButton, and QCustomDockWidget.
FloatingWidget * floatingWidget | ( | ) | const |
|
protectedvirtual |
|
inline |
bool isDocked | ( | ) | const |
|
inline |
bool isDockVisible | ( | ) | const |
|
inline |
bool isMovable | ( | ) | const |
|
inline |
void moveTabToEnd | ( | ) |
void moveTabToStart | ( | ) |
SectionWidget * section | ( | ) | const |
void setClosable | ( | bool | closable | ) |
|
virtual |
void setDockArea | ( | DropArea | drop_area, |
SectionWidget * | section ) |
|
virtual |
Reimplemented in QCustomDockWidget.
void setHidable | ( | bool | hidable | ) |
|
virtual |
Reimplemented in QCustomDockWidget.
|
virtual |
void setMoveable | ( | bool | movable | ) |
void setRibbonArea | ( | RibbonArea | ribbon_area | ) |
void setShowTab | ( | bool | show_tab | ) |
void setTabFlat | ( | bool | flat | ) |
|
virtual |
Reimplemented in QCustomDockWidget.
|
virtual |
void setWindowable | ( | bool | hidable | ) |
bool showTab | ( | ) | const |
|
virtual |
|
inlinevirtual |
SectionIconTab * titleWidget | ( | ) | const |
bool useTabTitle | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |