30 if (QString::fromStdString(
value).endsWith(
".png")) {
66 m_idToPixmapName[
"SliceViewer"] =
":/SliceViewer/icons/SliceViewerWindow_icon.png";
80 icon.addFile(QString::fromStdString(path), QSize(), QIcon::Normal, QIcon::Off);
double value
The value of the point.
std::string getIconID(const std::string &windowID) const
Returns an icon ID for the given window ID.
QIcon getIcon(const std::string &windowID) const
Returns an icon for the given ID.
WindowIcons()
Default constructor.
QIcon makeIconFromFile(const std::string &path) const
Build a icon object from an image file.
QMap< std::string, std::string > m_idToPixmapName
Internal map instance.
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.
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...