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

📄 qxtwidget.3qt

📁 Qt/Embedded是一个多平台的C++图形用户界面应用程序框架
💻 3QT
字号:
.TH QXtWidget 3qt "3 September 2000" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2000 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 [Qt Xt/Motif Extension].SH SYNOPSIS.br.PP\fC#include <qxt.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 "bool \fBx11Event\fR ( XEvent * ) ".br.in -1c.SH DESCRIPTIONThis class is defined in the \fBQt Xt/Motif Extension\fR, which can be found in the \fCqt/extensions\fR directory. It is not included in the main Qt API..PPAllows mixing of Xt/Motif and Qt widgets..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..PPExamples:.(lmainlyQt/editor.cpp mainlyXt/editor.cpp mainlyMotif/editor.cpp.)l.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..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.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 toplevel Xt widget is a shell. That 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.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::moveEvent ( QMoveEvent * ) \fC[virtual protected]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QWidget..SH "void QXtWidget::resizeEvent ( QResizeEvent * ) \fC[virtual protected]\fR"Reimplemented for internal reasons; the API is not affected..PPExamples:.(lmainlyQt/editor.cpp mainlyXt/editor.cpp.)l.PPReimplemented from QWidget..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[protected]\fR"Reimplemented to produce the Xt effect of getting focus when the mouse enters the widget. \fIThis may be changed.\fR.SH "Widget QXtWidget::xtWidget () const"Returns the Xt widget equivalent for the Qt widget..PPExamples:.(lmainlyXt/editor.cpp mainlyMotif/editor.cpp.)l.SH "SEE ALSO".BR http://doc.trolltech.com/qxtwidget.html.SH COPYRIGHTCopyright 1992-2000 Trolltech AS, http://www.trolltech.com/.  See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code.

⌨️ 快捷键说明

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