KDDockWidgets API Documentation  1.5
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Layouting::Config Class Reference

#include <MultiSplitterConfig.h>

Public Types

enum  Flag { Flag::None = 0, Flag::LazyResize = 1 }
 

Public Member Functions

 ~Config ()
 destructor, called at shutdown More...
 
Config::Flags flags () const
 returns the flags; More...
 
 Q_DECLARE_FLAGS (Flags, Flag)
 
SeparatorFactoryFunc separatorFactoryFunc () const
 Returns the function used to create separators, null by default. More...
 
int separatorThickness () const
 Returns the thickness of the separator. More...
 
void setFlags (Flags)
 sets the flags. Set only before creating any Item More...
 
void setSeparatorFactoryFunc (SeparatorFactoryFunc)
 sets the function used internally to create the separators More...
 
void setSeparatorThickness (int value)
 setter for separatorThickness Note: Only use this function at startup before creating any Item More...
 

Static Public Member Functions

static Configself ()
 returns the singleton Config instance More...
 

Detailed Description

Definition at line 25 of file MultiSplitterConfig.h.

Member Enumeration Documentation

◆ Flag

Enumerator
None 
LazyResize 

Definition at line 28 of file MultiSplitterConfig.h.

Constructor & Destructor Documentation

◆ ~Config()

Layouting::Config::~Config ( )

destructor, called at shutdown

Definition at line 50 of file MultiSplitterConfig.cpp.

Member Function Documentation

◆ flags()

Config::Flags Layouting::Config::flags ( ) const

returns the flags;

Definition at line 85 of file MultiSplitterConfig.cpp.

Referenced by KDDockWidgets::Config::setFlags(), and setFlags().

◆ Q_DECLARE_FLAGS()

Layouting::Config::Q_DECLARE_FLAGS ( Flags  ,
Flag   
)

◆ self()

Config & Layouting::Config::self ( )
static

◆ separatorFactoryFunc()

SeparatorFactoryFunc Layouting::Config::separatorFactoryFunc ( ) const

Returns the function used to create separators, null by default.

Definition at line 80 of file MultiSplitterConfig.cpp.

◆ separatorThickness()

int Layouting::Config::separatorThickness ( ) const

Returns the thickness of the separator.

Default is 5px.

Definition at line 54 of file MultiSplitterConfig.cpp.

Referenced by KDDockWidgets::Config::separatorThickness().

◆ setFlags()

void Layouting::Config::setFlags ( Flags  flags)

sets the flags. Set only before creating any Item

Definition at line 90 of file MultiSplitterConfig.cpp.

References flags().

Referenced by KDDockWidgets::Config::setFlags().

◆ setSeparatorFactoryFunc()

void Layouting::Config::setSeparatorFactoryFunc ( SeparatorFactoryFunc  func)

sets the function used internally to create the separators

Definition at line 70 of file MultiSplitterConfig.cpp.

◆ setSeparatorThickness()

void Layouting::Config::setSeparatorThickness ( int  value)

setter for separatorThickness Note: Only use this function at startup before creating any Item

Definition at line 60 of file MultiSplitterConfig.cpp.

Referenced by KDDockWidgets::Config::setSeparatorThickness().


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

© 2019-2022 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 on Mon Mar 7 2022 02:01:21 for KDDockWidgets API Documentation by doxygen 1.8.20