Evgenii Legotckoi
Evgenii LegotckoiDec. 4, 2015, 12:18 p.m.

QtQt/C++ - Lesson 027. Polymorphism in Qt by the example of geometric shapes in QGraphicsScene

QGraphicsScene, Qt уроки, figure, QGraphicsItem, ооп, Полиморфизм, пример, Qt, square, triangle

Polymorphism is one of the paradigms of OOP (Object Oriented Programming). Polymorphism implements the ability to provide base-class properties and methods, the implementation of which is not known for future classes that inherit from this class. That is the base …

Read
Evgenii Legotckoi
Evgenii LegotckoiNov. 30, 2015, 8:49 a.m.

QtQt/C++ - Lesson 030. QCustomPlot – Introduction into working with charts

график, QCPItemTracer, Qt5, QCPCurve, QCustomPlot

Constantly I hear about QCustomPlot on working with graphs to Qt, but on the start of the made in one my application I worked without special libraries, and now in a same moment decided to get acquainted with this library. …

Read
Evgenii Legotckoi
Evgenii LegotckoiNov. 28, 2015, 10:06 a.m.

QMLQML - Lesson 019. Navigation Drawer in Qt Qml Android

Navigation Drawer, Qt, QtQuick, Qndroid, QML

One of the key controls in the Android app is the Navigation Drawer , but QML component is not ready for this item, but the guys from Cutehacks made your Navigation Drawer , the code of the component is laid …

Read
Evgenii Legotckoi
Evgenii LegotckoiNov. 27, 2015, 9:54 a.m.

QMLQML - Lesson 018. Loader in QML Qt – The working with the dynamic components

QML, QtQuick, Qt, Loader

For the organization of the dynamic components of the change is convenient to use a Loader component, which is included in QML QtQuick and is a container for components in your application, let's say that you need to periodically replace …

Read
Evgenii Legotckoi
Evgenii LegotckoiNov. 25, 2015, 9:43 a.m.

QMLQML - Lesson 017. Export data into CSV format from data model in QML Qt

CSV, Qt, QML, EXCEL

In that case, if you need to unload the table data from an application to a CSV file, the interface is more and is written in the QML, then hasten to this article, to give a little hint.

For example, …

Read
Evgenii Legotckoi
Evgenii LegotckoiNov. 25, 2015, 8:17 a.m.

QtQt/C++ - Lesson 029. Picture in database in Qt – Saving and Loading

SQL, изображение, QPixmap, база данных, Qt, BLOB, SQLite

Images in the database can be stored in BLOB format ( Binary Large Object ), that is an array of binary data format. BLOB format is also suitable for storing audio and video data in databases.

Consider the saving and …

Read
Evgenii Legotckoi
Evgenii LegotckoiNov. 24, 2015, 9:11 a.m.

QMLQML - Lesson 016. SQLite database and the working with it in QML Qt

Qt, Android, View, Model, SQLite, MVC, База данных, DataBase, QML

A small example to work with the database in QML Qt. This lesson brings together information on the use of signals and slots in the Qt QML , access to C++ classes from QML layer implementation of the application interface …

Read
Evgenii Legotckoi
Evgenii LegotckoiNov. 20, 2015, 10:23 a.m.

QtQt/C++ - Lesson 040. Types of data in different Databases in Qt

Qt, SQL, INTEGER, типы данных, DECIMAL, MS SQL

In the process of application development for Qt, which will have to work with databases, you must take into account the nuance that Qt driver target Databases may not support all types of data that you can lay in your …

Read
Evgenii Legotckoi
Evgenii LegotckoiNov. 18, 2015, 10:14 a.m.

QtQt/C++ - Lesson 039. How to paint stroke in QSqlTableModel by value in the column?

Qt, paint, QSqlTableModel

In the lesson on working with QSqlTableModel was detailed mapping table data from a SQL database. But with the question from one of the readers, do a small addition to this example.

The question was how to paint an entire …

Read
Evgenii Legotckoi
Evgenii LegotckoiNov. 11, 2015, 8:25 a.m.

QMLQML - Lesson 015. Development QML Data Mapper – Analog of QDataWidgetMapper

QDataWidgetMapper, QMLDataMapper, Qt, QML, mapper

In the process of transferring a GUI softiny with QWidgets on QML QDataWidgetMapper found no analogue for QML. This fact was somewhat spoiling the mood. But there was nothing, but to look for other ways to implement or make their …

Read
Evgenii Legotckoi
Evgenii LegotckoiNov. 10, 2015, 8:06 a.m.

QMLQML - Lesson 013. Positioning with Anchors

left, centerIn, bottom, Qt, anchors, right, top, QML

In addition to the more traditional Grid , Row , and Column , Qt Quick also provides a way to layout items using the concept of anchors . Each item can be thought of as having a set of 7 …

Read
Evgenii Legotckoi
Evgenii LegotckoiNov. 9, 2015, 4:03 a.m.

QMLQML - Lesson 012. Data transmission from the TextInput in ListView (Model / View)

TextInput, ListView, ListModel, Qt, Android, View, Model, QML, Delegate

Working with the ListView in QML is a fairly common aspect in the development of Android applications, since many applications have in their functional building lists of data, records, settings, etc. It is also true in developing a Desktop applications …

Read
SH

C++ - Test 001. The first program and data types

  • Result:33points,
  • Rating points-10
г
  • ги
  • April 23, 2024, 3:51 p.m.

C++ - Test 005. Structures and Classes

  • Result:41points,
  • Rating points-8
l
  • laei
  • April 23, 2024, 9:19 a.m.

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

  • Result:10points,
  • Rating points-10
Last comments
k
kmssrFeb. 8, 2024, 6:43 p.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, 10:30 a.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, 8:38 a.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. 18, 2023, 9:01 p.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
GarApril 22, 2024, 5:46 a.m.
Clipboard Как скопировать окно целиком в clipb?
DA
Dr Gangil AcademicsApril 20, 2024, 7:45 a.m.
Unlock Your Aesthetic Potential: Explore MSC in Facial Aesthetics and Cosmetology in India Embark on a transformative journey with an msc in facial aesthetics and cosmetology in india . Delve into the intricate world of beauty and rejuvenation, guided by expert faculty and …
a
a_vlasovApril 14, 2024, 6:41 a.m.
Мобильное приложение на C++Qt и бэкенд к нему на Django Rest Framework Евгений, добрый день! Такой вопрос. Верно ли следующее утверждение: Любое Android-приложение, написанное на Java/Kotlin чисто теоретически (пусть и с большими трудностями) можно написать и на C+…
Павел Дорофеев
Павел ДорофеевApril 14, 2024, 2:35 a.m.
QTableWidget с 2 заголовками Вот тут есть кастомный QTableView с многорядностью проект поддерживается, обращайтесь
f
fastrexApril 4, 2024, 4:47 a.m.
Вернуть старое поведение QComboBox, не менять индекс при resetModel Добрый день! У нас много проектов в которых используется QComboBox, в версии 5.5.1, когда модель испускает сигнал resetModel, currentIndex не менялся. В версии 5.15 при resetModel происходит try…

Follow us in social networks