KDDockWidgets API Documentation
1.5
|
#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 Config & | self () |
returns the singleton Config instance More... | |
Definition at line 25 of file MultiSplitterConfig.h.
|
strong |
Enumerator | |
---|---|
None | |
LazyResize |
Definition at line 28 of file MultiSplitterConfig.h.
Layouting::Config::~Config | ( | ) |
destructor, called at shutdown
Definition at line 50 of file MultiSplitterConfig.cpp.
Config::Flags Layouting::Config::flags | ( | ) | const |
returns the flags;
Definition at line 85 of file MultiSplitterConfig.cpp.
Referenced by KDDockWidgets::Config::setFlags(), and setFlags().
Layouting::Config::Q_DECLARE_FLAGS | ( | Flags | , |
Flag | |||
) |
|
static |
returns the singleton Config instance
Definition at line 44 of file MultiSplitterConfig.cpp.
Referenced by KDDockWidgets::Config::separatorThickness(), KDDockWidgets::Config::setFlags(), and KDDockWidgets::Config::setSeparatorThickness().
SeparatorFactoryFunc Layouting::Config::separatorFactoryFunc | ( | ) | const |
Returns the function used to create separators, null by default.
Definition at line 80 of file MultiSplitterConfig.cpp.
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().
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().
void Layouting::Config::setSeparatorFactoryFunc | ( | SeparatorFactoryFunc | func | ) |
sets the function used internally to create the separators
Definition at line 70 of file MultiSplitterConfig.cpp.
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().