📄 qresizeevent.3qt
字号:
.TH QResizeEvent 3qt "10 November 2000" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2000 Trolltech AS. All rights reserved. See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQResizeEvent \- Event parameters for resize events.SH SYNOPSIS.br.PP\fC#include <qevent.h>\fR.PPInherits QEvent..PP.SS "Public Members".in +1c.ti -1c.BI "\fBQResizeEvent\fR ( const QSize & " "size" ", const QSize & oldSize ) ".br.ti -1c.BI "const QSize& \fBsize\fR () const".br.ti -1c.BI "const QSize& \fBoldSize\fR () const".br.in -1c.SH DESCRIPTIONThe QResizeEvent class contains event parameters for resize events..PPResize events are sent to widgets that have been resized..PPThe event handler QWidget::resizeEvent() receives resize events..PPSee also QWidget::resize() and QWidget::setGeometry()..PPExamples:.(lmainlyQt/editor.cpp xform/xform.cpp mainlyXt/editor.cpp drawdemo/drawdemo.cpp menu/menu.cpp qmag/qmag.cpp mainlyMotif/editor.cpp.)l.SH MEMBER FUNCTION DOCUMENTATION.SH "QResizeEvent::QResizeEvent ( const QSize & size, const QSize & oldSize )"Constructs a resize event with the new and old widget sizes..SH "const QSize & QResizeEvent::oldSize () const"Returns the old size of the widget..SH "const QSize & QResizeEvent::size () const"Returns the new size of the widget, which is the same asQWidget::size()..SH "SEE ALSO".BR http://doc.trolltech.com/qresizeevent.html.SH COPYRIGHTCopyright 1992-2000 Trolltech AS, http://www.trolltech.com/. See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -