QResizeEvent(3qt)

πŸ“¦ version 3.3.8b, in fedora 43, fedora 44

πŸ’– 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 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 is 3.3.8 and that page name is qresizeevent.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