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
PyQt5 Quick Start PyQt5 Basic Window Components
PyQt5 Quick Start (III) PyQt5 Basic Window Components
QMainWindow
1. Brief introduction of window type
QMainWindow, QWidget and QDialog are used to create windows. They can be used directly or derivatively.QMainWindow includes menu bar, toolbar, status bar, title bar and so on. It is the most common form of window.QDialog is the base class of ...
Added by ViperG on Mon, 22 Jul 2019 17:10:41 +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
Qt Writing Custom Control 34-Disk Capacity Statistics
I. Preface
Disk capacity statistics control, to put it bluntly, is used to count the capacity occupied by local disk characters, including but not limited to used space, remaining space, total size, percentage used, etc. The corresponding percentage is displayed by progress bar, the foreground color, background color and text color of the progr ...
Added by caine on Sun, 21 Jul 2019 17:57: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
QT Programming of Meteorological Automatic Monitoring Station (IV): Real-time Curve Drawing of Data
_Following the completion of data storage in the database above, the next function to be achieved is to draw the received data in the form of real-time curves. The main technology used in this paper is a third-party class QCustomPlot, which is powerful and beautiful in drawing. At present, the official version of 1.3.2 and 2.0.0 beta are avail ...
Added by gotry on Mon, 17 Jun 2019 01:43:47 +0300
webrtc sigslot usage and source code analysis
background
When we use webrtc, we will see sigslot. What is sigslot is what we call signal and slot, and qt is used. Sigslot in webrtc is a C++ event processing framework designed and implemented by Sarah Thompson. This framework is very lightweight. The whole code has only one sigslot.h file, and its design is excellent. It decouples events ...
Added by beesgirl713 on Fri, 14 Jun 2019 22:36:59 +0300
How does SQL Server Locate Custom Scalar Function Called by that SQL at Most
Recently, we encountered a very difficult problem. The monitoring system DPA found that a custom scalar function was invoked very frequently, which was beyond the scope of spectrum. Then when Troubleshooting is a problem, I do encounter some problems that make me very confused. Here is a little thought and try to solve the problem. If you have ...
Added by cybtec on Sun, 26 May 2019 22:32:46 +0300
Implementing Simple TCP Communication with QT5
Network sockets using QT s require the addition of a sentence in the. pro file:
QT += network
I. Client
1. The client code is slightly simpler than the server. Generally speaking, using the QTcpSocket class in the QT to communicate with the server requires only the following five steps:
(1) Create a QTcpSocke ...
Added by scuzzo84 on Tue, 21 May 2019 02:34:14 +0300
Using Qt to communicate between interfaces
Sketch
The function of the interface is to provide a way to interact with other systems. Other systems don't need (or can't) know the details inside, but can only communicate with each other through the interface provided outside.
Pure virtual functions (slots are no exception) are easy to understand, so what about signals?
Is it val ...
Added by ednark on Mon, 20 May 2019 20:57:11 +0300