File: colormapreader.h

package info (click to toggle)
qwtplot3d 0.2.7%2Bsvn191-10.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,400 kB
  • ctags: 2,024
  • sloc: cpp: 8,913; ansic: 5,078; python: 95; makefile: 36; sh: 1
file content (28 lines) | stat: -rw-r--r-- 484 bytes parent folder | download | duplicates (3)
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 <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