Logo Search packages:      
Sourcecode: qt4-x11 version File versions

Qt::MouseButton QMouseEvent::button (  )  const [inline]

Returns the button that caused the event.

Note that the returned value is always Qt::NoButton for mouse move events.

See also:
buttons() Qt::MouseButton

Definition at line 70 of file qevent.h.

Referenced by Q3Table::contentsMouseDoubleClickEvent(), Q3ListView::contentsMouseDoubleClickEvent(), Q3TextEdit::contentsMouseDoubleClickEvent(), Q3TextEdit::contentsMousePressEvent(), Q3TextEdit::contentsMouseReleaseEvent(), Q3Table::contentsMouseReleaseEvent(), Q3IconView::contentsMouseReleaseEvent(), QMainWindow::event(), Q3ComboBox::eventFilter(), Q3ListView::eventFilter(), QAbstractItemView::mouseDoubleClickEvent(), QLineEdit::mouseDoubleClickEvent(), QGraphicsView::mouseDoubleClickEvent(), Q3ListBox::mouseMoveEvent(), QGraphicsView::mouseMoveEvent(), QDial::mousePressEvent(), QGraphicsView::mousePressEvent(), QTabBar::mousePressEvent(), QAbstractButton::mousePressEvent(), Q3Header::mousePressEvent(), QAbstractSpinBox::mousePressEvent(), QSplitterHandle::mousePressEvent(), QScrollBar::mousePressEvent(), QLineEdit::mousePressEvent(), QHeaderView::mousePressEvent(), QSlider::mousePressEvent(), Q3SpinWidget::mousePressEvent(), QMenuBar::mousePressEvent(), QToolButton::mousePressEvent(), Q3ComboBox::mousePressEvent(), QDial::mouseReleaseEvent(), QScrollBar::mouseReleaseEvent(), QGraphicsView::mouseReleaseEvent(), Q3Header::mouseReleaseEvent(), QSplitterHandle::mouseReleaseEvent(), QAbstractButton::mouseReleaseEvent(), Q3SpinWidget::mouseReleaseEvent(), QMenuBar::mouseReleaseEvent(), QTabBar::mouseReleaseEvent(), QLineEdit::mouseReleaseEvent(), Q3ListBox::mouseReleaseEvent(), QApplication::notify(), Q3TextEdit::optimMousePressEvent(), Q3TextEdit::optimMouseReleaseEvent(), Q3ScrollView::viewportMouseDoubleClickEvent(), Q3ScrollView::viewportMouseMoveEvent(), Q3ScrollView::viewportMousePressEvent(), and Q3ScrollView::viewportMouseReleaseEvent().

{ return b; }


Generated by  Doxygen 1.6.0   Back to index