
Qt → Автоматически обновляться от QAbstractModel
Добрый день.
Наследовал QAbstractModel на с++ и использую ее в QML. Как автоматом обновлять данные в QML при изменении данных в QAbstractModel?
Попробовал с помощью void emitSignalUpdateModel();, но не получилось.
Q_PROPERTY для QML
Q_PROPERTY(ModelRegistration* modelRegistr…

Qt → Дополнить qml tab в существующий TabBar
Всем привет.
Возникла необходимость добавить один таб в TabBar который заполняется через Repeater.
Я пытаюсь добавить статичный один tab и уже после него Repeater должин остальные дополнять.
Через Repeater я добавляю остальыне tab потому что для разных обьектов и tab меняются. Н…
Qt → Как сменить backend Qt Multimedia в Windows ?
GStreamer, DirectShow, Qt, QT
Разрабатываю программу выводящую 10-30 видеопотоков по rtsp. Использую multimedia. С использованием DirectShow (он по-умолчанию, я никак с ним не взаимодействую, только вижу, что он ошибки присылает) получается вывести только 5-6 видеопотоков, далее видеокарта загружается на 100% videodecode. …
QML → Очень тормозит QML Designer
Проектирую на QML и С++ уже не первую SCADA (ПО управления произвозством) и постоянно сталкиваюсь с тем, что к концу разработки, когда основной файл мнемосхемы уже от 3 до 4,5 тыс строк, дизайнер начинает дико тупить. Выделил элемент? - подожди минутку. Иногда вообще зависает на вечно иногда н…

QML → Мерцание при обновлении картинки в QML
Добрый день.
Получаю от сервера 10-30 картинок в секунду, вот так преобразовываю
QUrl AppCore::imageToUrl(const QImage &image) { QByteArray byteArray; QBuffer buffer(&byteArray); buffer.open(QIODevice::WriteOnly); image.save(&buffer, "png"); QString base…

Qt → Qt/C++ Tutorial 092. Creating translations for external text sources
Qt 6, Qt, Qt 5, QtLinguist, translation
Today we will discuss a rather interesting option for adding translation to a Qt/C++ application. Namely, adding translations for texts from external sources when you display texts from databases, an external API, or just some other files.
Such a situation can arise in the following case, for example, analysts in your project form sets of data and texts in some external database or text files, but there is no possibility of multilingualism for some reason. And therefore, you do not have the option to select the language as an additional parameter when requesting this data. Or, for example, the final data is downloaded from an external resource and stored in a SQLite database, of course, without additional translations. But at the same time, you are developing a multilingual application and you need to somehow generate translation files for these texts, so that the translation team can translate them, and you can connect them in the application.
But in Qt it is possible to solve this problem as well. In such situations, you can also generate source code files in the same way, for example, generate them when importing data during application development, and then generate translation files with the extension *.ts , which are used in QtLinguist to translate the application to Qt, and then generate binary *.qm translation files that will be included in the application.
Let's see how it works and what needs to be done for this.
Qt → Qwt не обновляется информация на графике
Добрый день, использую Qwt для тестового задания, программа работает правильно, но не получается заставить график обновиться для отображения новых точек. Отображение новых точек происходит только при изменении масштаба графика колесиком мыши. Пробовал прописывать в слоте таймера следующие вещи…
Qt → С++ и qml передача модели
Qt → Как изменить цвет выбранных элементов QListView ?
Добрый день.
Был уверен что это можно сделать с помощью QSS в редакторе форм, но не вышло. Очень хочется чтобы цвет элемента всегда был blue, не зависимо от темы рабочего стола.
Пробовал сделать у QListView такой стиль:
background-color: rgb(230, 230,230 ); border: 0px solid whit…

Qt → Release of the C++/Qt and QML application deployment utility CQtDeployer v1.5.0
deploy, cqtdeployer, QML, Qt, deb
Fornex
Let me recommend you a great European Fornex hosting.
Fornex has proven itself to be a stable host over the years.
For Django projects I recommend VPS hosting
Following the link you will receive a 5% discount on shared hosting services, dedicated servers, VPS and VPN
View HostingShare on social networks
Donate
The EVILEG project has switched to a non-commercial basis and will develop solely on the enthusiasm of the site creator, the enthusiasm of users, donations and the hosting referral system
Thank you for your support
Available ways to support the project
PayPal
PatreonYandex.MoneyMore