|
DtkGui
DTK Gui module
|
Public 成员函数 | |
| DIcon (const QIcon &other) | |
| QPixmap | pixmap (const QSize &size, qreal devicePixelRatio, Mode mode=Normal, State state=Off) |
静态 Public 成员函数 | |
| static QPixmap | loadNxPixmap (const QString &fileName) |
| DIcon::loadNxPixmap loads the suitable @Nx image. | |
|
static |
DIcon::loadNxPixmap loads the suitable @Nx image.
| fileName | is the original resource file name. |
| QPixmap Dtk::Gui::DIcon::pixmap | ( | const QSize & | size, |
| qreal | devicePixelRatio, | ||
| Mode | mode = Normal, |
||
| State | state = Off |
||
| ) |
Icon::pixmap Returns a pixmap with the requested size, devicePixelRatio, mode, and state, generating one if necessary.