Initial use of QSerialPort, a QT5 serial port class

I mainly use the serial port class here. The function is to open the serial port read and write, click the Send Data button to send the data of the sending area to the buffer, and then display it in the receiving area. The interface is as follows: (Source code can be in Here Download)                                                         ...

Posted by msgcrap on Fri, 03 Jul 2020 16:57:37 +0200

Qt Open Source Works 33-Picture Switch Control

1. Preface Since the smartphone era, a wide variety of APP s have flourished. Apps on mobile phones have many popular elements. Switch buttons are very liked by individuals. Mobile phones QQ, 360 Guards, Jinshan Toxinba, etc. have many switch controls for some operations. On WINFORM projects, if Check ...

Posted by ayzee01 on Mon, 15 Jun 2020 03:29:21 +0200

GStreamer official introductory course 5: integrating GStreamer with your graphical interface

This tutorial demonstrates how to integrate GStreamer into a graphical user interface (GUI) toolkit like GTK +. Basically, GStreamer is responsible for media playback, while the GUI toolkit handles user interaction. The most interesting part is that the two libraries must interact: instruct GStreamer to ...

Posted by kishore_marti on Fri, 12 Jun 2020 10:19:34 +0200

[interesting case] make a screen recording tool with Python

1, Write in front As a test, sometimes it is often necessary to record their own operation on the screen, so as to facilitate the follow-up development and positioning of students. In the past, screen to GIF was used to record the screen and make dynamic pictures. Occasionally, python can also be realized. Then hurry to learn. 2, Effect display ...

Posted by Zup on Mon, 27 Apr 2020 10:21:50 +0200

QT: custom Model and related demo

Use background With the increase of development projects, the business structure is more and more complex. In order to improve the development efficiency of programmers and reduce the maintenance cost (code readability), using MVC (MVD) mode in QT is an effective method. Customizing the Model is the first step in using the MVC pattern. How t ...

Posted by karimali831 on Sat, 18 Apr 2020 16:51:39 +0200

Qt write map comprehensive application 15 - add delete clear reset point

I. Preface In the related projects of map application, some equipment points are identified on the map, and the function of point interaction is most used. Therefore, a set of mechanism is needed to dynamically add, delete, clear and reset. Reset means to reset the longitude and latitude of all points in the map. In fact, it means to first clea ...

Posted by dmb on Sat, 18 Apr 2020 03:57:55 +0200

Qt Focus event, FocusInEvent() and FocusOutEvent()

Description: At the beginning, I want to realize that there are multiple editable controls (such as QLineEdit, QTextEdit, etc.) on a form. When which control gets the focus, the background of which control will be highlighted to prompt. I found out that the document should use focusInEvent() and focusOutEvent(). In the actual p ...

Posted by the elegant on Sat, 15 Feb 2020 16:46:40 +0100

Qt embedded Baidu map

Catalog Qt embedded Baidu map 1.WebEngineView declaration and definition 2. Use Baidu map JavaScript API 2.1. Register account, add application and obtain ak code 2.2. Set container style and create map container element 2.3. Initialize map and display 3.Qt calls Javascript function 4.Javascr ...

Posted by ducey on Wed, 12 Feb 2020 18:00:36 +0100

qt +opencv dnn+tensorflow for early warning of sensitive areas

qt +opencv dnn+tensorflow to realize on duty early warning In the process of security, have you ever had such experience? When someone enters the sensitive area, they do not find out in time. Today, qt +opencv dnn+tensorflow is used to realize the early warning of sensitive areas The following picture: ...

Posted by pahunrepublic on Wed, 05 Feb 2020 15:43:54 +0100

C#Learning Notes 4-Flying Chess Project

Flying Chess Items Preface Introduction to Flying Chess Game Flying Chess Game Writing Preface The last genius said that he studied eight hours a day. Unexpectedly, he broke his word yesterday and learned four hours. He got up at 7:30 this morning to continue learning the flying chess project, a ...

Posted by hassanz25 on Mon, 03 Feb 2020 03:59:42 +0100