3#include "SARibbonGlobal.h"
11QColor SA_RIBBON_EXPORT makeColorVibrant(
const QColor& c,
int saturationDelta = 150,
int valueDelta = 30);
14QSize SA_RIBBON_EXPORT scaleSizeByHeight(
const QSize& originalSize,
int newHeight);
17QSize SA_RIBBON_EXPORT scaleSizeByHeight(
const QSize& originalSize,
int newHeight, qreal factor);
20QSize SA_RIBBON_EXPORT scaleSizeByWidth(
const QSize& originalSize,
int newWidth);
23QString SA_RIBBON_EXPORT getBuiltInRibbonThemeQss(SARibbonTheme theme);
26void SA_RIBBON_EXPORT setBuiltInRibbonTheme(QWidget* w, SARibbonTheme theme);
29QPixmap iconToPixmap(
const QIcon& icon,
31 qreal devicePixelRatio,
32 QIcon::Mode mode = QIcon::Normal,
33 QIcon::State state = QIcon::Off);
36qreal widgetDevicePixelRatio(QWidget* w);