Method of controlling ubuntu backlight brightness using Qt

development environment Operating system: ubuntu20 four point three Hardware: Intel J1900 integrated industrial control screen Development environment: QT6 twenty-two preface In embedded program development, code is needed to complete the brightness control of the display screen. For example, when the user does not operate for a peri ...

Posted by trev on Wed, 12 Jan 2022 20:23:15 +0100

Software system of takeout platform based on C/S architecture implemented by Qt framework

Takeout platform based on C/S architecture introduction This time, a takeout platform software with C/S architecture is implemented under the Qt framework. The client uses Qt::Widgets and Qt::Network modules, and the server uses Qt::Sql and Qt::Network modules. The application scenario of the system is: one server instance serves multiple cli ...

Posted by xploita on Tue, 11 Jan 2022 14:57:13 +0100

QT software development: qpprocess starts the process, completes the interaction and obtains the output

1, Qpprocess introduction The qpprocess class is used to start external programs and communicate with them. Qpprocess allows processes to be treated as I/O devices. Processes can be written and read in the same way as accessing a network connection using qtcsocket. You can then write the standard input of the process by calling write() and re ...

Posted by Fed51 on Mon, 10 Jan 2022 23:50:41 +0100

Chapter V Application main window - Qt

1, Main window frame 1. Menu bar and toolbar (1) Menu bar ① Qt provides menu related class components ② QMenuBar class, QMenu class and QAction class ● QMenuBar: the QMenuBar class provides a horizontal menu bar on which different QMenu and qactions can be added. A main window can have only one menu bar. ● QMenu: menus in the menu bar (su ...

Posted by sapna on Thu, 06 Jan 2022 15:54:21 +0100

Day26Qt implements QTcpServer-2022-01-06

Qt Network (I) tcp server Introduction TCP TCP protocol, transmission control protocol, is an underlying network protocol for data transmission. Many Internet protocols, including FTP and HTTP, are based on TCP protocol. TCP is a reliable transmission protocol for data flow and connection. QTcpSocket class provides an interface for TCP, which ...

Posted by hejgelato on Thu, 06 Jan 2022 13:50:10 +0100

In depth application of event processing in PyQt5 advanced programming practice

In depth application of event handling Re implement event() Using event filters Global event filter Keep the window responsive when processing time-consuming tasks stay Event handling of quick grasp PyQt5 In this chapter, the author introduces some common event functions and demonstrates them through cases. However, it has not really r ...

Posted by chrisdarby on Wed, 05 Jan 2022 20:03:15 +0100

Write a network disk yourself?

Author: osmanthus New Year cake, no reprint without permission! Continuous updating preface The project is written in C and C + +. It involves many knowledge points and has not been written yet. It is a good project to expand our horizons! In the future, relevant teaching videos will be placed at the end of the article. Please pay att ...

Posted by kellog on Tue, 04 Jan 2022 08:00:04 +0100

QT custom control plug-in learning notes

This paper mainly expounds the creation and calling methods and precautions of custom control plug-in. catalogue 1, Create a custom control plug-in 1. Qt Designer special interface 2. Custom control class interface of plug-in 2, Calling a custom control plug-in 1. Dynamic call plug-in 2. Static call plug-in 3, Conclusion 1, Create a c ...

Posted by carlg on Mon, 03 Jan 2022 02:21:29 +0100

Two uses of QThread

1, Multithreading purpose The QThread class provides a platform independent method for managing threads. The main purpose of establishing threads in Qt is to use threads to deal with time-consuming background operations, such as massive operations, copying large files, network transmission, etc. 2, Qt multithreading usage When using Qt frame ...

Posted by podarum on Sun, 02 Jan 2022 20:28:36 +0100

Qt serial port sending and receiving data

After several days of study, I finally wrote a host computer for serial communication. Let's start with the use of serial port class. First, QT5 comes with the QSerialPort class. When using QT5, you need to add a line in the pro file: QT += serialport Then you can directly reference the header file. #include <QtSerialPort/QSerialPor ...

Posted by TitanKing on Thu, 30 Dec 2021 19:39:06 +0100