Evgenii Legotckoi
Oct. 15, 2015, 10:05 p.m.

QMLQML - 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 …

Read
Evgenii Legotckoi
Oct. 13, 2015, 9:37 p.m.

QMLQML - 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, …

Read
Evgenii Legotckoi
Oct. 12, 2015, 9:15 p.m.

QMLQML - 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 …

Read
Evgenii Legotckoi
Aug. 19, 2015, 1:59 p.m.

QtQt/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 …

Read
Evgenii Legotckoi
Aug. 17, 2015, 12:55 p.m.

QtQt/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 …

Read
Evgenii Legotckoi
Aug. 15, 2015, 10:31 p.m.

QtQt/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 …

Read
Evgenii Legotckoi
Aug. 14, 2015, 11:44 p.m.

QtQt/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 …
Read
Evgenii Legotckoi
Aug. 13, 2015, 11:29 p.m.

QtQt/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. …

Read
Evgenii Legotckoi
Aug. 12, 2015, 10:27 p.m.

QtQt/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 …

Read
Evgenii Legotckoi
Aug. 10, 2015, 10 a.m.

QtQt/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 …

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