blob: 3322846ac03d0bdffcf443b492e20b83f7478668 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef __colormapreader_2003_06_08_13_23__
#define __colormapreader_2003_06_08_13_23__
#include <qlabel.h>
#include <qframe.h>
#include <qpixmap.h>
#include "../../../include/qwt3d_types.h"
#if QT_VERSION < 0x040000
class ColorMapPreview : public QFrame, public QFilePreview
{
public:
ColorMapPreview( QWidget *parent=0 );
void previewUrl( const QUrl &u );
private:
Qwt3D::ColorVector cv;
QLabel* label_;
QPixmap pix_;
bool open(QString);
};
#else // if present in Qt4
#endif
#endif
|