Drag the mouse to resize the window - Qt
Transferred from: Qt - drag the mouse to adjust the window size - remove ice and sugar - blog Garden (cnblogs.com)
Requirement: when the mouse moves to the corner of the interface, the mouse style changes accordingly.
Implementation method 1:
Override mouseMoveEvent. If the mouse is not pressed, set the mouse style according to the positio ...
Posted by onthespot on Mon, 01 Nov 2021 04:34:11 -0700
OpenGL (QT platform) learning and Practice
Coordinate system
The process of converting coordinates to standardized equipment coordinates and then to screen coordinates is usually carried out step by step, which is similar to the pipeline. In the pipeline, the vertices of the object will be transformed into multiple coordinate systems before they are finally transformed into screen coor ...
Posted by liquidchild_au on Tue, 19 Oct 2021 23:29:02 -0700
Qt Remote Object realizes inter process communication
1 Overview
Qt Remote Object, called qtro for short, is a new module officially launched after Qt5.9, which is specially used for inter process communication (IPC). Qtro is essentially a point-to-point communication network. Each process accesses the qtro network through QRemoteObjectNode. The function providing node (which can be understood as ...
Posted by Marqis on Tue, 19 Oct 2021 12:07:59 -0700
Qt TCP/UDP network protocol introduction practice UDP communication
Source code: NetToolsTest
For other QT Widge articles, please click here: QT Widget learning notes
Sister articles: Introduction and practice of Qt TCP/UDP network protocol (I) TCP communication
This article is just the simplest introductory study, which can be ...
Posted by jalperin on Mon, 18 Oct 2021 10:46:00 -0700
Basic control of QT software development -- 2.4.2 comboBox drop-down box
2.4.2 comboBox drop-down box
QComboBo provides a drop-down option in the form of a list for users to display, saving screen space. The data in the drop-down combo box can be modified and edited, and can contain pictures and string text. The font selection box, font size selection box and color selection box in Word document software are implem ...
Posted by HockeyDevil07 on Thu, 14 Oct 2021 12:27:49 -0700
Basic control of QT software development -- 2.1.6 buttonBox button box
2.1.6 button box
The button box can easily and quickly arrange a group of standard buttons. For example, the common confirmation dialog boxes have standard buttons such as "OK" and "Cancel". Qt makes these typical buttons into standard button boxes and encapsulates the corresponding signals for the convenience of program ...
Posted by V0oD0o on Thu, 14 Oct 2021 11:54:23 -0700
Use of QString class in QT -- obtain specified character position, intercept substring, etc
This article is reproduced from: Use of qstring class in QT -- obtain specified character position, intercept substring, etc_ haiross column - CSDN blog_ qstring interception
Functions in QString class.
1, String concatenation function
1. QString also overloads the + and + = operators. These two operators can connect two strings together. ...
Posted by whit555 on Mon, 11 Oct 2021 18:22:43 -0700
Python Qt GUI Design: window layout management method [reinforcement] (basic part-6)
catalogue
1, Horizontal layout class (QHBoxLayout)
2. Vertical layout class (QVBoxLayout)
3. Grid layout class (QGridLayout)
3.1. Single network layout
3.2 network layout across rows and columns
4. Form layout class (QFormLayout)
5. Nested layout
5.1. Add other layouts to the layout
5.2. Add layout in control
5.3. QSplitter lay ...
Posted by annihilate on Wed, 06 Oct 2021 20:31:03 -0700
Qt::QWidget has no default method for modifying the size by dragging the title bar border
This article is reproduced from: Qt::QWidget has no default title bar border. How to modify the size - childe Kaiming - blog Garden
Development environment: win10+vs2015+qt5.9.1
Background: in the development process, the title bar and border provided by the system are rarely used; They often customize a scheme designed by themselves. ...
Posted by bkbragg on Thu, 30 Sep 2021 14:51:31 -0700
mplayer music player of IMX6ULL-QT project - cross compiling mplayer
After installing mplayer in linux environment, open QT in ubuntu. QT installed version 5.12.9. The icons on QT interface are basically pictures collected by punctual atoms. For the implementation method, refer to the teaching in station B
Brief introduction to mplayer command:
Key operation: Volume reduction: /, 9   ...
Posted by greenber on Thu, 30 Sep 2021 14:01:21 -0700