QSizeGrip Class ReferenceThe QSizeGrip class provides a resize handle for resizing top-level windows. Далее... #include <QSizeGrip> Унаследован от: QWidget. Открытые функции
Переопределённые открытые функции
Переопределённые защищённые функции
Дополнительные унаследованные члены
Подробное описаниеThe QSizeGrip class provides a resize handle for resizing top-level windows. This widget works like the standard Windows resize handle. In the X11 version this resize handle generally works differently from the one provided by the system if the X11 window manager does not support necessary modern post-ICCCM specifications. Put this widget anywhere in a widget tree and the user can use it to resize the top-level window or any widget with the Qt::SubWindow flag set. Generally, this should be in the lower right-hand corner. Note that QStatusBar already uses this widget, so if you have a status bar (e.g., you are using QMainWindow), then you don't need to use this widget explicitly. On some platforms the size grip automatically hides itself when the window is shown full screen or maximised.
The QSizeGrip class inherits QWidget and reimplements the mousePressEvent() and mouseMoveEvent() functions to feature the resize functionality, and the paintEvent() function to render the size grip widget. See also QStatusBar and QWidget::windowState(). Описание функций-членовQSizeGrip::QSizeGrip ( QWidget * parent )Constructs a resize corner as a child widget of the given parent. QSizeGrip::~QSizeGrip ()Destroys this size grip. bool QSizeGrip::event ( QEvent * event ) [virtual protected]Переопределено от QObject::event(). bool QSizeGrip::eventFilter ( QObject * o, QEvent * e ) [virtual protected]Переопределено из QObject::eventFilter(). void QSizeGrip::hideEvent ( QHideEvent * hideEvent ) [virtual protected]Переопределено из QWidget::hideEvent(). void QSizeGrip::mouseMoveEvent ( QMouseEvent * event ) [virtual protected]Переопределено из QWidget::mouseMoveEvent(). Resizes the top-level widget containing this widget. The mouse move event is passed in the event parameter. void QSizeGrip::mousePressEvent ( QMouseEvent * event ) [virtual protected]Переопределено из QWidget::mousePressEvent(). Receives the mouse press events for the widget, and primes the resize operation. The mouse press event is passed in the event parameter. void QSizeGrip::mouseReleaseEvent ( QMouseEvent * mouseEvent ) [virtual protected]Переопределено из QWidget::mouseReleaseEvent(). void QSizeGrip::moveEvent ( QMoveEvent * moveEvent ) [virtual protected]Reimplemented from QWidget::moveEvent(). void QSizeGrip::paintEvent ( QPaintEvent * event ) [virtual protected]Переопределено от QWidget::paintEvent(). Paints the resize grip. Resize grips are usually rendered as small diagonal textured lines in the lower-right corner. The paint event is passed in the event parameter. void QSizeGrip::setVisible ( bool visible ) [virtual]Переопределено из QWidget::setVisible(). void QSizeGrip::showEvent ( QShowEvent * showEvent ) [virtual protected]Переопределено от QWidget::showEvent(). QSize QSizeGrip::sizeHint () const [virtual]Переопределено от QWidget::sizeHint(). bool QSizeGrip::winEvent ( MSG * m, long * result ) [virtual protected]Reimplemented from QWidget::winEvent(). |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |