umbrello: umbrello/umlwidgets/widgetlist_utils.h Source File

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

widgetlist_utils.h
Go to the documentation of this file.
1 /***************************************************************************
2 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2009-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef WIDGETLIST_UTILS_H
12 #define WIDGETLIST_UTILS_H
13
14 #include "umlwidgetlist.h"
15
20 namespace WidgetList_Utils
21 {
22 qreal getSmallestX(const UMLWidgetList &widgetList);
23 qreal getSmallestY(const UMLWidgetList &widgetList);
24 qreal getBiggestX(const UMLWidgetList &widgetList);
25 qreal getBiggestY(const UMLWidgetList &widgetList);
26 qreal getHeightsSum(const UMLWidgetList &widgetList);
27 qreal getWidthsSum(const UMLWidgetList &widgetList);
28 } // namespace WidgetList_Utils
29
30 #endif
WidgetList_Utils
Definition: widgetlist_utils.cpp:22
WidgetList_Utils::getSmallestY
qreal getSmallestY(const UMLWidgetList &widgetList)
Definition: widgetlist_utils.cpp:52
WidgetList_Utils::getBiggestY
qreal getBiggestY(const UMLWidgetList &widgetList)
Definition: widgetlist_utils.cpp:105
WidgetList_Utils::getHeightsSum
qreal getHeightsSum(const UMLWidgetList &widgetList)
Definition: widgetlist_utils.cpp:131
WidgetList_Utils::getBiggestX
qreal getBiggestX(const UMLWidgetList &widgetList)
Definition: widgetlist_utils.cpp:78
WidgetList_Utils::getSmallestX
qreal getSmallestX(const UMLWidgetList &widgetList)
Definition: widgetlist_utils.cpp:29
WidgetList_Utils::getWidthsSum
qreal getWidthsSum(const UMLWidgetList &widgetList)
Definition: widgetlist_utils.cpp:146
umlwidgetlist.h
UMLWidgetList
QList< QPointer< UMLWidget > > UMLWidgetList
Definition: umlwidgetlist.h:17