COPASI API  4.16.103
CQIconResource.h
Go to the documentation of this file.
1 // Copyright (C) 2012 - 2013 by Pedro Mendes, Virginia Tech Intellectual
2 // Properties, Inc., University of Heidelberg, and The University
3 // of Manchester.
4 // All rights reserved.
5 
6 #ifndef COPASI_CQIconResource
7 #define COPASI_CQIconResource
8 
9 #include <QtCore/QVector>
10 #include <QtGui/QIcon>
11 
13 {
14 public:
15  enum IconID
16  {
17  bars = 0,
70  // This is the default icon which is empty
72  // This must be the last entry to automatically determine the size!
74  };
75 
76  static const QIcon & icon(const IconID & id);
77 
78 private:
79  static void init();
80 
81  static QVector< QIcon > Icons;
82  static bool needInit;
83 };
84 
85 #endif // COPASI_CQIconResource
static void init()
static QVector< QIcon > Icons
static const QIcon & icon(const IconID &id)
static bool needInit