KDDockWidgets API Documentation 2.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
KDDockWidgets::Core::StackViewInterface Class Reference

The interface that Stack views share. More...

#include <StackViewInterface.h>

Inheritance diagram for KDDockWidgets::Core::StackViewInterface:
Inheritance graph
[legend]
Collaboration diagram for KDDockWidgets::Core::StackViewInterface:
Collaboration graph
[legend]

Public Member Functions

 StackViewInterface (Stack *)
 
virtual ~StackViewInterface ()
 
virtual bool isPositionDraggable (Point p) const
 Reimplement if you want to support dragging by QTabWidget instead of TitleBar This is only implemented by QtWidgets. Instead of reimplementing this, consider reimplementing TabBarViewInterface::isPositionDraggable() instead. This exists only because the background of QTabBar is the QTabWidget, which probably isn't true for other frontends.
 
virtual void setDocumentMode (bool)
 Sets QTabWidget::documentMode(). Only implemented for QtWidgets. Probably not interesting for other frontends to implement, therefore it's not pure-virtual.
 

Protected Member Functions

 StackViewInterface (const StackViewInterface &)=delete
 
StackViewInterfaceoperator= (const StackViewInterface &)=delete
 

Protected Attributes

Stack *const m_stack
 

Detailed Description

The interface that Stack views share.

Definition at line 24 of file StackViewInterface.h.

Constructor & Destructor Documentation

◆ StackViewInterface() [1/2]

KDDockWidgets::Core::StackViewInterface::StackViewInterface ( Stack controller)
explicit

Definition at line 18 of file StackViewInterface.cpp.

◆ ~StackViewInterface()

KDDockWidgets::Core::StackViewInterface::~StackViewInterface ( )
virtualdefault

◆ StackViewInterface() [2/2]

KDDockWidgets::Core::StackViewInterface::StackViewInterface ( const StackViewInterface )
protecteddelete

Member Function Documentation

◆ isPositionDraggable()

bool KDDockWidgets::Core::StackViewInterface::isPositionDraggable ( Point  p) const
virtual

Reimplement if you want to support dragging by QTabWidget instead of TitleBar This is only implemented by QtWidgets. Instead of reimplementing this, consider reimplementing TabBarViewInterface::isPositionDraggable() instead. This exists only because the background of QTabBar is the QTabWidget, which probably isn't true for other frontends.

Reimplemented in KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper, and KDDockWidgets::flutter::Stack.

Definition at line 25 of file StackViewInterface.cpp.

◆ operator=()

StackViewInterface & KDDockWidgets::Core::StackViewInterface::operator= ( const StackViewInterface )
protecteddelete

◆ setDocumentMode()

void KDDockWidgets::Core::StackViewInterface::setDocumentMode ( bool  )
virtual

Sets QTabWidget::documentMode(). Only implemented for QtWidgets. Probably not interesting for other frontends to implement, therefore it's not pure-virtual.

Reimplemented in KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper, KDDockWidgets::flutter::Stack, and KDDockWidgets::QtWidgets::Stack.

Definition at line 30 of file StackViewInterface.cpp.

Member Data Documentation

◆ m_stack

Stack* const KDDockWidgets::Core::StackViewInterface::m_stack
protected

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

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDDockWidgets
Advanced Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets/
Generated by doxygen 1.9.8