Development diaries → IMpos project. Part 005. Reading application settings. Implementation of the user login dialog to the system.
Read application settings
Application settings are stored in the options table of the iMpos.opt SQLite database.
To get and set options values, we create the Options class and implement the corresponding methods in it.
options.h
Read#ifndef OPTIONS_H #define OPTIONS_H #include …
Development diaries → IMpos project. Part 004. Application language settings, QTranslator. Creating a login dialog to the system
QTtranslator, Dialog, QtDesigner, locale
Application language settings, QTranslator.
To correctly display controls in the locale language, as well as to support the multilingual interface, the application needs to specify which language file will be used.
To do this, add the following code to main.cpp: …
Qt → Example Using QLocalServer and QLocalSocket
The article describes the use of QLocalServer and QLocalSocket. The example is a reworking of code from Schlee's book Qt 5.3. Professional C++ Programming” dedicated to QTcpServer and QTcpSocket respectively. Despite the fact that the class names are similar and …
ReadAlgorithms → Breadth first search (BFS)
Travel means visiting all nodes of the graph. Breadth first traversal or Breadth first Search is a recursive algorithm for searching all vertices of a graph or tree data structure. In this article, you will see examples of the BFS …
ReadDevelopment diaries → Simple Tracker project. Part 2: project structure
Iscander Che, Simple Tracker, Qt, C++
The general structure is shown below.
I changed the name of the project. But in the titles of articles and tags, I will still leave "Simple tracker" so that there is no confusion.
The project consists of client and server …
ReadAlgorithms → Adjacency matrix
Алгоритм, матрица, Matrix, Graph
Adjacency Matrix is a way of representing a graph G = {V, E} as a Boolean matrix.
Representation of adjacency matrix
The size of the matrix is VxV, where V is the number of vertices in the graph, and the …
ReadDevelopment diaries → IMpos project. Part 003. Configuring logging. Creation and reading of the application settings base
Logging setup
Logging support in the application allows you to at least solve the following tasks:
- fixing user actions in the application;
- fixing the performance of operations with data;
- fixing critical events during program operation.
And in general, reading logs …
ReadDevelopment diaries → Why I am programming
In short, I always liked programming, but I never considered it as my main profession. There was a lack of desire and opportunities for deep immersion in the subject.
Now this is my tool for automating my activities. In fact …
ReadDevelopment diaries → IMpos project. Part 002. Project creation. Creating a GitHub repository. Importing a project.
I mainly work on SuSE Linux. Currently using openSUSE Tumbleweed, Qt 5.13.0. Users will use Windows. Therefore, I use GitHub to import projects when building for other platforms, as well as to work on it both at work and from …
ReadDevelopment diaries → IMpos project. Part 001. Statement of the problem
Small introduction.
For me, programming is a hobby in order to keep my thought processes in good shape. Therefore, for sure there will be not quite professional approaches to solving a particular problem. Therefore, I will always be glad to …
ReadQt → Improving performance with Qt 3D Studio 2.4
3D rendering speed is important for a 3D engine in addition to efficient use of system resources. The upcoming new release of Qt 3D Studio 2.4 significantly improves rendering performance as well as further savings on CPU and RAM resources. …
ReadDevelopment diaries → Simple Tracker project. Part 1: project requirements
Qt, Iscander Che, C++, Simple Tracker
The project implements a simple issue tracker primarily for software projects stored in Subversion. I hope to use it only for myself. If readers of this resource are interested, I will try to refine the code to the possibility of …
Read- Akiv Doros
- Nov. 11, 2024, 10:58 p.m.
C ++ - Test 004. Pointers, Arrays and Loops
- Result:50points,
- Rating points-4
- molni99
- Oct. 26, 2024, 8:37 a.m.
C ++ - Test 004. Pointers, Arrays and Loops
- Result:80points,
- Rating points4
- molni99
- Oct. 26, 2024, 8:29 a.m.
C ++ - Test 004. Pointers, Arrays and Loops
- Result:20points,
- Rating points-10