Ruslan Polupan
Ruslan PolupanJuly 22, 2019, 11:57 a.m.

Development diariesIMpos project. Part 008. Editing the user guide

QTableWidgetItem, QAction, QTableWidget, QDialog

Dialog for editing the user directory

In the mainwindow.ui form, add the Users menu item to which the actionUsers object corresponds. Assign an icon and a hotkey to it.
Create a Qt Designer Form Class named UsersDialog.
In the MainWindow::on_actionUsers_triggered() …

Read
Ruslan Polupan
Ruslan PolupanJuly 21, 2019, 2:58 a.m.

Development diariesIMpos project. Part 007. Displaying information about the connection and the current user. Menu creation. Application settings dialog.

trigger, QStatusBar, SQLite, QMenu, QAction

Storing information about the current user

After opening the main window of the application, I would like the status bar to display the name of the current user and information about connecting to the central database.
I also wanted to …

Read
Andrei Yankovich
Andrei YankovichJuly 20, 2019, 2:36 p.m.

Projects based on QtRelease of the Qt-Secret encryption library v1.2.0 with RSA8192 support

BIGInt, RSA, GMP, qt, encryption, AES, QuasarApp, Qt-Sekret, Library

Qt-Secret logo


After a month of development, a release has been prepared for the cross-platform encryption library Qt-Secret v1.2.0 simultaneously with the release of a library of integer calculations of a certain size QtBigInt . The original Qt-Secret text components are shipped …

Read
Ruslan Polupan
Ruslan PolupanJuly 20, 2019, 3:36 a.m.

Development diariesIMpos project. Part 006. Connection to the central Fierbird base. Dialogue for setting up a connection to the central bank.

QDialog, FireBird, QSettings, QIBASE, Qt

CB connection settings dialog

We will store the connection settings using QSettings in a text file, i.e. using QSettings::IniFormat. In the DataBases class, add the bool connectCenralDB() method in which we implement the connection.
If the connection attempt is unsuccessful, …

Read
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
Ua

Qt - Test 001. Signals and slots

  • Result:84points,
  • Rating points4
Ua

Qt - Test 001. Signals and slots

  • Result:42points,
  • Rating points-8
ОК

Qt - Test 001. Signals and slots

  • Result:47points,
  • Rating points-6
Last comments
ИМ
Игорь МаксимовNov. 22, 2024, 10:51 p.m.
Django - Tutorial 017. Customize the login page to Django Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
Evgenii Legotckoi
Evgenii LegotckoiNov. 1, 2024, 12:37 a.m.
Django - Lesson 064. How to write a Python Markdown extension Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup
A
ALO1ZEOct. 19, 2024, 6:19 p.m.
Fb3 file reader on Qt Creator Подскажите как это запустить? Я не шарю в программировании и кодинге. Скачал и установаил Qt, но куча ошибок выдается и не запустить. А очень надо fb3 переконвертировать в html
ИМ
Игорь МаксимовOct. 5, 2024, 5:51 p.m.
Django - Lesson 064. How to write a Python Markdown extension Приветствую Евгений! У меня вопрос. Можно ли вставлять свои классы в разметку редактора markdown? Допустим имея стандартную разметку: <ul> <li></li> <li></l…
d
dblas5July 5, 2024, 9: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
NW
Nayo WaiJan. 30, 2025, 8:22 p.m.
не запускается компьютер!!! Не запускается компьютер (точнее работает блок , но сам монитор вообще жесть)В общем я ничего с интернета не скачивала в последнее время. На компе никаких левых пр…
n
nklyJan. 3, 2025, 1:52 p.m.
Нужно запретить перемещение только некоторых итемов, остальные перемещать можно. Вопрос решен. Узнать QModelIndex элемента на который мы перетаскиваем другой элемент, можно с помощью функции indexAt(event->position().toPoint()) представления QTreeViev вызываемой в переопр…
M
MarselAug. 17, 2023, 12:26 a.m.
OAuth2.0 через VK, получение email Спасибо большое за помощь и простите за то что отнял время своей невнимательностью.
Evgenii Legotckoi
Evgenii LegotckoiJune 25, 2024, 1:11 a.m.
добавить qlineseries в функции Я тут. Работы оень много. Отправил его в бан.
t
tonypeachey1Nov. 15, 2024, 5:04 p.m.
google domain [url=https://google.com/]domain[/url] domain [http://www.example.com link title]

Follow us in social networks