In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Introduction to QWS
QWS (QT Windows System) is a window system developed by QT, and its architecture is similar to that of X Windows. QWS Server is displayed on the physical device, QWS Client implements the interface, and the two communicate with each other through socket. In many embedded systems, QT programs are basically implemented in QWS, which ensures the portability of the program.
QWSServer server
The QT program does not strictly distinguish between the server program and the client program, and notifies the-platform parameter to determine whether the program is a client or a server program. For the QWSServer function, it is mainly used as a server program to manage multi-client mouse and keyboard events, as well as overlapping rendering management of different client windows.
The main process of server initialization:
Initialize the QWSServerSocket network. When there is a client connection, a corresponding QWSClient will be created to manage the sending and receiving of client program events.
Initializes the QWSDisplay management window display.
Initializes the QWSCursor management mouse and keyboard event, which consists of two main classes, QWSMouseHandler and QWSKeyboardHandler.
QWSDiplay
QWSDiplay mainly manages client-side and server-side network event and request management. Manage some column requests for window operations through QWSCommand, manage mouse and keyboard events through QWSEvent, and so on.
QWSClient client
QWSClient belongs to the proxy object of the client in the QWS system, and the server interacts with the client through QWSClient to complete the event request interaction.
QWSWindow
QWSWindow belongs to the concept of middle tier in QT. It is like a container in the platform window management system, managing the different operations of QWidget client windows, such as the position and size of windows, whether the windows are in focus state, the management of toplevel widget, the distribution of QT events, and the overlapping management between different windows.
6. Appendix
Figure 6.1 QWS client-server interaction diagram
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
Dependency org.springframework.boot spring-boot-starter-data-redis
© 2024 shulou.com SLNews company. All rights reserved.