Evgenii Legotckoi
Nov. 18, 2015, 9:14 p.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
Nov. 11, 2015, 7:25 p.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
Nov. 10, 2015, 7:06 p.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
Nov. 9, 2015, 3:03 p.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
Evgenii Legotckoi
Nov. 6, 2015, 7:17 p.m.

QMLQML - Lesson 014. GridLayout QML – Positioning of elements

GridLayout, Qt, QML, ячейка, cell, row, column

A short note, born out of the question of one of the regular readers of the site. When developing the application interface under QML for positioning objects in the GridLayout is necessary to use the functionality of embedded properties Layout. …

Read
Evgenii Legotckoi
Nov. 5, 2015, 2:26 p.m.

QMLQML - Lesson 011. Data transmission from QML QSqlQueryModel in the TableView

QSqlQueryModel, Qt, SQL, TableView, DataBase, QML

To represent database tables in the development TableView using QML You can use a class inherited from QSqlQueryModel . To do this, in the inherited class to define a method that would establish the respective roles of the table columns …

Read
Evgenii Legotckoi
Nov. 2, 2015, 1:55 p.m.

QMLQML - Lesson 010. Access to child objects in TabView

TabView, QML, reference error, Qt

The structure of objects in Qml is a tree in which to access the properties of objects underlying level please refer to the original object, then select the child object and select the child object property to which you want …

Read
Evgenii Legotckoi
Nov. 1, 2015, 11:39 p.m.

QMLQML - Lesson 008. How to work with system tray (QSystemTrayIcon)

QSystemTrayIcon, QML, Qt

When moving the application interface from Qt / C ++ to Qt / QML my hands reached and application icons in the system tray. The aim was to put an icon in the System Tray from C ++ to QML, …

Read
Evgenii Legotckoi
Oct. 26, 2015, 11:25 p.m.

QMLQML - Lesson 007. ListView. Dynamic creation and deletion of elements

ListView, ListModel, Qt, Android, ListItem, QML

I have already told in the article about the creation of dynamic widgets to Qt , how to create and delete buttons dynamically, as well as how to interact with them. And there used Vertical Layout, a case we can …

Read
Evgenii Legotckoi
Oct. 24, 2015, 1:30 p.m.

QMLQML - Lesson 009. Scalable interface in Qt QML Android

Android, Desktop, QML, Qt, scalable, scalable interface, масштабируемый интерфейс

If we talk about Scalable interface, that is scalable interfaces for developing applications on Qt, this is the main problem is that you need to create an interface that will be read perfectly on all screens, whether computer screen or …

Read
  • Last comments
  • AK
    April 1, 2025, 11:41 a.m.
    Добрый день. В данный момент работаю над проектом, где необходимо выводить звук из программы в определенное аудиоустройство (колонки, наушники, виртуальный кабель и т.д). Пишу на Qt5.12.12 поско…
  • Evgenii Legotckoi
    March 9, 2025, 9:02 p.m.
    К сожалению, я этого подсказать не могу, поскольку у меня нет необходимости в обходе блокировок и т.д. Поэтому я и не задавался решением этой проблемы. Ну выглядит так, что вам действитель…
  • VP
    March 9, 2025, 4:14 p.m.
    Здравствуйте! Я устанавливал Qt6 из исходников а также Qt Creator по отдельности. Все компоненты, связанные с разработкой для Android, установлены. Кроме одного... Когда пытаюсь скомпилиров…
  • ИМ
    Nov. 22, 2024, 9:51 p.m.
    Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
  • Evgenii Legotckoi
    Oct. 31, 2024, 11:37 p.m.
    Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup