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

DataMatrix identification and location project notes -- DataMatrix generator based on QT+libdmtx-0.7.5

The project of generating DataMatrix based on qt and libdmtx, DataMatrix open source coding and identification Library: github of libdmtx: https://github.com/dmtx/libdmtx; The complete project I wrote in qt is: https://github.com/abcvincent/dmtxMaker; GitHub - > doc contains DataMatrix intern ...

Posted by BSTRhino on Sat, 01 Feb 2020 07:08:39 -0800

Python to write mandatory rogue software, can express, but other!

Let's first look at the effect: With Python, I made a very revealing artifact on the recent trembling sound. Welcome all of you guys guidance. Demand: Python3.6 PyQT5 Library Without much nonsense, go straight to the code: python learning group.png -- coding: utf-8 -- import sys from PyQt5 import QtWidgets From pyqt5 ...

Posted by 6pandn21 on Fri, 31 Jan 2020 15:46:22 -0800