The generation of png/jpg/bmp format picture by Qt

1, Problem Description: sometimes it is necessary to save some pictures drawn by Qt as png/jpg/bmp format pictures. Next, according to a simple test program written by myself, I will explain how to save pictures in Qt. This article mainly explains how to use the combination of qpainer and QImage to save pictures. 2, Display effect: 1. Interf ...

Posted by articlesocial on Mon, 04 May 2020 09:54:42 -0700

Qt custom delegation draws control, picture and text in QTableView

Original address: http://blog.csdn.net/zhi379/article/details/28412189 Qt custom delegation draws control, picture and text in QTableView Original link: http://qimo601.iteye.com/blog/1539147 Blog category: Qt QtCustom delegationQTableViewQCheckBoxprogress bar  Custom delegate, inherited from, qstyleditemtdelegate c ...

Posted by purpendicular on Thu, 30 Apr 2020 13:38:27 -0700

python self writing software (2)

With the background of blog, we used Pyqt5 to implement a simple calculator. I think it's important to use the eval function of py When did I write the player or implement the java directory tree or xml parser I want to write recently The idea is to click the button and add it to string to form algorithm expression, and then rely on python's po ...

Posted by jarvishr on Thu, 23 Apr 2020 08:16:21 -0700

Python practice: one click export of wechat books and notes

The era of reading for all has come. At present, there are 210 million users who use reading software and more than 5 million daily active users. Among them, more than 60% are 19-35-year-old young users, 80% are undergraduates or above, and more than 80% are beishangguangshen and other provincial capitals / municipalities directly under the cen ...

Posted by AcidRain on Thu, 16 Apr 2020 01:21:39 -0700

Generation and use of qt plug-in Plugin

Sketch Sometimes, when we are making an application, we don't want the software we generate to be just an EXE file, but to split it into modules, the finer the better. In the future, it is very convenient to release updates. We only update a small part of them, not the whole application. (let's look at the code.) Plug-in generation ...

Posted by tarleton on Sun, 12 Apr 2020 08:55:32 -0700

Qt Writing Map Comprehensive Application 6-Baidu Online Map

1. Preface Baidu Online Map has been used for a long time, and it has been continuously improved until today. In addition to basic map loading and setting some related attributes, various js functions are added to load data directly and asynchronously, such as dynamically adding points, rectangles, circles, administrative divisions and so on.Of ...

Posted by Roscoe on Wed, 08 Apr 2020 18:59:46 -0700

Qt compilation of map comprehensive application 3 - regional map of provinces and cities

I. Preface The provincial and municipal area map can also be called the provincial and municipal outline map, which is to turn the border area of each province and urban area into an outline display. It is only a general outline, basically consistent with the real map. After all, it is piled up one by one, which may have a very small error. Whe ...

Posted by monkeynote on Sun, 05 Apr 2020 20:35:00 -0700

[QT] QT from scratch tutorial (10): QT layout management QLayout

                              . QT provides a class of QLayout for layout management, which can solve this problem well. Common layout management includes QVBoxLayout, QHBoxLayou ...

Posted by ednark on Sun, 05 Apr 2020 08:27:35 -0700

Detailed examination papers

Because of the data problem in the database, it is not as good to take blank pages as the prototype image on the board: Body Code: <div *ngFor="let q of qt.questionMainList; let i=index" [ngSwitch]="qt.questionTypeId"> <div *ngFor="let qtl of questionTypeList; let k=index"> <div *ngIf="qt.quest ...

Posted by tommyrulez on Tue, 31 Mar 2020 14:54:18 -0700

PyQt5 building library management system (3) -- Design of login page

PyQt5 building library management system (3) -- Design of login page PyQt5 building library management system (3) -- Design of login page Analysis Code: The effect is as follows Analysis The logic of the login page is simple, as follows: -User input student number and password (for security, plus input ...

Posted by swissmant on Tue, 31 Mar 2020 02:03:39 -0700