Public Member Functions | Public Attributes | List of all members
ads::DockWidgetTabPrivate Struct Reference

Public Member Functions

QAbstractButton * createCloseButton () const
 
template<typename T >
IFloatingWidgetcreateFloatingWidget (T *Widget, bool OpaqueUndocking)
 
void createLayout ()
 
 DockWidgetTabPrivate (CDockWidgetTab *_public)
 
bool isDraggingState (eDragState dragState) const
 
void moveTab (QMouseEvent *ev)
 
void saveDragStartMousePosition (const QPoint &GlobalPos)
 
bool startFloating (eDragState DraggingState=DraggingFloatingWidget)
 
bool testConfigFlag (CDockManager::eConfigFlag Flag) const
 
void updateCloseButtonSizePolicy ()
 
void updateCloseButtonVisibility (bool active)
 
void updateIcon ()
 

Public Attributes

CDockWidgetTab_this
 
QAbstractButton * CloseButton = nullptr
 
CDockAreaWidgetDockArea = nullptr
 
CDockWidgetDockWidget
 
QPoint DragStartMousePosition
 
eDragState DragState = DraggingInactive
 
IFloatingWidgetFloatingWidget = nullptr
 
QPoint GlobalDragStartMousePosition
 
QIcon Icon
 
QLabel * IconLabel = nullptr
 
QSize IconSize
 
QSpacerItem * IconTextSpacer
 
bool IsActiveTab = false
 
QPoint TabDragStartPosition
 
tTabLabelTitleLabel
 

Detailed Description

Private data class of CDockWidgetTab class (pimpl)

Definition at line 63 of file DockWidgetTab.cpp.

Constructor & Destructor Documentation

◆ DockWidgetTabPrivate()

ads::DockWidgetTabPrivate::DockWidgetTabPrivate ( CDockWidgetTab _public)

Private data constructor

Definition at line 215 of file DockWidgetTab.cpp.

Member Function Documentation

◆ createCloseButton()

QAbstractButton* ads::DockWidgetTabPrivate::createCloseButton ( ) const
inline

Creates the close button as QPushButton or as QToolButton

Definition at line 123 of file DockWidgetTab.cpp.

◆ createFloatingWidget()

template<typename T >
IFloatingWidget* ads::DockWidgetTabPrivate::createFloatingWidget ( T *  Widget,
bool  OpaqueUndocking 
)
inline

Definition at line 163 of file DockWidgetTab.cpp.

◆ createLayout()

void ads::DockWidgetTabPrivate::createLayout ( )

Creates the complete layout including all controls

Definition at line 223 of file DockWidgetTab.cpp.

◆ isDraggingState()

bool ads::DockWidgetTabPrivate::isDraggingState ( eDragState  dragState) const
inline

Test function for current drag state

Definition at line 99 of file DockWidgetTab.cpp.

◆ moveTab()

void ads::DockWidgetTabPrivate::moveTab ( QMouseEvent *  ev)

Moves the tab depending on the position in the given mouse event

Definition at line 259 of file DockWidgetTab.cpp.

◆ saveDragStartMousePosition()

void ads::DockWidgetTabPrivate::saveDragStartMousePosition ( const QPoint &  GlobalPos)
inline

Saves the drag start position in global and local coordinates

Definition at line 183 of file DockWidgetTab.cpp.

◆ startFloating()

bool ads::DockWidgetTabPrivate::startFloating ( eDragState  DraggingState = DraggingFloatingWidget)

Starts floating of the dock widget that belongs to this title bar Returns true, if floating has been started and false if floating is not possible for any reason

Definition at line 273 of file DockWidgetTab.cpp.

◆ testConfigFlag()

bool ads::DockWidgetTabPrivate::testConfigFlag ( CDockManager::eConfigFlag  Flag) const
inline

Returns true if the given config flag is set

Definition at line 115 of file DockWidgetTab.cpp.

◆ updateCloseButtonSizePolicy()

void ads::DockWidgetTabPrivate::updateCloseButtonSizePolicy ( )
inline

Update the size policy of the close button depending on the RetainTabSizeWhenCloseButtonHidden feature

Definition at line 153 of file DockWidgetTab.cpp.

◆ updateCloseButtonVisibility()

void ads::DockWidgetTabPrivate::updateCloseButtonVisibility ( bool  active)
inline

Update the close button visibility from current feature/config

Definition at line 140 of file DockWidgetTab.cpp.

◆ updateIcon()

void ads::DockWidgetTabPrivate::updateIcon ( )
inline

Update the icon in case the icon size changed

Definition at line 192 of file DockWidgetTab.cpp.

Member Data Documentation

◆ _this

CDockWidgetTab* ads::DockWidgetTabPrivate::_this

Definition at line 65 of file DockWidgetTab.cpp.

◆ CloseButton

QAbstractButton* ads::DockWidgetTabPrivate::CloseButton = nullptr

Definition at line 76 of file DockWidgetTab.cpp.

◆ DockArea

CDockAreaWidget* ads::DockWidgetTabPrivate::DockArea = nullptr

Definition at line 72 of file DockWidgetTab.cpp.

◆ DockWidget

CDockWidget* ads::DockWidgetTabPrivate::DockWidget

Definition at line 66 of file DockWidgetTab.cpp.

◆ DragStartMousePosition

QPoint ads::DockWidgetTabPrivate::DragStartMousePosition

Definition at line 70 of file DockWidgetTab.cpp.

◆ DragState

eDragState ads::DockWidgetTabPrivate::DragState = DraggingInactive

Definition at line 73 of file DockWidgetTab.cpp.

◆ FloatingWidget

IFloatingWidget* ads::DockWidgetTabPrivate::FloatingWidget = nullptr

Definition at line 74 of file DockWidgetTab.cpp.

◆ GlobalDragStartMousePosition

QPoint ads::DockWidgetTabPrivate::GlobalDragStartMousePosition

Definition at line 69 of file DockWidgetTab.cpp.

◆ Icon

QIcon ads::DockWidgetTabPrivate::Icon

Definition at line 75 of file DockWidgetTab.cpp.

◆ IconLabel

QLabel* ads::DockWidgetTabPrivate::IconLabel = nullptr

Definition at line 67 of file DockWidgetTab.cpp.

◆ IconSize

QSize ads::DockWidgetTabPrivate::IconSize

Definition at line 79 of file DockWidgetTab.cpp.

◆ IconTextSpacer

QSpacerItem* ads::DockWidgetTabPrivate::IconTextSpacer

Definition at line 77 of file DockWidgetTab.cpp.

◆ IsActiveTab

bool ads::DockWidgetTabPrivate::IsActiveTab = false

Definition at line 71 of file DockWidgetTab.cpp.

◆ TabDragStartPosition

QPoint ads::DockWidgetTabPrivate::TabDragStartPosition

Definition at line 78 of file DockWidgetTab.cpp.

◆ TitleLabel

tTabLabel* ads::DockWidgetTabPrivate::TitleLabel

Definition at line 68 of file DockWidgetTab.cpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:51