C language improvement
Structure array sorting
On the basis of the previous program, add the age variable to the structure, and then sort it according to the age of (Teacher) Define structure:
typedef struct Teacher
{
int age;
char **stu; //Two dimensional memory
}Teacher;
First assign a value to age, and then compare the size of age. Notice how it's exchan ...
Added by RedRasper on Thu, 03 Mar 2022 15:10:56 +0200
Correct usage of qpprocess
In the programming process, it is often used to call other programs in the program. This calls for process calls. In QT, the process calls of QProcess are used. It has the characteristics of QT itself, which is very convenient to use, and is different from the interface of C++ itself. Its flow characteristics are as follows:Feature 1: waitForSt ...
Added by hightechredneck on Wed, 02 Mar 2022 12:48:40 +0200
PyQt5 self study notes sorting Ch2
signal and slot
Signal and slot are the core mechanism of PyQt.
A signal is a message emitted by an object or control
Slot refers to the code that intercepts these transmitted signals. Slot is essentially a function or method
Take [button click event] as an example. When a button is clicked, the button will send click messages to the outsid ...
Added by sp0rk on Fri, 25 Feb 2022 03:04:39 +0200
Qt prepares the current month plan of 24 module 2 of visual large screen electronic Kanban system
1, Foreword
Continue the design idea of layered modularization. The plan module of the current month mainly includes five sub modules: mold achievement rate, part achievement rate, part number and daily process achievement number. The mold achievement rate is displayed by the ring chart of user-defined controls, such as how much is achieved ac ...
Added by ElkySS on Fri, 25 Feb 2022 02:41:44 +0200
Qt + OpenGL to realize 3D display of manipulator
catalogue
Realize function
Realization effect
Introduction to STL
General idea
How to make the model move?
Class diagram design
Core code
reference material
Realize function
1. Adjust the posture of the manipulator through the joint angle (joint motion)
2. Teaching point
3. Coordinate system display
4. Support 3d display of man ...
Added by Tilemachos on Sun, 20 Feb 2022 15:08:12 +0200
Simple understanding of mvc design pattern
introduction
MVC design pattern is to separate the data model from the view, establish the relationship between the data model and the view through the controller, and automatically update the view when the data model changes. Among them, M-data model, V-view and C-controller. The following is a simple use of MVC design pattern.
Examples
The ...
Added by chetanrakesh on Wed, 16 Feb 2022 05:37:39 +0200
7 - visual control base class QWidget
7 - QWidget
QWidget VS QObject
QObject is not a visual control, but the base class of all QT objects.
Qwidget is the base class of all visual controls.
(1) Description
The base class of all visual controls (only common to all visual controls, such as a square, resizable, moving position, etc.); Is the simplest blank control; Control is ...
Added by Swerve1000 on Tue, 15 Feb 2022 05:31:36 +0200
linux desktop applet development diary 2 (pyqt5+yolov5)
linux desktop applet development diary 2
Use Pyqt5 to make an interface and connect the camera
preface
After the last time, we installed the environment, then we will start our UI, and it is expected to complete the content of connecting the camera
Project requirements - what you think
It is mainly developed in python languageAble to displ ...
Added by Calcartman on Sun, 13 Feb 2022 10:31:25 +0200
Qt android development environment construction
I recommend a free open course of zero sound college. Personally, I think the teacher speaks well. I share it with you:
Linux, Nginx, ZeroMQ, MySQL, Redis, fastdfs, MongoDB, ZK, streaming media, CDN, P2P, K8S, Docker, TCP/IP, collaboration, DPDK and other technical contents, learn immediately
Recently, I'm working on Qt Android related ...
Added by fat creative on Sat, 12 Feb 2022 18:49:59 +0200
Qt event cycle process analysis
Qt event cycle process analysis
This article will explain the following questions:
Why does Qt application start with QCoreApplication app(argc, argv) and return app in main() function Exec() end?Why does while(true) cause the CPU to be fully loaded when both are loops? The event loop of Qt will not.Why can blocking program execution through ...
Added by hairytea on Thu, 10 Feb 2022 16:00:49 +0200