void KListItem::hoverLeaveEvent( QGraphicsSceneHoverEvent *event ) { if(!itemSelected()) { QVariant v = m_listWidget->itemUnselectBackgroundVariant(); setUnselected(v); } }
void CardButton::setSelectable(bool selectable/* = true*/) { if (!selectable) setUnselected(); m_cardSelectable = selectable; m_cardFrame->setNotDimed(m_cardSelectable); }
void CardButton::setSelectable(bool selectable) { if (!selectable) setUnselected(); cardSelectable = selectable; cardFrame->setNotDimed(cardSelectable); }