PyQt5 Usage Summary

Recently, a GUI applet has been developed with pyqt5, which is summarized here~ install Install pyqt5 and pyqt5 tools pip install pyqt5 pip install pyqt5-tools Integrate PyQt in PyCharm Because I use PyCharm to develop, I integrate PyQt to improve efficiency. The operation steps are as follows 1. Open [file - > Settings - > tools ...

Added by Yola on Wed, 26 Jan 2022 07:56:55 +0200

QGIS secondary development environment configuration (Visual Studio 2015 + Qt 3.12 + QGIS 3.16)

1. System requirements Windows 10 professional 2. Install Visual Studio 2015 from Visual Studio official website Find the version you need and download it according to the number of computer bits, language and file type. I downloaded Visual Studio Professional 2015 with Update 3. After downloading, click the program to install. If only the ...

Added by automatix on Tue, 25 Jan 2022 19:04:11 +0200

Qt medium pro.pri configuration details

Pro is the project file of qmake, and i in pri file is the initial letter of include. It is similar to the header file in C and C + +, that is, we can Part of the pro file is placed in a separate file Pri file, and then included. Using include in the project file of each project is similar to including the header file. In this way, the PRI file ...

Added by metrathon on Tue, 25 Jan 2022 04:40:11 +0200

QT cross compile ARM / CSKY

reference resources: QT download address Environmental Science: ubuntu16. 04 (virtual machine) QT version: QT everywhere src-5.12.9 Operation architecture: ARMV7 / CSKY The target running architecture of cross compilation recorded below is ARMV7. At the same time, CSKY architecture has been tested. The cross compilation process of CSKY ...

Added by eheia on Mon, 24 Jan 2022 11:27:44 +0200

Qt develops Dugu Jiujian

Original link In the Qt development process, there are many tips that can greatly improve the development efficiency. Here, I hope to help some beginners of QT framework avoid detours. 1. Remove the old style and add a new style During QT development, we usually modify the style of controls through QSS similar to CSS. In order to modify the ...

Added by jf3000 on Mon, 24 Jan 2022 05:56:24 +0200

QT learning notes: QT object, window coordinates, click the button

QT learning notes (2): QT objects, window coordinates, signals and slots Note: QT version used for learning is Qt5 nine I QT object You need to know that qt after creating an object, the programmer does not need to destroy it manually. To facilitate memory management, when the parent object is destructed, all objects in the child object list ...

Added by mikewooten on Sun, 23 Jan 2022 23:56:51 +0200

Custom QFileDialog QInputDialog

1, Transformation reasons When using qinputdialog and QFileDialog, the most commonly used are their own static functions. The advantage is that the parameters are clear and easy to call, but at the same time, the disadvantage is lack of flexibility. Scenario 1 The current page has controls that regularly update the status, such ...

Added by baennaeck on Fri, 21 Jan 2022 10:55:00 +0200

Connect to Damon database in QT Create OCI mode

Connect to Dameng database in QT OCI mode 1, Background The user uses QT Create to develop the integration software OCI to connect to the database. And adaptation Center https://eco.dameng.com/docs/zh-cn/app-dev/index.html There are no relevant examples, and the examples on the official website are old, so share them. It should be noted that ...

Added by phpnewbie81 on Thu, 20 Jan 2022 04:10:39 +0200

qt using font library to realize dynamic skin changing of icons

introduction In order to make the program beautiful and conform to the simple design, icons will be introduced into the interface for button or label. With the continuous evolution of the project and the increase of business logic, the number of icons also expands. Common icon usage steps 1. Design cut 2.qrc add picture resources 3.css ...

Added by newbtophp on Wed, 19 Jan 2022 23:54:08 +0200

QtCreator Plugin Framework Learning 05-Extend Core Plugin Page Interface

Multiple pages can be displayed in QtCreator. It switches pages by the button on the left. This extends the page interface of the core plug-in so that it can add pages by plug-in and switch pages by the button on the left. 1. Page Interface 1.1, FancyPage page class Create a FancyPage type with the following header file: #ifndef FANCYPAGE_H ...

Added by guayaquil on Wed, 19 Jan 2022 19:12:35 +0200