iqt.h
Go to the documentation of this file.
1 #ifndef iqt_included
2 #define iqt_included
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 
25 
29 namespace iqt
30 {
31 
32 
33 extern QSize GetQSize(const istd::CIndex2d& size);
34 extern istd::CIndex2d GetCIndex2d(const QSize& size);
35 extern QPoint GetQPoint(const istd::CIndex2d& position);
36 extern istd::CIndex2d GetCIndex2d(const QPoint& position);
37 extern QRectF GetQRectF(const i2d::CRectangle& rect);
38 extern i2d::CRectangle GetCRectangle(const QRectF& rect);
39 extern i2d::CLine2d GetCLine2d(const QLine& line);
40 extern QLine GetQLine(const i2d::CLine2d& line);
41 extern i2d::CLine2d GetCLine2d(const QLineF& line);
42 extern QLineF GetQLineF(const i2d::CLine2d& line);
43 extern QRect GetQRect(const i2d::CRect& rect);
44 extern i2d::CRect GetCRect(const QRect& rect);
45 
46 
47 } // namespace iqt
48 
49 
50 #endif // !iqt_included
51 
52 
QLineF GetQLineF(const i2d::CLine2d &line)
i2d::CRect GetCRect(const QRect &rect)
i2d::CRectangle GetCRectangle(const QRectF &rect)
Definition of a line in 2D-space.
Definition: CLine2d.h:24
Simple rectangle with integer bounds.
Definition: CRect.h:21
Index implementation for addressing elements in 2D-space.
Definition: CIndex2d.h:20
QPoint GetQPoint(const istd::CIndex2d &position)
Definition of rectangle area orthogonal to axis of coordination system.
Definition: CRectangle.h:26
i2d::CLine2d GetCLine2d(const QLine &line)
istd::CIndex2d GetCIndex2d(const QSize &size)
QRectF GetQRectF(const i2d::CRectangle &rect)
QRect GetQRect(const i2d::CRect &rect)
QSize GetQSize(const istd::CIndex2d &size)
QLine GetQLine(const i2d::CLine2d &line)

© 2007-2017 Witold Gantzke and Kirill Lepskiy