Allows mixing of Xt/Motif and Qt widgets. This class is part of the Qt Xt/Motif Extension. More...
#include <qxt.h>
Inherits QWidget.
Allows mixing of Xt/Motif and Qt widgets.
QXtWidget acts as a bridge between Xt and Qt. For utilizing old Xt widgets, it can be a QWidget based on a Xt widget class. For including Qt widgets in an existing Xt/Motif application, it can be a special Xt widget class that is a QWidget. See the constructors for the different behaviors.
Examples: mainlyQt/editor.cpp mainlyXt/editor.cpp mainlyMotif/editor.cpp
Constructs a QXtWidget of the given widget_class.
Use this constructor to utilize Xt or Motif widgets in a Qt application. The QXtWidget looks and behaves like the Xt class, but can be used like any QWidget.
The widget is unmanaged (in the Xt sense).
Constructs a QXtWidget of the special Xt widget class known as "QWidget" to the resource manager.
Use this constructor to utilize Qt widgets in an Xt/Motif application. The QXtWidget is a QWidget, so you can create subwidgets, layouts, etc. using Qt functionality.
Constructs a QXtWidget of the given widget_class.
Use this constructor to utilize Xt or Motif widgets in a Qt application. The QXtWidget looks and behaves like the Xt class, but can be used like any QWidget.
If the managed parameter is TRUE and parent in not NULL, XtManageChild it used to manage the child.
Destructs the QXtWidget.
[virtual protected]
Reimplemented to produce the Xt effect of losing focus when the mouse goes out of the widget. This may be changed.
Reimplemented from QWidget.
[virtual]
Reimplemented to pass the new geometry to Xt via XtSetValues().
Reimplemented from QWidget.
[virtual]
Reimplemented to pass the new geometry to Xt via XtSetValues().
Examples: mainlyQt/editor.cpp
Reimplemented from QWidget.
[protected]
Reimplemented to pass events to Xt.
Returns the Xt widget equivalent for the Qt widget.
Examples: mainlyXt/editor.cpp mainlyMotif/editor.cpp
Search the documentation, FAQ, qt-interest archive and more (uses
www.troll.no):
This file is part of the Qt toolkit, copyright © 1995-99 Troll Tech, all rights reserved.
Copyright © 1999 Troll Tech | Trademarks | Qt version 2.00
|