Ruslan Polupan
Ruslan PolupanJuly 19, 2019, 10:25 a.m.

Development diariesIMpos 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

#ifndef OPTIONS_H
#define OPTIONS_H

#include …
Read
Ruslan Polupan
Ruslan PolupanJuly 19, 2019, 6:24 a.m.

Development diariesIMpos 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: …

Read
IscanderChe
IscanderCheJuly 19, 2019, 2:55 a.m.

QtExample Using QLocalServer and QLocalSocket

Qt

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 …

Read
mafulechka
mafulechkaJuly 16, 2019, 5:03 a.m.

AlgorithmsBreadth first search (BFS)

Tree, Алгоритм, Дерево

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 …

Read
IscanderChe
IscanderCheJuly 15, 2019, 7:32 a.m.

Development diariesSimple 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 …

Read
mafulechka
mafulechkaJuly 15, 2019, 3:37 a.m.

AlgorithmsAdjacency 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 …

Read
Ruslan Polupan
Ruslan PolupanJuly 12, 2019, 6:29 a.m.

Development diariesIMpos project. Part 003. Configuring logging. Creation and reading of the application settings base

database, QSQLITE, Qt, Logs

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 …

Read
IscanderChe
IscanderCheJuly 12, 2019, 2:36 a.m.

Development diariesWhy 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 …

Read
Ruslan Polupan
Ruslan PolupanJuly 11, 2019, 4:26 a.m.

Development diariesIMpos project. Part 002. Project creation. Creating a GitHub repository. Importing a project.

Qt, Git, gitHub, qtcreator

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 …

Read
Ruslan Polupan
Ruslan PolupanJuly 10, 2019, 8:29 a.m.

Development diariesIMpos project. Part 001. Statement of the problem

Qt, QIBASE, FireBird

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 …

Read
mafulechka
mafulechkaJuly 10, 2019, 3:17 a.m.

QtImproving performance with Qt 3D Studio 2.4

Blog, Plot, Qt, Qt3D

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. …

Read
IscanderChe
IscanderCheJuly 9, 2019, 7:31 a.m.

Development diariesSimple 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
Дмитрий

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:60points,
  • Rating points-1
Дмитрий

C++ - Тест 003. Условия и циклы

  • Result:92points,
  • Rating points8
d
  • dsfs
  • April 26, 2024, 2:56 p.m.

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:80points,
  • Rating points4
Last comments
k
kmssrFeb. 9, 2024, 5:43 a.m.
Qt Linux - Lesson 001. Autorun Qt application under Linux как сделать автозапуск для флэтпака, который не даёт создавать файлы в ~/.config - вот это вопрос ))
Qt WinAPI - Lesson 007. Working with ICMP Ping in Qt Без строки #include <QRegularExpressionValidator> в заголовочном файле не работает валидатор.
EVA
EVADec. 25, 2023, 9:30 p.m.
Boost - static linking in CMake project under Windows Ошибка LNK1104 часто возникает, когда компоновщик не может найти или открыть файл библиотеки. В вашем случае, это файл libboost_locale-vc142-mt-gd-x64-1_74.lib из библиотеки Boost для C+…
J
JonnyJoDec. 25, 2023, 7:38 p.m.
Boost - static linking in CMake project under Windows Сделал всё по-как у вас, но выдаёт ошибку [build] LINK : fatal error LNK1104: не удается открыть файл "libboost_locale-vc142-mt-gd-x64-1_74.lib" Хоть убей, не могу понять в чём дел…
G
GvozdikDec. 19, 2023, 8:01 a.m.
Qt/C++ - Lesson 056. Connecting the Boost library in Qt for MinGW and MSVC compilers Для решения твой проблемы добавь в файл .pro строчку "LIBS += -lws2_32" она решит проблему , лично мне помогло.
Now discuss on the forum
G
George13May 7, 2024, 10:27 a.m.
добавить qlineseries в функции в функции: "GPlotter::addSeries(QString title, QVector &arr)" я вызываю метод setChart(...), я в конструктор передал адрес на QChartView элемент
BlinCT
BlinCTMay 5, 2024, 3:46 p.m.
Написать свой GraphsView Всем привет. В Qt есть давольно старый обьект дял работы с графиками ChartsView и есть в 6.7 новый но очень сырой и со слабым функционалом GraphsView. По этой причине я хочу написать х…
PS
Peter SonMay 4, 2024, 3:57 a.m.
Best Indian Food Restaurant In Cincinnati OH Ready to embark on a gastronomic journey like no other? Join us at App india restaurant and discover why we're renowned as the Best Indian Food Restaurant In Cincinnati OH . Whether y…
Evgenii Legotckoi
Evgenii LegotckoiMay 3, 2024, 12:07 a.m.
Мобильное приложение на C++Qt и бэкенд к нему на Django Rest Framework Добрый день. По моему мнению - да, но то, что будет касаться вызовов к функционалу Андроида, может создать огромные трудности.
IscanderChe
IscanderCheApril 30, 2024, 2:22 p.m.
Во Flask рендер шаблона не передаётся в браузер Доброе утро! Имеется вот такой шаблон: <!doctype html><html> <head> <title>{{ title }}</title> <link rel="stylesheet" href="{{ url_…

Follow us in social networks