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

Solution to unexpected termination of 0X1A in reading file

In the integrated development environment of Windows (Qt, VC, VS all have this problem), write the C/C + + program about file reading. When it reads 0X1A, it ends unexpectedly. After debugging and checking, it is found that 0X1A is processed as 0XFF (EOF (- 1)) after reading, but there is no such problem of parsing erro ...

Posted by silas101 on Mon, 30 Mar 2020 22:14:17 -0700

PyQt5 Case Summary (Full Version)

start PyQt5 Is a set of application frameworks bound to Qt5.He is available in Python 2.x and 3.x.This tutorial uses Python 3.x. The Qt library is the most useful set of GUI libraries. PyQt5 is implemented as a set of Python modules.He has more than 620 classes and 6000 functions and methods.He is a multiplatform component running on all major ...

Posted by webdogjcn on Fri, 27 Mar 2020 02:08:13 -0700

Qt learning custom control 1: draw a simple to use dashboard

Qt learning custom control 1: draw a simple to use dashboard Opening words Method 1: load SVG (if the SVG file cannot be uploaded, the screenshot will be displayed) Dial screenshots Pointer screenshots widget.h: widget.cpp: Effect map 1: Method 2: draw directly with code qmgauge.h: qmgauge.cpp: q ...

Posted by mkoga on Tue, 17 Mar 2020 00:20:08 -0700

Custom Signal and Slot Function for QT

Signals and slots are a major innovation of QT. Custom signals and slots can achieve their desired functions. The standard signal and slot writing is as follows: connect(&button,&QPushButton::clicked,this,&QWidget::close); /* *Description of the connect ion signal and slot above * &butto ...

Posted by niki on Sun, 01 Mar 2020 17:58:22 -0800

PyQt5 basic window control ----- QWidget

Pyqt5 learning path, click to have pyqt5 learning notes QWidget class is the base class of all user interface objects. All windows and spaces are directly or indirectly inherited from QWidget The window control (Widget) is the main element to build the interface in PyQt. Window coordinate system PyQ ...

Posted by ElArZ on Sat, 22 Feb 2020 01:58:24 -0800

Qt+vtk configuration property sheet

At first, when using Qt to display point cloud, every time a new project is created, the directory must be configured, which is very troublesome. Recently, I suddenly realized that I can create a new property sheet, and every time I refer to the property sheet, it's OK. It taught us to be flexible. 1. ...

Posted by Kingskin on Thu, 13 Feb 2020 22:46:35 -0800

The way of operation and maintenance: DNS service construction and master-slave configuration

Preface Communication on the Internet needs to be accessed with the help of IP address, but people's memory of numbers is far less than that of words, so it's a good way to convert IP address into easily memorized words, but computers can only recognize 0 and 1 codes. At this time, a mechanism is need ...

Posted by Nathaniel on Tue, 04 Feb 2020 22:53:49 -0800

OpenGL with QtWidgets: Light color

(This is a study note for LearnOpenGL, translated in Chinese for the tutorial) https://learnopengl-cn.github.io/) 0. Preface Previously, I learned the introductory chapter of LearnOpenGL, and this article started learning about the colors of light (Lighting). 1. How to implement Color can be digi ...

Posted by luke101 on Tue, 04 Feb 2020 16:36:27 -0800