Qt → Qt/C++ - Lesson 039. How to paint stroke in QSqlTableModel by value in the column?
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 …
QML → QML - 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 …
QML → QML - 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 …
QML → QML - 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. …
QML → QML - 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 …
QML → QML - 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 …
QML → QML - Lesson 008. How to work with system tray (QSystemTrayIcon)
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, …
QML → QML - 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 …
QML → QML - 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 …
- Last comments
- AKApril 1, 2025, 11:41 a.m.Добрый день. В данный момент работаю над проектом, где необходимо выводить звук из программы в определенное аудиоустройство (колонки, наушники, виртуальный кабель и т.д). Пишу на Qt5.12.12 поско…
- VPMarch 9, 2025, 4:14 p.m.Здравствуйте! Я устанавливал Qt6 из исходников а также Qt Creator по отдельности. Все компоненты, связанные с разработкой для Android, установлены. Кроме одного... Когда пытаюсь скомпилиров…
- ИМNov. 22, 2024, 9:51 p.m.Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
- Now discuss on the forum
- fFeb. 15, 2025, 1:46 p.m.Подскажите, пожалуйста! Как данный класс можно дополнить, чтобы созданные объекты можно было перемещать мышкой по сцене?
- Не запускается компьютер (точнее работает блок , но сам монитор вообще жесть)В общем я ничего с интернета не скачивала в последнее время. На компе никаких левых пр…
- Вопрос решен. Узнать QModelIndex элемента на который мы перетаскиваем другой элемент, можно с помощью функции indexAt(event->position().toPoint()) представления QTreeViev вызываемой в переопр…
- Спасибо большое за помощь и простите за то что отнял время своей невнимательностью.