About QThreadPool cleaning in Qt
Recently, I learned PyQt5 programming and encountered a problem, which is the cleaning of QThreadPool. Specifically, I sometimes need to stop the execution of all threads in a QThreadPool and do the necessary cleaning. Sometimes there are two main scenarios here: because the new input QThreadPool needs to be cleaned up and start with the new in ...
Added by techker on Mon, 27 Dec 2021 11:06:44 +0200
Qt control - key
Starting from this chapter, we begin to learn Qt widgets, in which each type of widget is selected as an example to explain their usage. Through the example, you can draw inferences from one instance. This chapter is also pure code programming and does not use Qt Designer graphical interface to develop programs.
In this chapter, we can lea ...
Added by smithmr8 on Tue, 21 Dec 2021 03:57:30 +0200
Qt Writes Custom Control 40-Navigation Progress Bar
I. Preface
The navigation progress bar control is actually the progress control of Alipay, Jingdong and Taobao order page. It prompts the steps of the current step, a total of several steps, and then the current progress special color display, each progress with time text and other information, this control specifically integrates the three sty ...
Added by vidyashankara on Fri, 26 Jul 2019 08:51:43 +0300
Qt Writing Custom Control 35-GIF Recording Screen Control
I. Preface
In the ordinary writing process, it is often necessary to capture some action and effect maps into gif format, which makes the information covered more comprehensive and vivid. Sometimes, the whole operation process and operation effect can be recorded into MP4, but the file size is relatively large, and many websites are not easy to ...
Added by mrgrammar on Mon, 22 Jul 2019 11:01:05 +0300
Introduction to Qt (2)
Taking the QtConcurrent::run() function in Qt as an example, this paper introduces how to run the function in a single thread.
1 QtConcurrent::run()
QtConcurrent is a namespace that provides a high-level interface function (APIs) to automatically adjust the number of threads running according to the actual number of CPU s in the current comput ...
Added by Dan911 on Mon, 01 Jul 2019 21:14:37 +0300