QSettings Read and Write Registry, Configuration File (C: Users Firecat AppData Roaming liteide liteide.ini)
Source of the article: http://blog.csdn.net/liang19890820/article/details/50518187
Read and Write Registry
General storage
Let's take Qt as an example. It is well known that Qt belongs to Digia now. That is to say, the organization name is Digia and the product name is Qt.
In the main() function, the organization name and produ ...
Posted by blackhorse on Fri, 04 Jan 2019 18:30:11 -0800
Intertransformation between [QT]QByteArray and char, int, float (and their arrays)
Original articles are welcome to be reproduced. Reproduced please note: reproduced from uuuuuuuuuuuu Xiangxiang's blog
Links to the original text: https://blog.csdn.net/humanking7/article/details/80913474
1. Sources of the problem
2. Conversion between QByteArray and char*
2.1 QByteArray to char*
Mode 1 data() and siz ...
Posted by brax23 on Tue, 01 Jan 2019 13:39:09 -0800
Modified VTK sample code of [VTK][DICOM]
This week we began to investigate how to use VTK to render DICOM MPR/VR images. See the example of VTK:
VTK-8.1.0\Examples\GUI\Qt\FourPaneViewer
This example uses QVTK OpenGL Widget control to display four view s, which show intersecting MPRA, MPRB, MPRC and 3D slices (three intersecting MPR planes).
The UI below is my modified ...
Posted by derksj on Sat, 29 Dec 2018 09:06:09 -0800
Efficiency comparison of C++ Xml parsing (Qt/TinyXml 2/RapidXml)
Efficiency comparison of C++ Xml parsing (Qt/TinyXml 2/RapidXml)
Efficiency comparison of C Xml parsing with QtTinyXml 2 RapidXml
Background of problem
testing environment
Qt - QDomDocument
TinyXml-2
RapidXml
summary
Usually when we initialize or save configurations of some software, we will encounter operations on XML files, in ...
Posted by mvidberg on Fri, 21 Dec 2018 06:45:06 -0800
Qt MetaObject System Explanation 4: Metacall
The so-called meta call is to dynamically invoke the method of object through the support of meta system of object. metacall is also the cornerstone of signal & slot mechanism. This article explores the implementation of meta call by referring to the source code.
QMetaObject::invokeMethod():
bool invokeMethod ( QObject * o ...
Posted by Ringo on Sat, 15 Dec 2018 04:21:04 -0800
Use Qt Designer to create front-end interface, use VS Code to convert. ui created by Qt Designer to. py, and finally use PyQt5 to realize the jump of button-clicking interface.
Simply mention the installation of PyQt5, Qt Designer
python version: 3.6.2
Install using pip:
pip3 install PyQt5
After that, by installing PyQt5-tools, Qt Designer will be installed automatically.
pip install PyQt5-tools
Compared with the installation of this learning, so
Recommended courses: http://code.py40.com/fa ...
Posted by manimoor on Wed, 12 Dec 2018 11:51:08 -0800
Cocos 2dx3.15 Access to Wechat SDK to Realize Logon and Share Android studio 2.3.3
To start with, I have to talk about online tutorials and the official website of WeChat open platform. Online tutorials are mostly too old, though they can be used but incomplete. Some things have been changed. The reference function is almost no, the only function is to see what the return value and some parameters are useful. Yes, that's rig ...
Posted by brbsta on Wed, 12 Dec 2018 00:21:07 -0800