Last change
on this file since 9161 was 8127, checked in by stoecker, 8 years ago |
update qwt and qwtpolar, many QT5 fixes (unfinished)
|
File size:
1.0 KB
|
Rev | Line | |
---|
[4271] | 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"
|
---|
[8127] | 14 | #include "qwt_interval.h"
|
---|
| 15 | #include "qwt_point_3d.h"
|
---|
[4271] | 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;
|
---|
| 39 | typedef QwtInterval QwtDoubleInterval;
|
---|
| 40 | typedef QwtPoint3D QwtDoublePoint3D;
|
---|
| 41 |
|
---|
| 42 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.