UltraScan III
us_images.h
Go to the documentation of this file.
1 #ifndef US_IMAGES_H
3 #define US_IMAGES_H
4 
5 #include <QtCore>
6 #include <QtGui>
7 
8 #include "us_extern.h"
9 
10 #ifdef Q_WS_WIN
11 #ifdef FILE_OPEN
12 #undef FILE_OPEN
13 #endif
14 #endif
15 
38 
40 {
41  public:
44  {
45  US3_SPLASH, CHECK,
46  ARROW_BLUE, ARROW_GREEN, ARROW_RED,
47  AXES_BOX, AXES_FRAME, AXES_NONE,
48  FILE_CELL, FILE_OPEN,
49  FLOOR_DATA, FLOOR_EMPTY, FLOOR_ISO, FLOOR_MESH,
50  GRID_NONE, GRID_BACK, GRID_CEILING, GRID_FLOOR,
51  GRID_FRONT, GRID_LEFT, GRID_RIGHT,
52  MESH_FILLED, MESH_HIDDEN, MESH_NODATA, MESH_NORMALS,
53  MESH_POLYGON, MESH_SCATTERED, MESH_WIRE,
54  MOVIE, SAVE_CONTENT, ICON_PROP,
55  QWTPLOT, US3_ICON, ARROW_LEFT, ARROW_RIGHT
56  };
57 
61  static QPixmap getImage( const QString& );
62 
66  static QPixmap getImage( int );
67 
71  static QIcon getIcon( const QString& );
72 
76  static QIcon getIcon( int );
77 
78  private:
82  static const QString image_name( int );
83 
87  static const QString expanded_name( const QString& );
88 };
89 
90 #endif