~ubuntu-branches/ubuntu/saucy/pyqwt3d/saucy-proposed

« back to all changes in this revision

Viewing changes to qwtplot3d-0.2.7/examples/mesh2/src/colormapreader.h

  • Committer: Bazaar Package Importer
  • Author(s): Gudjon I. Gudjonsson
  • Date: 2009-11-07 12:54:42 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20091107125442-92kgp0l7lessmiwo
Tags: 0.1.7~cvs20090625-2
* Change sip4 dependencies to >=4.9
* Add binary dependency on python-sip4 >=4.9
* Bump standards version to 3.8.3, no changes needed
* Add README.source file

Show diffs side-by-side

added added

removed removed

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