Use DISABLE_THEME_COLORS macro
This commit is contained in:
parent
44aad942d4
commit
41d84efb57
|
@ -100,8 +100,10 @@ void QtMaterialTabs::setInkColor(const QColor &color)
|
||||||
Q_D(QtMaterialTabs);
|
Q_D(QtMaterialTabs);
|
||||||
|
|
||||||
d->inkColor = color;
|
d->inkColor = color;
|
||||||
setUseThemeColors(false);
|
|
||||||
|
MATERIAL_DISABLE_THEME_COLORS
|
||||||
d->inkBar->update();
|
d->inkBar->update();
|
||||||
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
QColor QtMaterialTabs::inkColor() const
|
QColor QtMaterialTabs::inkColor() const
|
||||||
|
@ -120,8 +122,10 @@ void QtMaterialTabs::setBackgroundColor(const QColor &color)
|
||||||
Q_D(QtMaterialTabs);
|
Q_D(QtMaterialTabs);
|
||||||
|
|
||||||
d->backgroundColor = color;
|
d->backgroundColor = color;
|
||||||
setUseThemeColors(false);
|
|
||||||
|
MATERIAL_DISABLE_THEME_COLORS
|
||||||
updateTabs();
|
updateTabs();
|
||||||
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
QColor QtMaterialTabs::backgroundColor() const
|
QColor QtMaterialTabs::backgroundColor() const
|
||||||
|
@ -140,8 +144,10 @@ void QtMaterialTabs::setTextColor(const QColor &color)
|
||||||
Q_D(QtMaterialTabs);
|
Q_D(QtMaterialTabs);
|
||||||
|
|
||||||
d->textColor = color;
|
d->textColor = color;
|
||||||
setUseThemeColors(false);
|
|
||||||
|
MATERIAL_DISABLE_THEME_COLORS
|
||||||
updateTabs();
|
updateTabs();
|
||||||
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
QColor QtMaterialTabs::textColor() const
|
QColor QtMaterialTabs::textColor() const
|
||||||
|
|
Loading…
Reference in New Issue