TrashcanLabel::TrashcanLabel(QWidget * p) : QLabel(p) { setPixmap(*(g_pIconManager->getBigIcon("kvi_bigicon_trashcan.png"))); KviTalToolTip::add(this,__tr2qs_ctx("Drop here the icons from the toolbars to remove them","editor")); setFrameStyle(QFrame::Sunken | QFrame::WinPanel); setAcceptDrops(true); setAlignment(Qt::AlignCenter); setMinimumSize(40,40); m_uFlashCount = 0; m_pFlashTimer = 0; m_clrOriginal = palette().color(backgroundRole()); setAutoFillBackground(true); //needed for flashing connect(KviActionManager::instance(),SIGNAL(removeActionsHintRequest()),this,SLOT(flash())); }
void KviActionManager::emitRemoveActionsHintRequest() { emit removeActionsHintRequest(); }