KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
Item.cpp File Reference
#include "Item_p.h"
#include "ItemFreeContainer_p.h"
#include "LayoutingHost_p.h"
#include "LayoutingGuest_p.h"
#include "LayoutingSeparator_p.h"
#include "core/Logging_p.h"
#include "core/ObjectGuard_p.h"
#include "core/ScopedValueRollback_p.h"
#include "core/nlohmann_helpers_p.h"
#include <algorithm>
#include <iostream>
#include <cstdlib>
#include <utility>
Include dependency graph for Item.cpp:

Go to the source code of this file.

Namespaces

namespace  KDDockWidgets
 Class to abstract QAction, so code still works with QtQuick and Flutter.
 
namespace  KDDockWidgets::Core
 

Macros

#define LAYOUT_DUMP_INDENT   6
 

Functions

Rect adjustedRect (Rect r, Qt::Orientation o, int p1, int p2)
 
NeighbourSqueezeStrategy KDDockWidgets::Core::defaultNeighbourSqueezeStrategy ()
 
bool locationIsSide1 (Location loc)
 
bool locationIsVertical (Location loc)
 
Qt::Orientation oppositeOrientation (Qt::Orientation o)
 
Qt::Orientation orientationForLocation (Location loc)
 

Macro Definition Documentation

◆ LAYOUT_DUMP_INDENT

#define LAYOUT_DUMP_INDENT   6

Definition at line 33 of file Item.cpp.

Function Documentation

◆ adjustedRect()

Rect adjustedRect ( Rect  r,
Qt::Orientation  o,
int  p1,
int  p2 
)
inline

Definition at line 92 of file Item.cpp.

References Qt::Vertical.

◆ locationIsSide1()

bool locationIsSide1 ( Location  loc)
inline

Definition at line 67 of file Item.cpp.

References KDDockWidgets::Location_OnLeft, and KDDockWidgets::Location_OnTop.

◆ locationIsVertical()

bool locationIsVertical ( Location  loc)
inline

Definition at line 62 of file Item.cpp.

References KDDockWidgets::Location_OnBottom, and KDDockWidgets::Location_OnTop.

◆ oppositeOrientation()

Qt::Orientation oppositeOrientation ( Qt::Orientation  o)
inline

Definition at line 87 of file Item.cpp.

References Qt::Horizontal, and Qt::Vertical.

◆ orientationForLocation()

Qt::Orientation orientationForLocation ( Location  loc)
inline

© 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