Defines a mapping between a workspace ID and a pixmap to use for an icon.
More...
#include <WindowIcons.h>
|
| QIcon | getIcon (const std::string &windowID) const |
| | Returns an icon for the given ID.
|
| |
| std::string | getIconID (const std::string &windowID) const |
| | Returns an icon ID for the given window ID.
|
| |
| | WindowIcons () |
| |
Defines a mapping between a workspace ID and a pixmap to use for an icon.
Definition at line 19 of file WindowIcons.h.
◆ WindowIcons()
| MantidQt::API::WindowIcons::WindowIcons |
( |
| ) |
|
◆ getIcon()
| QIcon MantidQt::API::WindowIcons::getIcon |
( |
const std::string & |
windowID | ) |
const |
Returns an icon for the given ID.
◆ getIconID()
| std::string MantidQt::API::WindowIcons::getIconID |
( |
const std::string & |
windowID | ) |
const |
Returns an icon ID for the given window ID.
◆ initInternalLookup()
| void MantidQt::API::WindowIcons::initInternalLookup |
( |
| ) |
|
|
private |
Defines the mapping between ID & pixmap name.
◆ makeIconFromFile()
| QIcon MantidQt::API::WindowIcons::makeIconFromFile |
( |
const std::string & |
path | ) |
const |
|
private |
Build a icon object from an image file.
◆ m_idToPixmapName
| QMap<std::string, std::string> MantidQt::API::WindowIcons::m_idToPixmapName |
|
private |
The documentation for this class was generated from the following file: