Пример #1
0
void DockAppItem::onMouseEnter()
{
    if (m_dockModeData->getHideState() != Dock::HideStateShown || !hoverable())
        return;

    m_appBG->setIsHovered(true);
    showPreview();
}
Пример #2
0
void DockAppItem::onMouseEnter()
{
    if (hoverable()) {
        m_appBG->setIsHovered(true);
        showPreview();
        emit mouseEnter();
    }
}