Extending Qt Creator Manual | StyleHelper

Extending Qt Creator Manual 4.7.1

# StyleHelper Class

(Utils::StyleHelper)

- List of all members, including inherited members

## Static Public Members

int | alphaBlendedColors(const int &, const int &)
QList<int> | availableImageResolutions(const QString &fileName)
int | baseColor(bool)
int | borderColor(bool)
int | buttonTextColor()
int | disabledSideBarIcon(const int &)
QString | dpiSpecificImageFile(const QString &fileName)
void | drawArrow(int element, QPainter *painter, const int *option)
void | drawCornerImage(const int &img, QPainter *painter, const QRect &rect, int left = 0, int top = 0, int right = 0, int bottom = 0)
void | drawIconWithShadow(const QIcon &icon, const QRect &rect, QPainter *p, int iconMode, int dipRadius = 3, const int &color = ..., const int &dipOffset = ...)
int | highlightColor(bool)
void | horizontalGradient(QPainter *painter, const QRect &spanRect, const QRect &clipRect, bool lightColored = false)
QString | imageFileWithResolution(const QString &fileName, int dpr)
void | menuGradient(QPainter *painter, const QRect &spanRect, const QRect &clipRect)
int | mergedColors(const int &, const int &, int)
int | navigationWidgetHeight()
int | notTooBrightHighlightColor()
int | panelTextColor(bool)
int | requestedBaseColor()
void | setBaseColor(const int &color)
int | shadowColor(bool)
QPalette | sidebarFontPalette(const QPalette &original)
qreal | sidebarFontSize()
int | sidebarHighlight()
int | sidebarShadow()
int | statusBarGradient(const QRect &)
void | tintImage(int &img, const int &tintColor)
int | toolBarBorderColor()
int | toolBarDropShadowColor()
bool | usePixmapCache()
void | verticalGradient(QPainter *painter, const QRect &spanRect, const QRect &clipRect, bool lightColored = false)

## Member Function Documentation

### `[static]` int StyleHelper::alphaBlendedColors(const int &, const int &)

### `[static]` QList<int> StyleHelper::availableImageResolutions(const QString &fileName)

### `[static]` int StyleHelper::baseColor(bool)

See also setBaseColor().

### `[static]` int StyleHelper::borderColor(bool)

### `[static]` int StyleHelper::buttonTextColor()

### `[static]` int StyleHelper::disabledSideBarIcon(const int &)

### `[static]` QString StyleHelper::dpiSpecificImageFile(const QString &fileName)

### `[static]` void StyleHelper::drawArrow(int element, QPainter *painter, const int *option)

### `[static]` void StyleHelper::drawCornerImage(const int &img, QPainter *painter, const QRect &rect, int left = 0, int top = 0, int right = 0, int bottom = 0)

### `[static]` void StyleHelper::drawIconWithShadow(const QIcon &icon, const QRect &rect, QPainter *p, int iconMode, int dipRadius = 3, const int &color = ..., const int &dipOffset = ...)

### `[static]` int StyleHelper::highlightColor(bool)

### `[static]` void StyleHelper::horizontalGradient(QPainter *painter, const QRect &spanRect, const QRect &clipRect, bool lightColored = false)

### `[static]` QString StyleHelper::imageFileWithResolution(const QString &fileName, int dpr)

### `[static]` void StyleHelper::menuGradient(QPainter *painter, const QRect &spanRect, const QRect &clipRect)

### `[static]` int StyleHelper::mergedColors(const int &, const int &, int)

### `[static]` int StyleHelper::navigationWidgetHeight()

### `[static]` int StyleHelper::notTooBrightHighlightColor()

### `[static]` int StyleHelper::panelTextColor(bool)

### `[static]` int StyleHelper::requestedBaseColor()

### `[static]` void StyleHelper::setBaseColor(const int &color)

See also baseColor().

### `[static]` int StyleHelper::shadowColor(bool)

### `[static]` QPalette StyleHelper::sidebarFontPalette(const QPalette &original)

### `[static]` qreal StyleHelper::sidebarFontSize()

### `[static]` int StyleHelper::sidebarHighlight()

### `[static]` int StyleHelper::sidebarShadow()

### `[static]` int StyleHelper::statusBarGradient(const QRect &)

### `[static]` void StyleHelper::tintImage(int &img, const int &tintColor)

### `[static]` int StyleHelper::toolBarBorderColor()

### `[static]` int StyleHelper::toolBarDropShadowColor()

### `[static]` bool StyleHelper::usePixmapCache()

### `[static]` void StyleHelper::verticalGradient(QPainter *painter, const QRect &spanRect, const QRect &clipRect, bool lightColored = false)