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
SectionContentcontent () const
 
int height () const
 
QIcon icon () const
 
bool isDockFullscreen () const
 
bool isVisible () const
 
QWidget * mainWidget ()
 
 QCustomDockWidget (QWidget *main_widget, ContainerWidgetBase *container=nullptr)
 
 QCustomDockWidget (QWidget *main_widget, RibbonArea ribbon_area, ContainerWidgetBase *container=nullptr)
 
 QCustomDockWidget (RibbonArea ribbon_area, ContainerWidgetBase *container=nullptr)
 
virtual void removeButton (Button *button)
 
void removeDock (bool delete_when_finished)
 
void setAllowAutoHideTitle (bool allow_auto_hide)
 
virtual void setDockSelected (bool selected) override
 
virtual void setIcon (const QIcon &icon) override
 
void setMainWidget (QWidget *widget)
 
void setSize (QSize size)
 
void setSizeHint (const QSize &size)
 
virtual void setTitle (const TranslatedString &title) override
 
void setupButton (Button *button)
 
virtual void setupDialogButton (Button *button)
 
void setVisible (bool visible)
 
void setWindowFlag (Qt::WindowType type, bool on=true)
 
void setWindowFlags (Qt::WindowFlags type)
 
void showDock (bool show_dock)
 
void showDock (bool show_dock, const PopupInfo &start_location, const PopupInfo &end_location, SectionWidget *section=nullptr)
 
void showDock (bool show_dock, const PopupInfo &start_location, SectionWidget *section=nullptr)
 
void showDock (bool show_dock, DropArea area, SectionWidget *section)
 
void showDockFullscreen (bool show_dock, const PopupInfo &start_location=PopupInfo())
 
QSize sizeHint () const
 
int width () const
 
QString windowTitle () const
 
virtual ~QCustomDockWidget ()
 
- Public Member Functions inherited from DockItem
ContainerWidgetBasecontainer () const
 
 DockItem (ContainerWidgetBase *container=nullptr)
 
 DockItem (RibbonArea ribbon_area, ContainerWidgetBase *container=nullptr)
 
FloatingWidgetfloatingWidget () const
 
bool isClosable () const
 
bool isDocked () const
 
bool isDockSelected () const
 
bool isDockVisible () const
 
bool isHidable () const
 
bool isMovable () const
 
bool isWindowable () const
 
void moveTabToEnd ()
 
void moveTabToStart ()
 
SectionWidgetsection () const
 
void setClosable (bool closable)
 
virtual void setContainer (ContainerWidgetBase *container)
 
void setDockArea (DropArea drop_area, SectionWidget *section)
 
void setHidable (bool hidable)
 
virtual void setIconID (const String &icon)
 
void setMoveable (bool movable)
 
void setRibbonArea (RibbonArea ribbon_area)
 
void setShowTab (bool show_tab)
 
void setTabFlat (bool flat)
 
virtual void setUseTabTitle (bool use_tab_title)
 
void setWindowable (bool hidable)
 
bool showTab () const
 
virtual void swapWith (DockItem *other_widget)
 
virtual const TranslatedStringtitle () const
 
SectionIconTabtitleWidget () const
 
bool useTabTitle () const
 
virtual ~DockItem ()
 

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 dockSelectedSignal (bool)
 
void fullscreenSignal (bool is_fullscreen)
 
void minimizedSignal ()
 
void windowIconChanged (const QIcon &icon)
 
void windowTitleChanged (const TranslatedString &new_title)
 
- Protected Slots inherited from QCustomDockWidget
void onCloseButtonClicked ()
 
void onFullscreenButtonClicked (bool fullscreen)
 
- Protected Member Functions inherited from QCustomDockWidget
virtual void createSectionContent () override
 
- Protected Member Functions inherited from DockItem
virtual void initialize ()
 
- Protected Attributes inherited from QCustomDockWidget
Buffer< Button * > m_buttons_to_add
 
bool m_highlight_dock
 
QPointer< QWidget > m_main_widget
 
QSize m_size_hint
 
- Protected Attributes inherited from DockItem
QPointer< ContainerWidgetBasem_container
 
QIcon m_icon
 
String m_icon_id
 
SectionIconTabm_icon_title
 
bool m_is_closable
 
bool m_is_hidable
 
bool m_is_movable
 
bool m_is_selected
 
bool m_is_windowable
 
SectionWidgetm_original_section
 
RibbonArea m_prefered_ribbon_area
 
SectionContentm_section_content
 
bool m_show_tab
 
TranslatedString m_title
 
bool m_use_tab_title
 
UUID m_uuid
 

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: