Qt Painter

QPainter provides highly optimized functions to do most of the drawing GUI programs require. It can draw everything from simple lines to

I/O In Qt

Qt encapsulates the more generalized notion of byte streams in its QIODevice class, which is the parent class for QFile, as well as network I/O

C++ String

A string is very similar to a std::vectorThe following code snippet has the std::string name with the value RainerGrimm. I use the STL algorithm std::find_if to get

JSON With Qt

QJsonDocumentThe QJsonDocument class provides a way to read and write JSON documents.isArray,isObject,isNull,isEmpty to check the main content of documentobject(),array() to get main

binary heap

A binary heap is a heap data structure that takes the form of a binary tree. Binary heaps are a common way of implementing priority queues.[1]:162–163 The binary heap was

1 3 4 5 6 7 11