Adds additional Qt drawing functions.
More...
Static Public Member Functions |
| static QIcon | loadIconSet (QString baseFileName, QString ext=".svg") |
| | Load a single image and dynamically create disabled and active versions.
|
| static QPixmap | loadIcon (QString fileName) |
| | Load a single icon.
|
| static QPixmap | loadIconFromDirectory (QString fileName, QString dir) |
| | Load a single icon from the specified directory.
|
| static QIcon | loadIconSet (QString offFileName, QString onFileName, QString ext) |
| | Load a image for off and a different for on and dynamically create disabled and active versions.
|
| static void | createIcons (QString imageDirectory, QString onFileName, QString ext, QIcon &set, bool noAlpha, QIcon::State state) |
| | Create Icons in this set.
|
| static void | grayScaleFadeImage (QImage &image) |
| | Transform the image to gray and increase alpha.
|
| static void | blurBlackenImage (QImage &image) |
| | Transform the image to black and blur.
|
| static void | draw3DRect (QPainter &painter, QRect r, QColor light, QColor dark) |
| static void | draw3DRoundedRect (QPainter &painter, QRect r, int radius, QColor light, QColor mid, QColor dark) |
| static void | printOutlinedString (QPainter &painter, int x, int y, const QString text, QColor inner, QColor edge) |
Detailed Description
Adds additional Qt drawing functions.
Member Enumeration Documentation
Member Function Documentation
| static void MAKVrExchange::DtQtExtendedDrawing::blurBlackenImage |
( |
QImage & |
image | ) |
|
|
static |
Transform the image to black and blur.
| static void MAKVrExchange::DtQtExtendedDrawing::createIcons |
( |
QString |
imageDirectory, |
|
|
QString |
onFileName, |
|
|
QString |
ext, |
|
|
QIcon & |
set, |
|
|
bool |
noAlpha, |
|
|
QIcon::State |
state |
|
) |
| |
|
static |
Create Icons in this set.
| static void MAKVrExchange::DtQtExtendedDrawing::draw3DRect |
( |
QPainter & |
painter, |
|
|
QRect |
r, |
|
|
QColor |
light, |
|
|
QColor |
dark |
|
) |
| |
|
static |
| static void MAKVrExchange::DtQtExtendedDrawing::draw3DRoundedRect |
( |
QPainter & |
painter, |
|
|
QRect |
r, |
|
|
int |
radius, |
|
|
QColor |
light, |
|
|
QColor |
mid, |
|
|
QColor |
dark |
|
) |
| |
|
static |
| static void MAKVrExchange::DtQtExtendedDrawing::grayScaleFadeImage |
( |
QImage & |
image | ) |
|
|
static |
Transform the image to gray and increase alpha.
| static QPixmap MAKVrExchange::DtQtExtendedDrawing::loadIcon |
( |
QString |
fileName | ) |
|
|
static |
Load a single icon.
The filename is expected to be in the image directory.
| static QPixmap MAKVrExchange::DtQtExtendedDrawing::loadIconFromDirectory |
( |
QString |
fileName, |
|
|
QString |
dir |
|
) |
| |
|
static |
Load a single icon from the specified directory.
| static QIcon MAKVrExchange::DtQtExtendedDrawing::loadIconSet |
( |
QString |
baseFileName, |
|
|
QString |
ext = ".svg" |
|
) |
| |
|
static |
Load a single image and dynamically create disabled and active versions.
| static QIcon MAKVrExchange::DtQtExtendedDrawing::loadIconSet |
( |
QString |
offFileName, |
|
|
QString |
onFileName, |
|
|
QString |
ext |
|
) |
| |
|
static |
Load a image for off and a different for on and dynamically create disabled and active versions.
| static void MAKVrExchange::DtQtExtendedDrawing::printOutlinedString |
( |
QPainter & |
painter, |
|
|
int |
x, |
|
|
int |
y, |
|
|
const QString |
text, |
|
|
QColor |
inner, |
|
|
QColor |
edge |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: