qt learning notes
Video link
https://www.bilibili.com/video/BV1Wf4y1Y7uh
Qt common tools
assistant: api manual qmake: qt builder designer: graphical interface design uic: convert the interface designed by designer into C + + or py file rcc: resource compiler moc: meta object compiler qtcreator: integrated development environment
Making the first GUI prog ...
Added by andym01480 on Mon, 07 Mar 2022 03:36:36 +0200
Hello Qt -- Qt plug-in development
1, Qt plug-in mechanism
1. Introduction to Qt plug-in
Plug in is a program written according to a certain standard application program interface, which is positioned to develop and realize the functions that the application software platform does not have.
2. Qt plug-in API
Qt provides two APIs for creating plug-ins: one is a high-level API ...
Added by DannyM on Sun, 06 Mar 2022 18:59:46 +0200
Hello Qt -- mixed programming of QML and C + +
1, Introduction to mixed programming of QML and C + +
QML and C + + mixed programming is to use QML to build UI efficiently and conveniently, while C + + is used to realize business logic and complex algorithms.
2, QML access C++
Qt integrates QML engine and Qt meta object system, which makes QML easy to be extended from C + +. Under certain ...
Added by sabbagh on Sun, 06 Mar 2022 18:55:19 +0200
Hello Qt -- QtQuick Foundation
1, Introduction to QtQuick
QT provides two independent ways to create user interfaces.
QtQuick module provides a markup language for creating a smooth and vivid user interface. QtQuick module is suitable for interfaces that need animation elements and scenes where applications mainly run on small screens and multi touch devices. The module pr ...
Added by thefamouseric on Sat, 05 Mar 2022 18:32:47 +0200
Hello Qt-—Qt Quick Controls
1, Qt Quick Controls Basics
QT5.1 released a new module of Qt Quick: Qt Quick Controls. Qt Quick Controls module provides a large number of reusable components similar to Qt Widgets module.
In order to develop programs based on Qt Quick Controls, you need to create an application of Qt Quick Application type. When selecting component sets, pa ...
Added by arpowers on Sat, 05 Mar 2022 18:29:46 +0200
Hello Qt -- QT5 parsing Json file
1, Introduction to Qt5 Jason
QT4 uses the third-party library QJson to parse JSON files.
QT5 adds a new class to handle JSON. All classes begin with QJson and are included in the QtCore module. Six related categories are added to QT5:
QJsonArray Encapsulating JSON arrays QJsonDocument Reading and writing JSON documents QJsonObject Enca ...
Added by TimUSA on Sat, 05 Mar 2022 18:27:34 +0200
Hello Qt -- QT dialog box
1, Dialog introduction
Dialog box is the top-level window for brief interaction with users
QDialog is the base class of all dialog windows in QT. QDialog inherits from QWidget. It is a container component and a special QWidget with customized window style.
As a special interactive window, QDialog cannot be embedded in other containers as a s ...
Added by skhale on Sat, 05 Mar 2022 01:41:57 +0200
Ubuntu20.04 copy library using linuxdeployqt
introduction
The corresponding dependency library needs to be copied for software release. windows can use the windeployqt provided by qt, and linux also has the corresponding open source tool linuxdeployqt The general principle is to find the path of the corresponding dependent Library of the executable file through the command line, such ...
Added by kporter.porter on Thu, 03 Mar 2022 23:34:49 +0200
Hello Qt -- QT unit assembly
1, QListWidget list cell
1. QListWidget component introduction
QListWidget list unit component inherits from QListView and is a unit based list component. QListWidget can display a list. Each item in the list is an instance of qlistwidgettitem. Each item can be operated through qlistwidgettitem. You can set the image and text of each item thr ...
Added by gfX on Thu, 03 Mar 2022 22:14:33 +0200
Hello Qt -- QT unit view component
1, QListView list view
1. QListView component introduction
QListView list view, inherited from QAbstractItemView. QListView is a model-based list / icon view without displaying header and table box, which provides a more flexible way for Qt's model / view structure.
2. QListView component properties
QListView component property settings:
A ...
Added by WLW on Thu, 03 Mar 2022 20:37:16 +0200