QWSWindow(3qt)

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

πŸŽ€ QWSWindow πŸŽ€

okay bestie, welcome to QWSWindow(3qt) β€” yes that's the Qt 3 man pages, section 3qt, and yes we're gonna get through this together πŸ’–


✨ NAME ✨

QWSWindow β€” server-specific functionality in Qt/Embedded πŸ–₯οΈπŸ‘‘


🌸 SYNOPSIS 🌸

#include <qwindowsystem_qws.h>

🫢 Public Members 🫢

QWSWindow ( int i, QWSClient * client )
~QWSWindow ()
int winId () const
const QString & name () const
const QString & caption () const
QWSClient * client () const
QRegion requested () const
QRegion allocation () const
bool isVisible () const
bool isPartiallyObscured () const
bool isFullyObscured () const
void raise ()
void lower ()
void show ()
void hide ()
void setActiveWindow ()

πŸ’… DESCRIPTION πŸ’…

The QWSWindow class provides server-specific functionality in Qt/Embedded. that's the whole vibe, no cap.

so here's the tea: when you run a Qt/Embedded application, it's doing one of two things β€” either it's running as a server, or it's connecting to a server that already exists. and if it's the server? then the QWSServer class hands you some extra functionality on a little platter ✨

this class right here keeps track of all the info about each window and lets you actually do stuff to those windows.

you can grab the window's name(), caption() and winId(), plus the client() that owns the window. slay.

the region the window wants to draw on? that's requested(). the region the window is actually allowed to draw on? that's allocation(). not the same thing, bestie, don't get it twisted 🫠

and the visibility of the window can be figured out with isVisible(), isPartiallyObscured() and isFullyObscured(). wanna change the visibility? that's raise(), lower(), show(), hide() and setActiveWindow(). iconic behaviour honestly.

See also: Qt/Embedded.


πŸ‘‘ MEMBER FUNCTION DOCUMENTATION πŸ‘‘

🧚 QWSWindow::QWSWindow ( int i, QWSClient * client )

Constructs a brand new top-level window, associated with the client client and giving it the id i. it's giving newborn window energy 🌱

πŸ’œ QWSWindow::~QWSWindow ()

Destructor. rip little window, you did great 🫑

🌈 QRegion QWSWindow::allocation () const

Returns the region that the window is allowed to draw onto, including any window decorations but excluding regions covered by other windows.

See also: requested().

πŸ“ const QString & QWSWindow::caption () const

Returns the window's caption.

⭐ QWSClient * QWSWindow::client () const

Returns the QWSClient that owns this window. it's theirs, respectfully.

πŸ¦‹ void QWSWindow::hide ()

Hides the window. poof, gone, nobody saw anything πŸ™ˆ

πŸ’€ bool QWSWindow::isFullyObscured () const

Returns TRUE if the window is completely obscured by another window or by the bounds of the screen; otherwise returns FALSE. fully covered, fully ignored, fully not the main character rn 😭

🌸 bool QWSWindow::isPartiallyObscured () const

Returns TRUE if the window is partially obscured by another window or by the bounds of the screen; otherwise returns FALSE. half in, half out, lowkey struggling.

✨ bool QWSWindow::isVisible () const

Returns TRUE if the window is visible; otherwise returns FALSE.

πŸŽ€ void QWSWindow::lower ()

Lowers the window below other windows. going down, bestie πŸ“‰

🫢 const QString & QWSWindow::name () const

Returns the window's name.

πŸ”₯ void QWSWindow::raise ()

Raises the window above all other windows β€” except "Stay on top" windows. those ones stay on top, periodt. no negotiating with them πŸ’…

πŸ’– QRegion QWSWindow::requested () const

Returns the region that the window has requested to draw onto, including any window decorations. manifesting it doesn't mean you get it tho.

See also: allocation().

πŸ‘‘ void QWSWindow::setActiveWindow ()

Make this the active window (i.e. sets the keyboard focus to this window). main character moment, keyboard edition ⌨️✨

🧚 void QWSWindow::show ()

Shows the window. hi bestie, you're back 🌈

πŸ’« int QWSWindow::winId () const

Returns the window's Id.


πŸ”— SEE ALSO πŸ”—


Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. πŸ“œ


πŸ–ŠοΈ AUTHOR πŸ–ŠοΈ

Generated automatically from the source code. no human wrote this, it just appeared πŸͺ„


πŸ› 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. 🫢 (fr fr, good bug reports are a love language)

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. ⚠️ yeah, this is the unofficial route, we're all just vibing here.

If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qwswindow.3qt) and the Qt version (3.3.8). include the receipts bestie, always include the receipts 🧾


ok that's the whole page, you ate that πŸ’… go forth and manage your windows.

β€” mwah, written by Trolltech AS, dated 2 February 2007, and forever known as QWSWindow(3qt) πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from