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 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

Qt Write Custom Control 5-Column Thermometer

Preface Column thermometer control, which may be one of many hands-on controls, is basically displayed vertically. There is a mercury column at the bottom, a scale in the middle, and a scale on the right or both sides of the left side. The scale can be changed with adaptive resolution. Sometimes the whole timer can be used to achieve the animat ...

Posted on Wed, 15 May 2019 07:52:12 -0700 by lazzerous

Qt Writing Custom Control 12-Progress Dashboard

Preface The main application scenario of the progress dashboard is to identify the status of a task's progress and so on. It can set range values and current values freely. Four kinds of indicators (circular indicator/pointer indicator/rounded pointer indicator/triangle indicator) are also provided for beauty. All kinds of colors can be set. Th ...

Posted on Tue, 30 Apr 2019 08:00:37 -0700 by StroiX

Qt Writing Custom Control 7 - Custom Draggable Polygon

Preface Customized draggable polygon control by Zhao Yanbo (QQ:408815041) zyb920@hotmail.com At the beginning, the main purpose of this control is to customize the draggable areas in the video area, which can be used as warning areas or other processing to get the corresponding set of polygon coordinates. The main difficulty of this control is ...

Posted on Wed, 24 Apr 2019 12:39:35 -0700 by DickDeeds

qtcreator implements onvif protocol device discovery under linux system

I. Development Environment Fedora23 qtcreator4.0.3 based on Qt5.6.2 Haikang Video DS-2CD2512F-IS Camera II. Creating Engineering I like using qtcreator very much. Its powerful function of completing and checking errors makes it very comfortable to use. So use qtcreator to create this project. The creation steps are as follows 1. Open qtc ...

Posted on Mon, 01 Apr 2019 20:15:28 -0700 by capslock118

Deep understanding of the SIGNAL SLOT mechanism of QT s (I): How SIGNAL SLOT is used

First, it is declared that different versions of QT have slightly different implementations for signals and slots, and most interfaces are the same. I used QT5.9.1. The SIGNAL/SLOT of the QT is a bit like the observer pattern. It is said that the SDN is always done in the stage. In the code of the controller, it is use ...

Posted on Wed, 13 Feb 2019 00:39:18 -0800 by coder9