29 if (workspaceID.compare(0, 16,
"MDEventWorkspace") == 0)
41 if (workspaceID.compare(0, 16,
"MDEventWorkspace") == 0)
WorkspaceIcons()
Default constructor.
QMap< std::string, std::string > m_idToPixmapName
Internal map instance.
std::string getIconID(const std::string &workspaceID) const
Returns an icon ID for the given workspace ID.
QPixmap getIcon(const std::string &workspaceID) const
Returns an icon for the given ID.
void initInternalLookup()
Defines the mapping between ID & pixmap name.
EXPORT_OPT_MANTIDQT_COMMON QPixmap getQPixmap(const std::string &name)
Function that returns a QPixmap given a string name.