| 29 | { |
| 30 | setText(text); |
| 31 | } |
| 32 | |
| 33 | ElaRadioButton::~ElaRadioButton() = default; |
| 34 | |
| 35 | void ElaRadioButton::paintEvent(QPaintEvent* event) |
| 36 | { |
| 37 | Q_D(ElaRadioButton); |
| 38 | if (palette().color(QPalette::WindowText) != ElaThemeColor(d->_themeMode, BasicText)) |
| 39 | { |
| 40 | d->onThemeChanged(d->_themeMode); |
| 41 | } |
| 42 | QRadioButton::paintEvent(event); |
nothing calls this directly
no test coverage detected