QMotifWidget(3qt)
π QMotifWidget(3qt) π
okay bestie, welcome to the QMotifWidget(3qt) manual page β yes, that's the manual name, it's giving very 3qt of it, we love that for us. let's get into it π¦
β¨ NAME β¨
QMotifWidget β the QWidget API for Xt/Motif widgets. that's the whole vibe. one class, bridging two worlds, main character energy fr fr π
β¨ SYNOPSIS β¨
bestie this class is part of the Qt Motif Extension, okay? not the regular stuff. say it with me:
#include <qmotifwidget.h>
Inherits QWidget. yes she's a QWidget girlie through and through π
πΈ Public Members
QMotifWidget ( QWidget * parent, WidgetClass widgetclass, ArgList args =
NULL, Cardinal argcount = 0, const char * name = 0, WFlags flags = 0 )
virtual ~QMotifWidget ()
Widget motifWidget () const
πΈ Protected Members
virtual bool x11Event ( XEvent * event )
β¨ DESCRIPTION β¨
okay so. this class lives in the Qt Motif Extension, which you'll find chilling in the qt/extensions directory. it is not included in the main Qt API. she's niche, she's exclusive, she's lowkey underground iykyk π
The QMotifWidget class provides the QWidget API for Xt/Motif widgets. that's literally her whole job and she ate π
QMotifWidget exists so you can have a QWidget that acts as a parent for any Xt/Motif widget. and because a QMotifWidget is a proper QWidget, you can use it as a top-level widget (like, 0 parent) or as a child of any other QWidget. iconic, flexible, we stan π
Note: since QMotifWidget acts as a parent for Xt/Motif widgets, you should not create QWidgets with a QMotifWidget parent. don't do it bestie. that's not the move π«
An Xt/Motif widget with a top-level QMotifWidget parent can start using the standard Qt dialogs and custom QDialogs while keeping the main Xt/Motif interface of the application. and using a QMotifWidget as the parent for the various QDialogs makes sure that modality and stacking work properly across the entire application. slay β¨
Applications moving to Qt may have custom Xt/Motif widgets that'll take time to rewrite with Qt. such applications can use these custom widgets as QMotifWidget with QWidget parents β which lets the application's interface be replaced gradually. slow and steady, no pressure, we love a transition arc π¦
Warning: QMotifWidget uses the X11 window ID of the Motif widget directly, instead of creating its own. because of this,QWidget::reparent()will not work. and yes, that includesQWidget::showFullScreen()andQWidget::showNormal(), which useQWidget::reparent(). so like... those are off the table. periodt π
β¨ MEMBER FUNCTION DOCUMENTATION β¨
πΈ QMotifWidget::QMotifWidget ( QWidget * parent, WidgetClass widgetclass, ArgList args = NULL, Cardinal argcount = 0, const char * name = 0, WFlags flags = 0 )
Creates a QMotifWidget of the given widgetclass as a child of parent, with the name name and widget flags flags. cute, simple, done π
The args and argcount arguments are passed on to XtCreateWidget.
The motifWidget() function returns the resulting Xt/Motif widget. and that widget can be used as a parent for any other Xt/Motif widget. she's a mother to them all π
If parent is a QMotifWidget, the Xt/Motif widget is created as a child of the parent's motifWidget(). If \ parent is 0 or a normal QWidget, the Xt/Motif widget is created as a child of a special TopLevelShell widget. Xt/Motif widgets can use this special TopLevelShell parent as the parent for existing Xt/Motif dialogs or QMotifDialogs. very demure, very mindful β¨
πΈ QMotifWidget::~QMotifWidget () [virtual]
Destroys the QMotifWidget. the special TopLevelShell is also destroyed, if it was created during construction. rip to the shell but we move on ποΈ
πΈ Widget QMotifWidget::motifWidget () const
Returns the embedded Xt/Motif widget. If a Shell widget was created by the constructor, you can access it with XtParent(). she's right there bestie, go get her π«Ά
β¨ 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. legal stuff, but make it cute π
β¨ AUTHOR β¨
Generated automatically from the source code. no human author, just vibes and a script π§
β¨ 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!! π seriously, they're appreciated fr fr
The definitive Qt documentation is provided in HTML format; it's 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. we know, we know π
If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qmotifwidget.3qt) and the Qt version (3.3.8). give them the receipts bestie π
and that's the whole page!! brought to you by Trolltech AS, dated 2 February 2007, Qt version 3.3.8 β vintage but still slaying π β¨ bye bestie, go build something iconic ππ
π¦ 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