![]() |
| ||
Classes - Annotated - Tree - Functions - Home - Structure |
The QXtWidget class allows mixing of Xt/Motif and Qt widgets.
This class is part of the Qt Xt/Motif Extension. More...
#include <qxt.h>
Inherits QWidget.
This class is defined in the Qt Xt/Motif Extension, which can be found in the qt/extensions directory. It is not included in the main Qt API.
The QXtWidget class 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.
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.
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.
Note that Xt requires that the most top level Xt widget is a shell. That means, if parent is a QXtWidget, the widget_class can be of any kind. If there isn't a parent or the parent is just a normal QWidget, widget_class should be something like topLevelShellWidgetClass.
If the managed parameter is TRUE and parent in not NULL, XtManageChild it used to manage the child.
Reimplemented from QWidget.
Examples: mainlyMotif/editor.cpp and mainlyXt/editor.cpp.
Search the documentation, FAQ, qt-interest archive and more (uses
www.trolltech.com):
This file is part of the Qt toolkit, copyright © 1995-2001 Trolltech, all rights reserved.
Copyright © 2001 Trolltech | Trademarks | Qt version 3.0.0-beta1-beta1
|