ACF $AcfVersion:0$
iqt.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// Qt includes
6#include <QtCore/QString>
7#include <QtCore/QStringList>
8#include <QtCore/QSize>
9#include <QtCore/QPoint>
10#include <QtCore/QPointF>
11#include <QtCore/QRectF>
12#include <QtCore/QLine>
13#include <QtCore/QLineF>
14#include <QtCore/QFileInfo>
15#include <QtCore/QDateTime>
16
17// ACF includes
18#include <istd/CIndex2d.h>
19
20#include <i2d/CVector2d.h>
21#include <i2d/CRectangle.h>
22#include <i2d/CLine2d.h>
23#include <i2d/CRect.h>
24
26
27
31namespace iqt
32{
33
34
35extern QSize GetQSize(const istd::CIndex2d& size);
36extern istd::CIndex2d GetCIndex2d(const QSize& size);
37extern QPoint GetQPoint(const istd::CIndex2d& position);
38extern QPointF GetQPoint(const i2d::CVector2d& position);
39extern istd::CIndex2d GetCIndex2d(const QPoint& position);
40extern QRectF GetQRectF(const i2d::CRectangle& rect);
41extern i2d::CRectangle GetCRectangle(const QRectF& rect);
42extern i2d::CLine2d GetCLine2d(const QLine& line);
43extern QLine GetQLine(const i2d::CLine2d& line);
44extern i2d::CLine2d GetCLine2d(const QLineF& line);
45extern QLineF GetQLineF(const i2d::CLine2d& line);
46extern QRect GetQRect(const i2d::CRect& rect);
47extern i2d::CRect GetCRect(const QRect& rect);
48
55QByteArray GetTranslation(const iqt::ITranslationManager* translationManagerPtr, const QByteArray& phrase, const QByteArray& languageId, const QByteArray& context);
56
57} // namespace iqt
58
59
60
61
Definition of a line in 2D-space.
Definition CLine2d.h:25
Simple rectangle with integer bounds.
Definition CRect.h:22
Definition of rectangle area orthogonal to axis of coordination system.
Definition CRectangle.h:27
Definition of position or mathematical vector on 2D plane.
Definition CVector2d.h:29
Common interface for the localization manager.
Index implementation for addressing elements in 2D-space.
Definition CIndex2d.h:21
This namespace contains non-UI utility classes based on Qt.
QLineF GetQLineF(const i2d::CLine2d &line)
QRectF GetQRectF(const i2d::CRectangle &rect)
QByteArray GetTranslation(const iqt::ITranslationManager *translationManagerPtr, const QByteArray &phrase, const QByteArray &languageId, const QByteArray &context)
Function to get phrase tranlate.
i2d::CRectangle GetCRectangle(const QRectF &rect)
QRect GetQRect(const i2d::CRect &rect)
QSize GetQSize(const istd::CIndex2d &size)
i2d::CLine2d GetCLine2d(const QLine &line)
QLine GetQLine(const i2d::CLine2d &line)
i2d::CRect GetCRect(const QRect &rect)
istd::CIndex2d GetCIndex2d(const QSize &size)
QPoint GetQPoint(const istd::CIndex2d &position)