QResizeEvent(3qt)
π QResizeEvent β the qresizeevent.3qt manual, but make it make sense π
okay bestie, pull up a chair, we're reading the Qt 3 man page for QResizeEvent together and honestly? it's short, it's sweet, it's giving "tiny class, huge main character energy". β¨
πΈ NAME πΈ
QResizeEvent β literally just "Event parameters for resize events". that's the whole name section. she said what she said. π
π SYNOPSIS π
#include <qevent.h>
Inherits QEvent. so she's got the whole event bloodline behind her, iconic lineage, no cap. π
β¨ Public Members β¨
QResizeEvent ( const QSize & size, const QSize & oldSize )
const QSize & size () const
const QSize & oldSize () const
three things. that's it. that's the entire public API and honestly? obsessed with the restraint. π«Ά
π¦ DESCRIPTION π¦
The QResizeEvent class contains event parameters for resize events. that's the job. that's the whole job. π
Resize events are sent to widgets that have been resized. so like, widget got bigger, widget got smaller, widget got resized β the event shows up to tell it so.
The event handler QWidget::resizeEvent() receives resize events. she's the one at the door catching them. πͺβ¨
See also QWidget::size, QWidget::geometry, and Event Classes. go read those too, they're in the same friend group. π§
π MEMBER FUNCTION DOCUMENTATION π
QResizeEvent::QResizeEvent ( const QSize & size, const QSize & oldSize )
Constructs a resize event with the new and old widget sizes, size and oldSize respectively. so you hand it the glow-up and the before pic. πΈ before: oldSize. after: size. periodt.
const QSize & QResizeEvent::oldSize () const
Returns the old size of the widget. the throwback. the archival footage. the "we don't talk about her" era. π°οΈ
const QSize & QResizeEvent::size () const
Returns the new size of the widget, which is the same as QWidget::size(). same value, two doors into the same room, lowkey convenient. π
Examples:
okay so the page literally just says "Examples:" and then nothing follows it. i'm not hiding anything from you bestie, that's genuinely all there is. the examples section is a vibe, not a list. π
π SEE ALSO π
π COPYRIGHT π
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. read the license file, bestie, she's right there in the distribution and she's load-bearing. π
βοΈ AUTHOR βοΈ
Generated automatically from the source code. not a human, not a vibe, just a script doing its little task. and yet we love her. π
π BUGS π
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. (they really do mean the thank you, they're being so nice about it, we love a supportive dev community π«Ά)
The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. so like β read the HTML if you want the real real, this one's a lil treat for the man-page girlies. π
If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qresizeevent.3qt) and the Qt version (3.3.8). do not forget those two things or they will simply not know which page you're talking about, fr fr. π
β οΈ lowkey important: that version number is3.3.8and that page name isqresizeevent.3qt. copy them, paste them, don't freestyle them. π
and that's the whole page, bestie!! this one came to you from Trolltech AS, dated 2 February 2007, and it's the QResizeEvent(3qt) manual through and through. go resize something, you're doing amazing. πβ¨π¦ππΈπ
π₯ππβππ§π
π¦ where this page comes from
- fedora 43: qt3-devel-docs 3.3.8b-102.fc43 Β· QPL-1.0 OR GPL-2.0-only OR GPL-3.0-only
- fedora 44: qt3-devel-docs 3.3.8b-103.fc44 Β· QPL-1.0 OR GPL-2.0-only OR GPL-3.0-only
- Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms