Esempio n. 1
0
void Manager::wheelEvent(TQWheelEvent *e)
{
    if (isSetShade() || titleLayout_->tqgeometry().contains(e->pos()) )
        titlebarMouseWheelOperation( e->delta());
}
Esempio n. 2
0
void NextClient::wheelEvent( QWheelEvent * e )
{
    if (isSetShade() || QRect( 0, 0, width(), titleHeight ).contains( e->pos() ) )
	titlebarMouseWheelOperation( e->delta());
}
Esempio n. 3
0
void KCommonDecoration::wheelEvent(QWheelEvent *e)
{
    int tb = layoutMetric(LM_TitleEdgeTop)+layoutMetric(LM_TitleHeight)+layoutMetric(LM_TitleEdgeBottom);
    if (isSetShade() || e->pos().y() <= tb )
        titlebarMouseWheelOperation( e->delta());
}