Slicer
5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Base/QTGUI/qSlicerIconEnginePlugin.h>
Public Member Functions | |
qSlicerIconEnginePlugin (QObject *parent=nullptr) | |
Customized ctkIconEnginePlugin to look for icons in specific directories. By default it will look for icons in the Small/Medium/Large and XLarge directories. To be working, each icon resolution must be added into each subdirectory (Resources/Icons/Small, Resources/Icons/Medium...) using the same file name. All files must be referenced in the resource file (.qrc). In the code, only refer to one icon resolution. Example:
When the icon is asked for a pixmap at a given resolution, automatically, the icon engine picks the best icon file for the requested size.
will use the icon in the XLarge subdirectory instead of the icon in the Medium subdirectory.
Definition at line 48 of file qSlicerIconEnginePlugin.h.
qSlicerIconEnginePlugin::qSlicerIconEnginePlugin | ( | QObject * | parent = nullptr | ) |