Esempio n. 1
0
PopupWindow* PopupWindowsStack::newWindow()
{
	qDebug() << Q_FUNC_INFO << "{";
	PopupWindow* p = new PopupWindow(newCoords());
	connect(p, SIGNAL(closePopupWindow()), this, SLOT(windowClosed()));
	connect(p, SIGNAL(mouseEntered()), this, SIGNAL(mouseEntered()));
	connect(p, SIGNAL(mouseLeaved()), this, SIGNAL(mouseLeaved()));
	existingWindows.append(p);
	shownWindows.append(p);	
	qDebug() << Q_FUNC_INFO << "}";
	return p;
}
Esempio n. 2
0
void CPushButton::leaveEvent(QEvent* event){
    emit mouseLeaved();
    event->ignore();
}
Esempio n. 3
0
void KNMouseDetectLabel::leaveEvent(QEvent *event)
{
    QLabel::leaveEvent(event);
    emit mouseLeaved();
}