KDDockWidgets API Documentation 1.7
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Layouting::Config Class Reference

#include <MultiSplitterConfig.h>

Public Types

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

Public Member Functions

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

Static Public Member Functions

static Configself ()
 returns the singleton Config instance
 

Detailed Description

Definition at line 25 of file MultiSplitterConfig.h.

Member Enumeration Documentation

◆ Flag

enum class Layouting::Config::Flag
strong
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().

◆ 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-2023 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 Wed Nov 1 2023 00:02:31 for KDDockWidgets API Documentation by doxygen 1.9.8