umbrello: umbrello/umlwidgets/widgetlist_utils.h Source File

umbrello 2.39.3 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

widgetlist_utils.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2009-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef WIDGETLIST_UTILS_H
7#define WIDGETLIST_UTILS_H
8
9#include "umlwidgetlist.h"
10
15namespace WidgetList_Utils
16{
17 qreal getSmallestX(const UMLWidgetList &widgetList);
18 qreal getSmallestY(const UMLWidgetList &widgetList);
19 qreal getBiggestX(const UMLWidgetList &widgetList);
20 qreal getBiggestY(const UMLWidgetList &widgetList);
21 qreal getHeightsSum(const UMLWidgetList &widgetList);
22 qreal getWidthsSum(const UMLWidgetList &widgetList);
23} // namespace WidgetList_Utils
24
25#endif
WidgetList_Utils
Definition widgetlist_utils.cpp:17
WidgetList_Utils::getSmallestY
qreal getSmallestY(const UMLWidgetList &widgetList)
Definition widgetlist_utils.cpp:47
WidgetList_Utils::getBiggestY
qreal getBiggestY(const UMLWidgetList &widgetList)
Definition widgetlist_utils.cpp:100
WidgetList_Utils::getHeightsSum
qreal getHeightsSum(const UMLWidgetList &widgetList)
Definition widgetlist_utils.cpp:126
WidgetList_Utils::getBiggestX
qreal getBiggestX(const UMLWidgetList &widgetList)
Definition widgetlist_utils.cpp:73
WidgetList_Utils::getSmallestX
qreal getSmallestX(const UMLWidgetList &widgetList)
Definition widgetlist_utils.cpp:24
WidgetList_Utils::getWidthsSum
qreal getWidthsSum(const UMLWidgetList &widgetList)
Definition widgetlist_utils.cpp:141
umlwidgetlist.h
UMLWidgetList
QList< QPointer< UMLWidget > > UMLWidgetList
Definition umlwidgetlist.h:15