QSizeGrip(3qt)
β¨ NAME β¨
okay bestie, we're doing QSizeGrip today β from the 3qt manual, no less π
β and it is literally a corner-grip for resizing a top-level window. that's the whole gig. that's the vibe. π¦
π SYNOPSIS π
#include <qsizegrip.h>
Inherits QWidget. yes she's a widget, she's a whole queen in the widget tree π
π Public Members
QSizeGrip ( QWidget * parent, const char * name = 0 )
~QSizeGrip ()
virtual QSize sizeHint () const
π©· Protected Members
virtual void paintEvent ( QPaintEvent * e )
virtual void mousePressEvent ( QMouseEvent * e )
virtual void mouseMoveEvent ( QMouseEvent * e )
πΈ DESCRIPTION πΈ
The QSizeGrip class provides a corner-grip for resizing a top-level window. that's it. that's the job. she grabs corners, she resizes windows, she doesn't text back π
This widget works like the standard Windows resize handle. ngl, in the X11 version this resize handle generally works differently from the one provided by the system; the devs hope to reduce this difference in the future. so like... she's a little different on X11, and we're all being patient with her π«Ά
Put this widget anywhere in a widget tree and the user can use it to resize the top-level window. anywhere, bestie, she's flexible like that. Generally, this should be in the lower right-hand corner. and lowkey? 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. the status bar already ate that. no need to double up, that's not the move π
[Image Omitted]
[Image Omitted]
See also QStatusBar, Widget Appearance and Style, Main Window and Related Classes, and Basic Widgets. go read those too, they're giving main character energy fr fr β¨
π MEMBER FUNCTION DOCUMENTATION π
π QSizeGrip::QSizeGrip ( QWidget * parent, const char * name = 0 )
Constructs a resize corner called name, as a child widget of parent. cute little origin story for your new grip π
π¦ QSizeGrip::~QSizeGrip ()
Destroys the size grip. rip to a real one ππ
π
void QSizeGrip::mouseMoveEvent ( QMouseEvent * e ) [virtual protected]
Resizes the top-level widget containing this widget. the event is in e. yes, this is the part where the actual resizing happens, she's working fr fr π₯
Reimplemented from QWidget.
β void QSizeGrip::mousePressEvent ( QMouseEvent * e ) [virtual protected]
Primes the resize operation. the event is in e. she's getting ready, she's stretching, she's hydrating π§
Reimplemented from QWidget.
π void QSizeGrip::paintEvent ( QPaintEvent * e ) [virtual protected]
Paints the resize grip. resize grips are usually rendered as small diagonal textured lines in the lower-right corner. iconic aesthetic honestly. the event is in e β¨
Reimplemented from QWidget.
π§ QSize QSizeGrip::sizeHint () const [virtual]
Returns the size grip's size hint; this is a small size. she's petite. she's compact. she's the moment πΈ
Reimplemented from QWidget.
π₯ 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 bestie, it's giving legally binding π«Ά
π AUTHOR π
Generated automatically from the source code. so like, no human wrote this, the machine did it herself. we stan an automated queen π
π 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. genuinely, thank you, bug reports are the love language of open source ππ
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... this is the fan-made version of the real thing, iykyk π
If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qsizegrip.3qt) and the Qt version (3.3.8). details matter, bestie, always include the details β¨
okay that's the whole page, mwah π this was Trolltech AS, dated 2 February 2007, and you've been reading QSizeGrip(3qt) β go resize something responsibly, ily, bye πππ¦
π¦ 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