QML → QML - Lesson 004. Signals and Slots in Qt QML
qml, qt, connections, signal qml, qml урок, qt урок, сигналы и слоты qml, slot qml, example, qt qml
And we got to transfer data between a layer of QML and C ++ layer. Frankly speaking, the principle is as simple as just using signals and slots in a single layer C ++. Especially in Qt 5.5.
An example …
QML → QML - Lesson 003. Custom Dialog in QML Android
qml custom dialog, qt, qt qml dialog, dialog android, qml dialog android, qml custom dialog example, custom dialog, qt android
Once we made customized buttons in the previous lesson , it is time to make the Custom Dialog, which will look more natively for Android devices, and can even look like the design on the IOS device. In any case, …
QML → QML - Lesson 002. Custom Button in QML Android
qml, qt, qml custom button android, qml button android, qml button, Android, qml custom button, qt qml
I will begin a series of lessons on QML Android to customize a button, or better to say with styling, as in this case the term is more appropriate. We will not invoke the dialog boxes in this tutorial, but …
Qt → Qt/C++ - Lesson 008. QDataWidgetMapper - Working with the database via a widget
QDataWidgetMapper example, qt, sql, mapper, QSqlTableModel, QDataWidgetMapper
To display the data in a widget with an arbitrary use QDataMapperWidget class. To work with this widget is still required model for presentation.
For example, QSqlTableModel or QSqlRelationalTableModel , but the data is not already substituted QTableView , and …
Qt → Qt/C++ - Lesson 006. QSqlQueryModel – Tables in Qt with SQL-query
query, qt, QSqlQueryModel, qt таблицы, qsqlquerymodel example
Using QSqlQueryModel to form tables in Qt is the most hardcore version with the lowest level of abstraction than the use QSqlTableModel or QSqlRelationalTableModel . But with all this, and the most flexible option, which requires a deeper knowledge of …
Qt → Qt/C++ - Lesson 005. QSqlRelationalTableModel - The work with relational tables
QSqlRelationalTableModel example, qt, sql, sqlite, QSqlRelationalTableModel, qt таблицы
In Qt to represent table fields, which involve foreign keys to other tables database, QSqlRelationalTableModel can be used, which is a more advanced version QSqlTableModel class, which was considered in the previous article .
This class allows you to set …
Qt → Qt/C++ - Lesson 004. QSqlTableModel – How to present the table from database?
database, QSqlTableModel, QSqlTableModel example, qt, qt таблицы, sql, sqlite
In order to present the information in a database table we can to use the following classes:
- QSqlQueryModel - model that generates a table by defining the raw SQL-query. It may be useful in the formation of a special custom …
Qt → Qt/C++ - Lesson 003. QSettings - How to save application settings?
QSettings, QSettings example, QSettings пример, qt, Настройки, сохранение настроек
Saving application settings - this is one of the first things that beginners learn when working with the Qt framework. For this purpose QSettings class that allows you to save the settings or operating system registry or a text file. …
Qt → Qt/C++ - Lesson 002. QSystemTrayIcon - How to minimize the application to the system tray?
QSystemTrayIcon, Tray, qt, трей
Similar article on PyQt5/Python
Today will discuss the way to turn off the application, the Qt framework, written in, the operating system tray using QSystemTrayIcon class. This function is very useful for applications that need to run in the background …
Qt → Qt/C++ - Lesson 001. QLineEdit IP Address
ip адрес, lineedit, ip address, qtcreator, QLineEdit IP Address, qt, QLineEdit example, qlineedit
Available similar articles in Qt/QML and PyQt5/Python
When you will develop network applications, you may need to create form for input ip-address, but the use of a simple method setInputMask("000.000.000.000;_"); of QLineEdit does not provide the proper result as this …
- 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 вызываемой в переопр…
- Спасибо большое за помощь и простите за то что отнял время своей невнимательностью.