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

QCursor QWidget::cursor [read, write, inherited]

the cursor shape for this widget

The mouse cursor will assume this shape when it's over this widget. See the list of predefined cursor objects for a range of useful shapes.

An editor widget might use an I-beam cursor: doc/src/snippets/code/src_gui_kernel_qwidget.cpp 6

If no cursor has been set, or after a call to unsetCursor(), the parent's cursor is used.

By default, this property contains a cursor with the Qt::ArrowCursor shape.

See also:
QApplication::setOverrideCursor()

Reimplemented in Q3TextEdit.

Definition at line 175 of file qwidget.h.

Referenced by MainWindow::addParagraph(), MainWindow::createLetter(), QLineEdit::cursorForward(), QSplashScreen::drawContents(), QWebView::event(), QMainWindow::event(), MainWindow::highlightListItems(), MainWindow::insertCalendar(), MainWindow::insertCustomer(), TextEdit::insertFromMimeData(), MainWindow::insertList(), QMdiSubWindow::keyPressEvent(), QHeaderView::mouseDoubleClickEvent(), QLineEdit::mousePressEvent(), MainWindow::newLetter(), TextFinder::on_findButton_clicked(), MainWindow::showList(), and MainWindow::showTable().


Generated by  Doxygen 1.6.0   Back to index