⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qxtwidget.3qt

📁 Linux下的基于X11的图形开发环境。
💻 3QT
字号:
'\" t.TH QXtWidget 3qt "9 December 2002" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2001 Trolltech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQXtWidget \- Allows mixing of Xt/Motif and Qt widgets.SH SYNOPSISThis class is part of the \fBQt Motif Extension\fR..PP\fC#include <qxtwidget.h>\fR.PPInherits QWidget..PP.SS "Public Members".in +1c.ti -1c.BI "\fBQXtWidget\fR ( const char * name, Widget parent, bool managed = FALSE )".br.ti -1c.BI "\fBQXtWidget\fR ( const char * name, WidgetClass widget_class, QWidget * parent = 0, ArgList args = 0, Cardinal num_args = 0, bool managed = FALSE )".br.ti -1c.BI "\fB~QXtWidget\fR ()".br.ti -1c.BI "Widget \fBxtWidget\fR () const".br.ti -1c.BI "bool \fBisActiveWindow\fR () const".br.ti -1c.BI "virtual void \fBsetActiveWindow\fR ()".br.in -1c.SS "Protected Members".in +1c.ti -1c.BI "virtual bool \fBx11Event\fR ( XEvent * e )".br.in -1c.SH DESCRIPTIONThis class is defined in the \fBQt Motif Extension\fR, which can be found in the \fCqt/extensions\fR directory. It is not included in the main Qt API..PPThe QXtWidget class allows mixing of Xt/Motif and Qt widgets..PPNOTE: This widget comes from the previous Xt/Motif extension. This class is unsupported and has many known problems. It is provided only for projects moving to the new Motif extension. Do not use it new code..PPQXtWidget 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..SH MEMBER FUNCTION DOCUMENTATION.SH "QXtWidget::QXtWidget ( const char * name, Widget parent, bool managed = FALSE )"Constructs a QXtWidget of the special Xt widget class known as" QWidget" to the resource manager..PPUse 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..PPThe \fIname\fR is the object name passed to the QWidget constructor. The widget's parent is \fIparent\fR..PPIf the \fImanaged\fR parameter is TRUE and \fIparent\fR in not null, XtManageChild it used to manage the child..SH "QXtWidget::QXtWidget ( const char * name, WidgetClass widget_class, QWidget * parent = 0, ArgList args = 0, Cardinal num_args = 0, bool managed = FALSE )"Constructs a QXtWidget of the given \fIwidget_class\fR called \fIname\fR..PPUse 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..PPNote that Xt requires that the most top level Xt widget is a shell. This means, if \fIparent\fR is a QXtWidget, the \fIwidget_class\fR can be of any kind. If there isn't a parent or the parent is just a normal QWidget, \fIwidget_class\fR should be something like \fCtopLevelShellWidgetClass\fR..PPThe arguments, \fIargs\fR, \fInum_args\fR are passed on to XtCreateWidget..PPIf the \fImanaged\fR parameter is TRUE and \fIparent\fR in not null, XtManageChild it used to manage the child..SH "QXtWidget::~QXtWidget ()"Destructs the QXtWidget..SH "bool QXtWidget::isActiveWindow () const"Different from QWidget::isActiveWindow().SH "void QXtWidget::setActiveWindow ()\fC [virtual]\fR"Implement a degree of focus handling for Xt widgets..PPReimplemented from QWidget..SH "bool QXtWidget::x11Event ( XEvent * e )\fC [virtual protected]\fR"Reimplemented to produce the Xt effect of getting focus when the mouse enters the widget. The event is passed in \fIe\fR..PP\fBThis function is under development and is subject to change.\fR.PPReimplemented from QWidget..SH "Widget QXtWidget::xtWidget () const"Returns the Xt widget equivalent for the Qt widget..SH "SEE ALSO".BR http://doc.trolltech.com/qxtwidget.html.BR http://www.trolltech.com/faq/tech.html.SH COPYRIGHTCopyright 1992-2001 Trolltech AS, http://www.trolltech.com.  See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code..SH BUGSIf you find a bug in Qt, please report it as described in.BR http://doc.trolltech.com/bughowto.html .Good bug reports help us to help you. Thank you..PThe definitive Qt documentation is provided in HTML format; it islocated at $QTDIR/doc/html and can be read using Qt Assistant or witha web browser. This man page is provided as a convenience for thoseusers who prefer man pages, although this format is not officiallysupported by Trolltech. .PIf you find errors in this manual page, please report them to.BR qt-bugs@trolltech.com .Please include the name of the manual page (qxtwidget.3qt) and the Qtversion (3.1.1).

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -