QML TEXT content up and down, left and right effect realization

1. effect Want to use QML to achieve the effect of scrolling Text, that is, "can scroll up and down one by one, when each content exceeds the length of Text display, when the mouse moves up, can scroll left and right"; 2. Implementation ideas Scroll up and down: in fact, use ListView control to display only one li ...

Posted on Sun, 10 Nov 2019 15:51:11 -0500 by ublapach

Signal + slot test case for pyqt5

When writing code with pycharm, it was found that the signal set a slot for connection, but the test found that it did not work. In addition, without this function, the connection prompt on the pycharm Editor could not always find the reason, so it was decided later that the corresponding test cases needed to be learned and verified when enco ...

Posted on Thu, 07 Nov 2019 09:02:37 -0500 by jwrightnisha

Custom Calendar - interval selection control

Catalog I. overview II. Effect display III. overall structure IV. analysis and Implementation 1,QPickDate 2,QDatePanel 3,QDateWidget,QDateContent 4. Scheduling drawing V. related articles Original link: Custom Calendar (4) - interval selection contr ...

Posted on Sat, 02 Nov 2019 07:05:03 -0400 by eyekkon

TCP and UART mutual conversion tool

As for the reception and transmission of QT TCP and UART, remote or local TCP can be converted into serial port signal control single chip microcomputer. 1. The program includes ui main interface and Qthread thread 1.1. Main interface header file widget.h 1.2. Main interface. C file widget.c ...

Posted on Fri, 01 Nov 2019 15:38:49 -0400 by Jocke

IOI2020 training team operation-1 (CF549E, CF674G, ARC103F)

A - CF549E Sasha Circle meaning of the title There are two point sets N,MN,MN,M in the plane. Ask if you can draw a circle in the plane, so that the two point sets NNN and MMM exactly have one point set with all points strictly inside the circle, and the other point set with all points strictly outsi ...

Posted on Sun, 27 Oct 2019 00:20:18 -0400 by maqmus

Extending Qt applications with plug-ins

Copyright notice: This is the original article of CSDN blogger "one go, two three li", following CC 4.0 BY-SA copyright agreement. Please attach the original source link and this notice for reprint. Original link: https://blog.csdn.net/liang19890820/article/details/77774175   Sketch Not ...

Posted on Thu, 24 Oct 2019 03:09:17 -0400 by hyeteck

Qt writing custom control 71 arc progress bar

I. Preface At present, the chart framework in the form of web is very popular. The representative of China is echart. I have used it several times. It's very powerful and easy to use. It's open-source and free. Don't use it too well. The built-in charts and dashboards are very rich, and the presentation forms are also very diverse. The arc prog ...

Posted on Wed, 16 Oct 2019 01:55:43 -0400 by twister47

Qt Writing Custom Control 70-Flattened flatui

I. Preface FlatUI is no stranger to front-end developers nowadays. FlatUI design has become more and more popular in recent years. Perhaps because the resolution of PC and mobile devices is getting higher and higher, FlatUI looks more pleasant, while the texture color produced by gradient color is not flattened to be more cordial. Flat UI is a ...

Posted on Mon, 14 Oct 2019 20:51:47 -0400 by Molly

Qt Writing Custom Control 66-Halo Clock

I. Preface In the last article, I wrote a halo calendar with high imitation of WIN10 system, this time to draw a halo clock, which is also the effect seen on some webpages. Time and seconds are drawn in the form of a progress bar, and the progress bar has halo effect. The date and time text in the middle is also halo effect. The whole looks a b ...

Posted on Thu, 10 Oct 2019 21:56:48 -0400 by ThunderVike

Qt Writing Custom Control 64-Vertical Time Axis

I. Preface Vertical timeline control is mainly used to describe the development process of enterprises, or the iteration history of software versions, etc. It can intuitively display the development process by describing time nodes and events. Generally, such control is often seen in web pages or app s, especially in the company's official gate ...

Posted on Wed, 09 Oct 2019 16:31:21 -0400 by rami103