C + + custom IO operator

C + + operator > > and<< To write a structure, you need to read and output the text. You need to define an operator for the structure. The following is part of the structure: typedef struct __wordUnit{ string word; string translation; __wordUnit(){ word = ""; translation = ""; } ...

Posted on Wed, 01 Apr 2020 08:35:20 -0700 by Gruzin

Qt/C + + compiled, packaged and released with VS2015

Use the command windeployqt. You should know the installation path to VS2015 C:\ProgramFiles(x86)\MicrosoftVisualStudio14.0\Common7\IDE\RemoteDebugger\x64 If you are x64 developers, choose x64, or x86 To copy out the following runtime and put it in the path of exe, or to encounter runtime errors, it will be extremely e ...

Posted on Mon, 30 Mar 2020 12:16:17 -0700 by katuki

Python Makes Weather Query Software

Insert a picture description here Previously, Public Number shared how to use PyQt5 to make guess games and timers. This time, let's continue to learn how to use PyQt5 to make weather query software.For source code and exe files, please reply in the Wechat Public Number Python Efficient Programming Background: Weather.PS Note: Many people ...

Posted on Thu, 19 Mar 2020 23:53:50 -0700 by zubinkasad

PyQt complete tutorial

1. Introduction to GUI development framework In the past 19 years, we have been doing Android ROM related tests and accumulated a certain amount; in the past 20 years, we plan to integrate and reuse the previous complete test schemes, scripts and tools. The first phase of the project is to develop a GUI testing tool, which has been investigated ...

Posted on Fri, 13 Mar 2020 21:45:33 -0700 by datona

Draw a polygon using QT

Catalog 1. overview 2. implementation 2.1. code 2.2. analysis 3. results 1. overview You can draw polygons through QT redraw events and mouse events. The easiest way is to rewrite event handling functions such as paintEvent and mousePressEvent in the form that inherits QWidget. QT ...

Posted on Thu, 05 Mar 2020 23:51:47 -0800 by woody79

Two ways to change skin on Qt interface

Summary Like many soft nails on the market now have skin changing functions, such as QQ, 360, Thunder and so on.Skin exchange is actually very simple, not as difficult as you imagine. Here are two ways to achieve skin exchange, just for reference! Mode 1 1. Implementation principle Create mul ...

Posted on Wed, 04 Mar 2020 17:54:03 -0800 by tekky

ROS based on QTCreator tutorial

In learning ROS, beginners may refer to the introduction to ROS and C + +, which is made by maker smart. Reference link: https://www.ncnynl.com/archives/201701/1277.html. But the version i ...

Posted on Tue, 18 Feb 2020 03:41:35 -0800 by sneakyimp

Qt Plugin development guide

Qt plug in Development Guide Author: Wang Tao Date: 2020.02.17 Version: V1.1 Summary Introduction to Qt plug-in Plug-in is a kind of program compiled by following a certain standard application program interface, which is positioned to develop and implement the program which does not have the f ...

Posted on Mon, 17 Feb 2020 01:32:52 -0800 by prem

Combining c + + with EasyX to realize the beauty of shooting games

Installation and use of EasyX 1.EasyX is a lightweight and simple C + + graphics library, which can be used to do some simple demonstrations of 2d games. It is not as heavy as cocos2d-x, and it is relatively simple to learn, with few related API s. Secondly, the graphical interface is far from QT an ...

Posted on Mon, 10 Feb 2020 07:07:03 -0800 by floR

C + + learning course, QT aircraft battle course (including detailed steps)

1 project introduction Airplane battle is a little game that we all know well. This tutorial is to teach you how to make your own airplane battle First let's take a look at the renderings The player controls a small plane, and then automatically launches the bullet. If the bullet hits the flying ...

Posted on Mon, 10 Feb 2020 01:28:52 -0800 by doctor_james