COPASI API  4.40.278
CQIconResource Class Reference

#include <CQIconResource.h>

Public Types

enum  IconID {
  bars = 0 , captureImage , checkMark , copasi ,
  edit , editAdd , editCopy , editDelete ,
  error , fileAdd , fileExport , fileNew ,
  fileOpen , filePrint , fileSave , fileSaveas ,
  information , isToS , locked , miriam ,
  moveDown , moveUp , warning , parameterMissing ,
  parameterModified , parameterObsolete , playerKill , playerPause ,
  playerStart , playerStop , preferences , reactionModifier ,
  reactionProduct , reactionSubstrate , renderMarkup , renderMathML ,
  separator , slider , sToIs , table ,
  tool , unlocked , zoomOut , play ,
  pause , stop , backward , forward ,
  skipBackward , skipForward , roll , viewmagMinus ,
  viewmagPlus , viewmag1 , viewmagfit , _reset ,
  animation , dialog_error , dialog_information , dialog_warning ,
  dialog_question , unknown , __SIZE
}
 

Static Public Member Functions

static const QIcon & icon (const IconID &id)
 

Static Private Member Functions

static void init ()
 
static void load (IconID iconID, QIcon::Mode mode=QIcon::Normal, QIcon::State state=QIcon::Off)
 

Static Private Attributes

static const CEnumAnnotation< std::string, IconIDBackupName
 
static QVector< QIcon > Icons
 
static bool needInit
 
static const CEnumAnnotation< QStyle::StandardPixmap, IconIDStandardIcon
 
static const CEnumAnnotation< std::string, IconIDThemeName
 

Member Enumeration Documentation

◆ IconID

Enumerator
bars 
captureImage 
checkMark 
copasi 
edit 
editAdd 
editCopy 
editDelete 
error 
fileAdd 
fileExport 
fileNew 
fileOpen 
filePrint 
fileSave 
fileSaveas 
information 
isToS 
locked 
miriam 
moveDown 
moveUp 
warning 
parameterMissing 
parameterModified 
parameterObsolete 
playerKill 
playerPause 
playerStart 
playerStop 
preferences 
reactionModifier 
reactionProduct 
reactionSubstrate 
renderMarkup 
renderMathML 
separator 
slider 
sToIs 
table 
tool 
unlocked 
zoomOut 
play 
pause 
stop 
backward 
forward 
skipBackward 
skipForward 
roll 
viewmagMinus 
viewmagPlus 
viewmag1 
viewmagfit 
_reset 
animation 
dialog_error 
dialog_information 
dialog_warning 
dialog_question 
unknown 
__SIZE 

Member Function Documentation

◆ icon()

const QIcon & CQIconResource::icon ( const IconID id)
static

References __SIZE, Icons, init(), and unknown.

Referenced by WizardDialog::WizardDialog().

◆ init()

◆ load()

void CQIconResource::load ( IconID  iconID,
QIcon::Mode  mode = QIcon::Normal,
QIcon::State  state = QIcon::Off 
)
staticprivate

References BackupName, Icons, StandardIcon, and ThemeName.

Referenced by init().

Member Data Documentation

◆ BackupName

const CEnumAnnotation< std::string, CQIconResource::IconID > CQIconResource::BackupName
staticprivate

Referenced by load().

◆ Icons

QVector< QIcon > CQIconResource::Icons
staticprivate

Referenced by icon(), init(), and load().

◆ needInit

bool CQIconResource::needInit
staticprivate

Referenced by init().

◆ StandardIcon

const CEnumAnnotation< QStyle::StandardPixmap, CQIconResource::IconID > CQIconResource::StandardIcon
staticprivate

Referenced by load().

◆ ThemeName

const CEnumAnnotation< std::string, CQIconResource::IconID > CQIconResource::ThemeName
staticprivate

Referenced by load().


The documentation for this class was generated from the following files: