void ItemViewHoverButton::setVisible(bool visible) { QAbstractButton::setVisible(visible); stopFading(); if (visible) { startFading(); } }
void YaTabBarBase::updateFading() { updateHiddenTabActions(); for (int i = 0; i < count(); i++) { if (tabData(i).toBool()) { startFading(); return; } } stopFading(); }
void RatingWidget::setVisible(bool visible) { QWidget::setVisible(visible); if (visible) { startFading(); } else { stopFading(); } }
void KoContextBarButton::hideEvent(QHideEvent *event) { stopFading(); QToolButton::hideEvent(event); }
void KoContextBarButton::showEvent(QShowEvent *event) { stopFading(); startFading(); QToolButton::showEvent(event); }