umbrello 2.32.3 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.h
UMLWidget::height
qreal height() const
Definition: umlwidget.h:114
x
int x
Definition: cxx11-lambda-functions-and-expressions.h:4
UMLWidget
The base class for graphical UML objects.
Definition: umlwidget.h:41
WidgetList_Utils::getHeightsSum
qreal getHeightsSum(const UMLWidgetList &widgetList)
Definition: widgetlist_utils.cpp:131
WidgetList_Utils::getSmallestY
qreal getSmallestY(const UMLWidgetList &widgetList)
Definition: widgetlist_utils.cpp:52
WidgetList_Utils::getSmallestX
qreal getSmallestX(const UMLWidgetList &widgetList)
Definition: widgetlist_utils.cpp:29
umlwidgetlist.h
umlwidget.h
WidgetList_Utils::getBiggestY
qreal getBiggestY(const UMLWidgetList &widgetList)
Definition: widgetlist_utils.cpp:105
UMLWidgetList
QList< QPointer< UMLWidget > > UMLWidgetList
Definition: umlwidgetlist.h:17
WidgetList_Utils::getWidthsSum
qreal getWidthsSum(const UMLWidgetList &widgetList)
Definition: widgetlist_utils.cpp:146
WidgetList_Utils::getBiggestX
qreal getBiggestX(const UMLWidgetList &widgetList)
Definition: widgetlist_utils.cpp:78
debug_utils.h
UMLWidget::width
qreal width() const
Definition: umlwidget.h:121
WidgetList_Utils
Definition: widgetlist_utils.cpp:22