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

📄 qwsserver.3qt

📁 Linux 下的图形编程环境。
💻 3QT
字号:
'\" t.TH QWSServer 3qt "5 March 2001" "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 NAMEQWSServer \- Server-specific functionality in Qt/Embedded.br.PP\fC#include <qwindowsystem_qws.h>\fR.PP.SS "Public Members".in +1c.ti -1c.BI "\fBQWSServer\fR ( int " "flags" " = 0, QObject * " "parent" "=0, const char * " "name" "=0 ) ".br.ti -1c.BI "\fB~QWSServer\fR () ".br.ti -1c.BI "void \fBnewConnection\fR ( int socket ) ".br.ti -1c.BI "enum \fBServerFlags\fR { DisableKeyboard = 0x01, DisableMouse = 0x02 }".br.ti -1c.BI "enum \fBGUIMode\fR { NoGui = FALSE, NormalGUI = TRUE, Server }".br.ti -1c.BI "class KeyboardFilter { public: virtual bool \fBfilter\fR ( int " "unicode" ", int " "keycode" ", int " "modifiers" ", bool " "isPress" ", bool autoRepeat ) ".br.ti -1c.BI "void \fBsendPropertyNotifyEvent\fR ( int " "property" ", int state ) ".br.ti -1c.BI "QWSPropertyManager* \fBmanager\fR () ".br.ti -1c.BI "QWSWindow* \fBwindowAt\fR ( const QPoint & pos ) ".br.ti -1c.BI "QList<QWSWindow> \fBclientWindows\fR () ".br.ti -1c.BI "void \fBopenMouse\fR () ".br.ti -1c.BI "void \fBcloseMouse\fR () ".br.ti -1c.BI "void \fBopenKeyboard\fR () ".br.ti -1c.BI "void \fBcloseKeyboard\fR () ".br.ti -1c.BI "void \fBrefresh\fR () ".br.ti -1c.BI "void \fBenablePainting\fR ( bool ) ".br.in -1c.SS "Static Public Members".in +1c.ti -1c.BI "void \fBsendKeyEvent\fR ( int " "unicode" ", int " "keycode" ", int " "modifiers" ", bool " "isPress" ", bool autoRepeat ) ".br.ti -1c.BI "void \fBprocessKeyEvent\fR ( int " "unicode" ", int " "keycode" ", int " "modifiers" ", bool " "isPress" ", bool autoRepeat ) ".br.ti -1c.BI "typedef const KeyMap* \fBkeyMap\fR () ".br.ti -1c.BI "void \fBsetKeyboardFilter\fR ( KeyboardFilter * f ) ".br.ti -1c.BI "void \fBsetDefaultMouse\fR ( const char * ) ".br.ti -1c.BI "void \fBsetDefaultKeyboard\fR ( const char * ) ".br.ti -1c.BI "void \fBsetMaxWindowRect\fR ( const QRect & ) ".br.ti -1c.BI "void \fBsendMaxWindowRectEvents\fR () ".br.ti -1c.BI "void \fBsendMouseEvent\fR ( const QPoint & " "pos" ", int state ) ".br.ti -1c.BI "void \fBsetDesktopBackground\fR ( const QImage & img ) ".br.ti -1c.BI "void \fBsetDesktopBackground\fR ( const QColor & ) ".br.ti -1c.BI "QWSMouseHandler* \fBmouseHandler\fR () ".br.ti -1c.BI "void \fBsetMouseHandler\fR ( QWSMouseHandler * ) ".br.ti -1c.BI "QWSKeyboardHandler* \fBkeyboardHandler\fR () ".br.ti -1c.BI "void \fBsetKeyboardHandler\fR ( QWSKeyboardHandler * kh ) ".br.ti -1c.BI "QList<QWSInternalWindowInfo>* \fBwindowList\fR () ".br.ti -1c.BI "void \fBsendQCopEvent\fR ( QWSClient * " "c" ", const QCString & " "ch" ", const QCString & " "msg" ", const QByteArray & " "data" ", bool " "response" " = FALSE ) ".br.ti -1c.BI "void \fBprocessEventQueue\fR () ".br.ti -1c.BI "void \fBsetScreenSaverInterval\fR ( int ) ".br.ti -1c.BI "bool \fBscreenSaverActive\fR () ".br.ti -1c.BI "void \fBscreenSaverActivate\fR ( bool ) ".br.ti -1c.BI "void \fBmove_region\fR ( const QWSRegionMoveCommand * ) ".br.ti -1c.BI "void \fBset_altitude\fR ( const QWSChangeAltitudeCommand * ) ".br.ti -1c.BI "void \fBrequest_region\fR ( int, QRegion ) ".br.ti -1c.BI "void \fBstartup\fR ( int flags ) ".br.ti -1c.BI "void \fBclosedown\fR () ".br.ti -1c.BI "void \fBemergency_cleanup\fR () ".br.in -1c.SH DESCRIPTIONServer-specific functionality in Qt/Embedded.PPWhen you run a Qt/Embedded application, it either runs as a server or connects to an existing server. If it runs as a server, some additional operations are provided via static functions in the QWSServer class..SH MEMBER FUNCTION DOCUMENTATION.SH "void QWSServer::closedown () \fC[static]\fR"Close down the server..SH "QWSKeyboardHandler* QWSServer::keyboardHandler () \fC[static]\fR"Returns the primary keyboard handler..SH "QWSMouseHandler * QWSServer::mouseHandler () \fC[static]\fR"Returns the primary mouse handler..SH "void QWSServer::sendKeyEvent ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat ) \fC[static]\fR"Send a key event. You can use this to send key events generated by" virtual keyboards"..SH "void QWSServer::setDefaultKeyboard ( const char * k ) \fC[static]\fR"Set the keyboard driver to use if $QWS_KEYBOARD is not defined. The default is platform-dependant..SH "void QWSServer::setDefaultMouse ( const char * m ) \fC[static]\fR"Set the mouse driver to use if $QWS_MOUSE_PROTO is not defined. The default is platform-dependant..SH "void QWSServer::setDesktopBackground ( const QColor & c ) \fC[static]\fR"Sets the color to use as the background in the absence of obscuring windows..SH "void QWSServer::setDesktopBackground ( const QImage & img ) \fC[static]\fR"Sets the image to use as the background in the absence of obscuring windows..SH "void QWSServer::setKeyboardFilter ( KeyboardFilter * f ) \fC[static]\fR"Sets a filter to be invoked for all key events from physical keyboard drivers (events sent via processKeyEvent()). The filter is not invoked for keys generated by virtual keyboard drivers (events send cia sendKeyEvent())..SH "void QWSServer::setKeyboardHandler ( QWSKeyboardHandler * kh ) \fC[static]\fR"Sets the primary keyboard handler to \fIkh.\fR.SH "void QWSServer::setMaxWindowRect ( const QRect & r ) \fC[static]\fR"Sets the area of the screen which Qt/Embedded application will consider to be the maximum area to use for windows..PPSee also QWidget::showMaximized()..SH "void QWSServer::setScreenSaverInterval ( int ms ) \fC[static]\fR"Sets the timeout for the screensaver to \fIms\fR milliseconds. A setting of zero turns of the screensaver..SH "void QWSServer::startup ( int flags ) \fC[static]\fR"Start the server..SH "SEE ALSO".BR http://doc.trolltech.com/qwsserver.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 make our job much simpler. Thank you..PIn case of content or formattting problems with this manual page, pleasereport them to.BR qt-bugs@trolltech.com .Please include the name of the manual page (qwsserver.3qt) and the Qtversion (2.3.0).

⌨️ 快捷键说明

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