Public Types | Public Member Functions | List of all members
ads::CSpacerWidget Class Reference

#include <DockAreaTitleBar_p.h>

Inheritance diagram for ads::CSpacerWidget:
Inheritance graph
[legend]

Public Types

using Super = QWidget
 

Public Member Functions

 CSpacerWidget (QWidget *Parent=0)
 
virtual QSize minimumSizeHint () const override
 
virtual QSize sizeHint () const override
 

Detailed Description

This spacer widget is here because of the following problem. The dock area title bar handles mouse dragging and moving the floating widget. The problem is, that if the title bar becomes invisible, i.e. if the dock area contains only one single dock widget and the dock area is moved into a floating widget, then mouse events are not handled anymore and dragging of the floating widget stops.

Definition at line 81 of file DockAreaTitleBar_p.h.

Member Typedef Documentation

◆ Super

using ads::CSpacerWidget::Super = QWidget

Definition at line 85 of file DockAreaTitleBar_p.h.

Constructor & Destructor Documentation

◆ CSpacerWidget()

ads::CSpacerWidget::CSpacerWidget ( QWidget *  Parent = 0)

Definition at line 643 of file DockAreaTitleBar.cpp.

Member Function Documentation

◆ minimumSizeHint()

virtual QSize ads::CSpacerWidget::minimumSizeHint ( ) const
inlineoverridevirtual

Definition at line 88 of file DockAreaTitleBar_p.h.

◆ sizeHint()

virtual QSize ads::CSpacerWidget::sizeHint ( ) const
inlineoverridevirtual

Definition at line 87 of file DockAreaTitleBar_p.h.


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


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