Extension of Main Form Dialog Box for QT5

Introduction The expandable dialog box is mainly realized by setSize Constraint (QLayout:: SetFixed Size), which fixes the size of each control combination. When the expandable part is displayed, the size of the dialog box is adjusted according to the control displayed, and when the expandable part is ...

Posted on Mon, 14 Oct 2019 11:41:33 -0700 by zicco

NeHe tutorial Qt implementation-lesson10

Links to the original text: https://my.oschina.net/fuyajun1983cn/blog/263866 NeHe Series 10: Roaming in 3D Space English Address: lesson10 This lesson demonstrates an example of load ...

Posted on Mon, 30 Sep 2019 14:40:21 -0700 by AncientSage

Qt Writing Custom Control 58-Histogram Symmetry

1. Preface This control is also not an original control. It comes from the code on the reference network. Symmetrical as its name implies, it divides the canvas into upper and lower parts, automatically draws the set value according to half the canvas height as the reference height, and then increases the dynamic transition effect, which is sim ...

Posted on Sun, 22 Sep 2019 17:49:46 -0700 by sundru

Qt Write Custom Control 56-Wave Curve

1. Preface Wave curve control, in fact, is a core of the previous water wave progress bar control. In fact, it uses sinusoidal curve to generate corresponding coordinates for drawing, and extracts this function independently, in order to study various sinusoidal cosine and other expansion effects in m ...

Posted on Fri, 20 Sep 2019 19:21:33 -0700 by Crysma

Qt Writing Custom Control 55-Mobile Address Book

I. Preface In the previous several articles, the difficulty coefficient of the control is nearly 0, and there is even a suspicion of the number of controls. This time, we must have a strong control. The difficulty coefficient of this control ranks the top five among all the controls, and the amount of code is not small. The header files are 550 ...

Posted on Fri, 20 Sep 2019 08:02:14 -0700 by robert_gsfame

Qt Writing Control Property Designer 8-Network Acquisition

I. Preface The last article has got through the serial port acquisition of one of the data sources. This time we want to talk about network acquisition. At present, there are three kinds of network communication, TCP/UDP/HTTP. Among them, TCP communication includes two kinds of client server. Tcp communication only uses multiple handshake mecha ...

Posted on Wed, 11 Sep 2019 18:51:33 -0700 by sps

Qt Writing Control Property Designer 4 - Loading Properties

I. Preface Control can load drag and stretch, these are the basic premises of work, the next focus is to dynamically load the properties of the selected control, Qt's attribute mechanism is extremely powerful, can only be described as powerful to explosive, Qt to write custom controls, if the properties are described by Q_PROPERTY, it supports ...

Posted on Tue, 10 Sep 2019 20:17:51 -0700 by cip6791

Qt Writing Control Property Designer 3 - Stretch Control

I. Preface Plug-in controls are loaded and drag controls are implemented. Next is the most difficult point. Like QtDesigner or other development environments, it can stretch control size and move position freely. In order to achieve this function, a control named SelectWidget Trace Following is specially designed. Form control, the general prin ...

Posted on Tue, 10 Sep 2019 01:54:44 -0700 by Scrumpers

010 Cracking Algorithm Analysis 1

010 Solution (2) Algorithmic Analysis 1 010 Dissolution (1) Violence Dissolution After the violence has cracked, I still want to write a 010Edit registry machine, this article goes on to the last analysis algorithm analysis Analyzing key function ...

Posted on Mon, 09 Sep 2019 18:41:03 -0700 by Coronach

Application of thrift in C++ language

Articles Catalogue brief introduction thrift data structure Introduction to Use 1. Writing thrift scripts 2. Compiling scripts 3. Use thrift in Engineering (1) Server (2) Client (3) Operation error brief introduction Thrift was originally ...

Posted on Thu, 05 Sep 2019 00:05:28 -0700 by Greaser9780