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
AD

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

  • Result:50points,
  • Rating points-4
m

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

  • Result:80points,
  • Rating points4
m

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

  • Result:20points,
  • Rating points-10
Last comments
ИМ
Игорь МаксимовNov. 22, 2024, 7:51 p.m.
Django - Tutorial 017. Customize the login page to Django Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
Evgenii Legotckoi
Evgenii LegotckoiOct. 31, 2024, 9:37 p.m.
Django - Lesson 064. How to write a Python Markdown extension Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup
A
ALO1ZEOct. 19, 2024, 3:19 p.m.
Fb3 file reader on Qt Creator Подскажите как это запустить? Я не шарю в программировании и кодинге. Скачал и установаил Qt, но куча ошибок выдается и не запустить. А очень надо fb3 переконвертировать в html
ИМ
Игорь МаксимовOct. 5, 2024, 2:51 p.m.
Django - Lesson 064. How to write a Python Markdown extension Приветствую Евгений! У меня вопрос. Можно ли вставлять свои классы в разметку редактора markdown? Допустим имея стандартную разметку: <ul> <li></li> <li></l…
d
dblas5July 5, 2024, 6:02 p.m.
QML - Lesson 016. SQLite database and the working with it in QML Qt Здравствуйте, возникает такая проблема (я новичок): ApplicationWindow неизвестный элемент. (М300) для TextField и Button аналогично. Могу предположить, что из-за более новой верси…
Now discuss on the forum
m
moogoNov. 22, 2024, 3:17 p.m.
Mosquito Spray System Effective Mosquito Systems for Backyard | Eco-Friendly Misting Control Device & Repellent Spray - Moogo ; Upgrade your backyard with our mosquito-repellent device! Our misters conce…
Evgenii Legotckoi
Evgenii LegotckoiJune 24, 2024, 10:11 p.m.
добавить qlineseries в функции Я тут. Работы оень много. Отправил его в бан.
t
tonypeachey1Nov. 15, 2024, 2:04 p.m.
google domain [url=https://google.com/]domain[/url] domain [http://www.example.com link title]
NSProject
NSProjectJune 4, 2022, 10:49 a.m.
Всё ещё разбираюсь с кешем. В следствии прочтения данной статьи. Я принял для себя решение сделать кеширование свойств менеджера модели LikeDislike. И так как установка evileg_core для меня не была возможна, ибо он писался…

Follow us in social networks