API Documentation
Loading...
Searching...
No Matches
DockWidget< t_type > Class Template Reference

#include <QCustomDockWidget.h>

Inheritance diagram for DockWidget< t_type >:
[legend]
Collaboration diagram for DockWidget< t_type >:
[legend]

Public Member Functions

 DockWidget (ContainerWidgetBase *container=nullptr)
 
 DockWidget (t_type *child, ContainerWidgetBase *container=nullptr)
 
 DockWidget (t_type *child, RibbonArea ribbon_area, ContainerWidgetBase *container=nullptr)
 
t_type & widget () const
 
- Public Member Functions inherited from QCustomDockWidget
 QCustomDockWidget (RibbonArea ribbon_area, ContainerWidgetBase *container=nullptr)
 
 QCustomDockWidget (QWidget *main_widget, RibbonArea ribbon_area, ContainerWidgetBase *container=nullptr)
 
 QCustomDockWidget (QWidget *main_widget, ContainerWidgetBase *container=nullptr)
 
virtual ~QCustomDockWidget ()
 
void setMainWidget (QWidget *widget)
 
QWidget * mainWidget ()
 
QString windowTitle () const
 
void setSize (QSize size)
 
SectionContentcontent () const
 
void showDock (bool show_dock)
 
void removeDock (bool delete_when_finished)
 
bool isVisible () const
 
void setupButton (Button *button)
 
void showDockFullscreen (bool show_dock, const PopupInfo &start_location=PopupInfo())
 
void showDock (bool show_dock, DropArea area, SectionWidget *section)
 
void showDock (bool show_dock, const PopupInfo &start_location, SectionWidget *section=nullptr)
 
void showDock (bool show_dock, const PopupInfo &start_location, const PopupInfo &end_location, SectionWidget *section=nullptr)
 
QSize sizeHint () const
 
void setSizeHint (const QSize &size)
 
bool isDockFullscreen () const
 
virtual void setDockSelected (bool selected) override
 
virtual void setIcon (const QIcon &icon) override
 
QIcon icon () const
 
virtual void setTitle (const TranslatedString &title) override
 
virtual void setupDialogButton (Button *button)
 
virtual void removeButton (Button *button)
 
void setWindowFlags (Qt::WindowFlags type)
 
void setWindowFlag (Qt::WindowType type, bool on=true)
 
int width () const
 
int height () const
 
void setVisible (bool visible)
 
void setAllowAutoHideTitle (bool allow_auto_hide)
 
- Public Member Functions inherited from DockItem
 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)
 
SectionIconTabtitleWidget () const
 
ContainerWidgetBasecontainer () const
 
SectionWidgetsection () const
 
FloatingWidgetfloatingWidget () 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)
 
bool isDockSelected () const
 
virtual void setIconID (const String &icon)
 
virtual const TranslatedStringtitle () const
 

Additional Inherited Members

- Public Slots inherited from QCustomDockWidget
void highlightDock (bool highlight)
 
void setIconSlot (const QIcon &icon)
 
void setTitleSlot (const QString &title)
 
- Signals inherited from QCustomDockWidget
void closedSignal ()
 
void minimizedSignal ()
 
void fullscreenSignal (bool is_fullscreen)
 
void dockSelectedSignal (bool)
 
void windowTitleChanged (const TranslatedString &new_title)
 
void windowIconChanged (const QIcon &icon)
 
- Protected Slots inherited from QCustomDockWidget
void onFullscreenButtonClicked (bool fullscreen)
 
void onCloseButtonClicked ()
 
- Protected Member Functions inherited from QCustomDockWidget
virtual void createSectionContent () override
 
- Protected Member Functions inherited from DockItem
virtual void initialize ()
 
- Protected Attributes inherited from QCustomDockWidget
QPointer< QWidget > m_main_widget
 
Buffer< Button * > m_buttons_to_add
 
bool m_highlight_dock
 
QSize m_size_hint
 
- Protected Attributes inherited from DockItem
UUID m_uuid
 
SectionIconTabm_icon_title
 
SectionContentm_section_content
 
SectionWidgetm_original_section
 
RibbonArea m_prefered_ribbon_area
 
QPointer< ContainerWidgetBasem_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
 

Constructor & Destructor Documentation

◆ DockWidget() [1/3]

template<class t_type >
DockWidget ( ContainerWidgetBase * container = nullptr)
inline

◆ DockWidget() [2/3]

template<class t_type >
DockWidget ( t_type * child,
ContainerWidgetBase * container = nullptr )
inline

◆ DockWidget() [3/3]

template<class t_type >
DockWidget ( t_type * child,
RibbonArea ribbon_area,
ContainerWidgetBase * container = nullptr )
inline

Member Function Documentation

◆ widget()

template<class t_type >
t_type & widget ( ) const
inline

The documentation for this class was generated from the following file: