qwt_compat.h
Go to the documentation of this file.
1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
2  * Qwt Widget Library
3  * Copyright (C) 1997 Josef Wilgen
4  * Copyright (C) 2002 Uwe Rathmann
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the Qwt License, Version 1.0
8  *****************************************************************************/
9 
10 #ifndef _QWT_COMPAT_H_
11 #define _QWT_COMPAT_H_
12 
13 #include "qwt_global.h"
14 #include "qwt_interval.h"
15 #include "qwt_point_3d.h"
16 #include <qlist.h>
17 #include <qvector.h>
18 #include <qpoint.h>
19 #include <qsize.h>
20 #include <qrect.h>
21 #include <qpolygon.h>
22 
23 // A couple of definition for Qwt5 compatibility
24 
25 #define qwtMax qMax
26 #define qwtMin qMin
27 #define qwtAbs qAbs
28 #define qwtRound qRound
29 
30 #define QwtArray QVector
31 
32 typedef QList<double> QwtValueList;
33 typedef QPointF QwtDoublePoint;
34 typedef QSizeF QwtDoubleSize;
35 typedef QRectF QwtDoubleRect;
36 
37 typedef QPolygon QwtPolygon;
38 typedef QPolygonF QwtPolygonF;
41 
42 #endif
QPointF QwtDoublePoint
Definition: qwt_compat.h:33
A class representing an interval.
Definition: qwt_interval.h:26
QRectF QwtDoubleRect
Definition: qwt_compat.h:35
QwtInterval QwtDoubleInterval
Definition: qwt_compat.h:39
QwtPoint3D class defines a 3D point in double coordinates.
Definition: qwt_point_3d.h:24
QwtPoint3D QwtDoublePoint3D
Definition: qwt_compat.h:40
QList< double > QwtValueList
Definition: qwt_compat.h:32
QPolygonF QwtPolygonF
Definition: qwt_compat.h:38
QSizeF QwtDoubleSize
Definition: qwt_compat.h:34
QPolygon QwtPolygon
Definition: qwt_compat.h:37


plotjuggler
Author(s): Davide Faconti
autogenerated on Sat Jul 6 2019 03:44:17