Qt embedded Baidu map

Catalog Qt embedded Baidu map 1.WebEngineView declaration and definition 2. Use Baidu map JavaScript API 2.1. Register account, add application and obtain ak code 2.2. Set container style and create map container element 2.3. Initialize map and display 3.Qt calls Javascript function 4.Javascr ...

Posted by ducey on Wed, 12 Feb 2020 18:00:36 +0100

qt +opencv dnn+tensorflow for early warning of sensitive areas

qt +opencv dnn+tensorflow to realize on duty early warning In the process of security, have you ever had such experience? When someone enters the sensitive area, they do not find out in time. Today, qt +opencv dnn+tensorflow is used to realize the early warning of sensitive areas The following picture: ...

Posted by pahunrepublic on Wed, 05 Feb 2020 15:43:54 +0100

C#Learning Notes 4-Flying Chess Project

Flying Chess Items Preface Introduction to Flying Chess Game Flying Chess Game Writing Preface The last genius said that he studied eight hours a day. Unexpectedly, he broke his word yesterday and learned four hours. He got up at 7:30 this morning to continue learning the flying chess project, a ...

Posted by hassanz25 on Mon, 03 Feb 2020 03:59:42 +0100

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 Dan Coates on Sat, 01 Feb 2020 16:06:54 +0100

Quick Development of GUI Programs Using PyQt5 in Windows Environment--Configuration of Pycharm

Environment Configuration Install PyQt5 Installation using pip makes it easier to use Pycharm and search directly. In addition to pyqt5, there are pyqt5-tools, which contain some commonly used tools for pyqt5. pip install pyqt5 -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com pip install pyqt5-tools -i http://mirrors ...

Posted by jlh3590 on Thu, 09 Jan 2020 19:36:37 +0100

2D drawing of qt: adding an undo stack menu

Summary: add a QUndoStack and QUndoView to mainwindows. Add different actions to edit [undo action & redoaction] and view[Undo stack] in the constructor. Note: the undo and redo operations in edit only need to add the response API, and the qt editor will implement them automatically. But the action in view needs to be associated with a slo ...

Posted by wiggst3r on Fri, 03 Jan 2020 23:25:40 +0100

Qt's docked window QDockWidget class

Qt's docked window QDockWidget class General process for setting up docked windows 1. Create a docking window for the QDockWidget object 2. To set the properties of this docked form, you usually call setFeatures() and setAllowAreas() 3. Create a new control to insert a docked window. The commonly used controls are QListWidget and QTextEdit 4. I ...

Posted by Mordred on Thu, 02 Jan 2020 05:06:37 +0100

QT open file path contains Chinese and space problems

The software made with QT MinGW version is sent to the customer and said that it does not work normally, the configuration file cannot be opened, or the loading data file is not normal. After remote viewing, it is found that the client often places the program in the path with spaces in Chinese, resulting in abnormal file opening. So I want to ...

Posted by mdj on Wed, 01 Jan 2020 17:03:37 +0100

Location acquisition and image operation of each part in QT interface

1. Introduction to interface location The x(), y(), and pos() functions are all used to get the coordinate position of the upper left corner of the entire form. frameGeometry() corresponds to geometry(). frameGeometry() is to get the upper left vertex and the length and width values of the whole form, while geometry() function ...

Posted by cty on Wed, 25 Dec 2019 18:13:11 +0100

Dialog, the basis of the QT tutorial

In fact, I did not intend to learn this section, it is enough to learn at most QFileDilog, but think about it, if the day really needs to mention color, font, embarrassing, more skillful, understand, at least many years later I have a blog to turn over. QFileDialog 1. QFileDialog::getOpenFileName and a series of functions are used to get the n ...

Posted by Jaehoon on Mon, 11 Nov 2019 21:19:59 +0100