IscanderChe
IscanderCheJuly 31, 2019, 3:57 a.m.

Development diariesSimple Tracker project. Part 7: server and client

Simple Tracker, Qt, Iscander Che, C++

Consider now the server and the client.

Questions regarding the general organization of client-server interaction can be found in this article: " An example of using QLocalServer and QLocalSocket ". Here I will touch only on the points directly related …

Read
IscanderChe
IscanderCheJuly 30, 2019, 3:06 a.m.

Development diariesSimple Tracker project. Part 6: server. Server slots

C++, Qt, Iscander Che, Simple Tracker

We will consider slots that are directly related to the server in conjunction with the client. For now, let's focus on those slots that relate to project and task management and general application slots.

Let's start with connections. I moved …

Read
mafulechka
mafulechkaJuly 29, 2019, 2:57 a.m.

AlgorithmsAlgorithm Prima

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

Prim's algorithm is a minimum spanning tree algorithm that takes a graph as input and finds a subset of the edges of that graph that forms a tree that includes each vertex and also has the minimum sum of weights …

Read
IscanderChe
IscanderCheJuly 26, 2019, 11:47 a.m.

Development diariesAbout iterators

лытдыбр, Qt, C++

When for the fourth time in one place I wrote something like this:

QStringList list;

// наполняем list по условию, т.е. элементов там может и не оказаться

if(!list.isEmpty())
{
    foreach(QString str, list)
    {
        // обходим каждый найденный элемент
    }
} …
Read
IscanderChe
IscanderCheJuly 26, 2019, 3:52 a.m.

Development diariesSimple Tracker project. Part 5: server. Task Data Model and View

Simple Tracker, Iscander Che, C++, Qt

Let's take a closer look at the table of tasks.

According to the requirements indicated at the beginning, the table should have looked like this.

At the time of development, it became clear that the logic of the stand-alone drop-down …

Read
mafulechka
mafulechkaJuly 25, 2019, 4 a.m.

AlgorithmsKruskal's algorithm

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

Kruskal's algorithm is a minimum spanning tree algorithm that takes a graph as input and finds a subset of that graph's edges that forms a tree that includes each vertex and also has the minimum sum of weights among all …

Read
IscanderChe
IscanderCheJuly 24, 2019, 8:56 a.m.

Development diariesSimple Tracker project. Part 4: server. Data Models and GUI of the Main Application Window

Iscander Che, Simple Tracker, Qt, C++

Now let's take a closer look at the internal structure of the tracker itself and its graphical environment.

This part, on the one hand, is important, since data models serve to move from the database to the use of data. …

Read
IscanderChe
IscanderCheJuly 23, 2019, 3:17 a.m.

Development diariesSimple Tracker project. Part 3: server. Database and its testing

Simple Tracker, Qt, Iscander Che, C++

I will implement the database in SQLite. The database should contain two tables: for projects and for tasks. The tables in a database are independent of each other. All database and table variables are global for consistency.


// database.h

#ifndef …
Read
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
Дмитрий

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

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

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

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

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

  • Result:80points,
  • Rating points4
Last comments
k
kmssrFeb. 9, 2024, 7: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, 11: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, 9: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, 10: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, 12:27 p.m.
добавить qlineseries в функции в функции: "GPlotter::addSeries(QString title, QVector &arr)" я вызываю метод setChart(...), я в конструктор передал адрес на QChartView элемент
BlinCT
BlinCTMay 5, 2024, 5:46 p.m.
Написать свой GraphsView Всем привет. В Qt есть давольно старый обьект дял работы с графиками ChartsView и есть в 6.7 новый но очень сырой и со слабым функционалом GraphsView. По этой причине я хочу написать х…
PS
Peter SonMay 4, 2024, 5: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, 2:07 a.m.
Мобильное приложение на C++Qt и бэкенд к нему на Django Rest Framework Добрый день. По моему мнению - да, но то, что будет касаться вызовов к функционалу Андроида, может создать огромные трудности.
IscanderChe
IscanderCheApril 30, 2024, 4:22 p.m.
Во Flask рендер шаблона не передаётся в браузер Доброе утро! Имеется вот такой шаблон: <!doctype html><html> <head> <title>{{ title }}</title> <link rel="stylesheet" href="{{ url_…

Follow us in social networks