34#include <NDEVR/RibbonArea.h>
36#include <NDEVR/UUID.h>
37#include <NDEVR/TranslatedString.h>
43 class ContainerWidgetBase;
The root class that allows iterface with the NDEVR API Widget Docking system.
Definition DockItem.h:54
SectionIconTab * titleWidget() const
virtual void setIconID(const String &icon)
bool isWindowable() const
Definition DockItem.h:80
bool isHidable() const
Definition DockItem.h:79
String m_icon_id
Definition DockItem.h:102
void setTabFlat(bool flat)
virtual const TranslatedString & title() const
Definition DockItem.h:90
void setDockArea(DropArea drop_area, SectionWidget *section)
QPointer< ContainerWidgetBase > m_container
Definition DockItem.h:101
SectionContent * m_section_content
Definition DockItem.h:97
virtual void setUseTabTitle(bool use_tab_title)
DockItem(ContainerWidgetBase *container=nullptr)
DockItem(RibbonArea ribbon_area, ContainerWidgetBase *container=nullptr)
virtual void setContainer(ContainerWidgetBase *container)
QIcon m_icon
Definition DockItem.h:103
bool m_use_tab_title
Definition DockItem.h:111
TranslatedString m_title
Definition DockItem.h:104
void setMoveable(bool movable)
virtual void initialize()
RibbonArea m_prefered_ribbon_area
Definition DockItem.h:99
bool isClosable() const
Definition DockItem.h:78
void setWindowable(bool hidable)
bool isDockSelected() const
Definition DockItem.h:86
void setHidable(bool hidable)
void setShowTab(bool show_tab)
void setRibbonArea(RibbonArea ribbon_area)
bool m_is_closable
Definition DockItem.h:105
bool m_is_movable
Definition DockItem.h:108
virtual void createSectionContent()
virtual void setIcon(const QIcon &icon)
bool isDockVisible() const
SectionIconTab * m_icon_title
Definition DockItem.h:96
SectionWidget * m_original_section
Definition DockItem.h:98
void setClosable(bool closable)
virtual void setTitle(const TranslatedString &title)
bool m_is_hidable
Definition DockItem.h:107
FloatingWidget * floatingWidget() const
ContainerWidgetBase * container() const
bool m_is_selected
Definition DockItem.h:109
bool m_show_tab
Definition DockItem.h:110
virtual void swapWith(DockItem *other_widget)
virtual void setDockSelected(bool selected)
SectionWidget * section() const
UUID m_uuid
Definition DockItem.h:95
bool m_is_windowable
Definition DockItem.h:106
The core container for objects using the NDEVR API Widget Docking system. Contains information used t...
Definition SectionContent.h:51
Provides a tab that contains an icon and some buttons used for either a tab if the section content is...
Definition SectionIconTab.h:55
The core String class for the NDEVR API.
Definition String.h:69
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
Definition TranslatedString.h:13
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
Definition UUID.h:60
RibbonArea
Requests a ribbon or tab area to be in a certain location and orientation relative to another widget.
Definition RibbonArea.h:71
DropArea
relates where a widget should be dropped relative to another.
Definition RibbonArea.h:46