AVR → TWI interface in microcontrollers AVR Atmega
I remembered a little hardcore in Hardwar with TWI interface, which takes a few years ago. Who would not say, and Assembler perfectly cleanses the brain and develops an understanding of the algorithms. The most important thing I learned while …
Data Transmission Technologies → DELL Networking. Basics Routing Policy (Part 1)
Corporate networks, which are typically used for multiple departments in an organization is often divided into VLANs for increased performance. Administrators can combine multiple physical switches into a single virtual network to create a more efficient use of bandwidth for …
Qt → Qt/C++ - Lesson 009. QTimer – How to work with timer?
QTimer example, QTimer таймер, Qt, Qt урок, QTimer
Let's talk a bit about using the QTimer class in Qt. This is a small light topic after a series of lengthy articles on QSqlTabelModel and its consequences. And then already at the very gray matter boils.
We may need …
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 …
Data Transmission Technologies → DELL Networking. STP Configuring
Configuring STP for DELL switches (depending on the version of the OS switch syntax may vary slightly.)
Before making STP setting on the switch port, you must set a global preference protocol:
- console(config)# spanning-tree
- console(config)# spanning-tree mode rstp
- console(config)# spanning-tree …
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 WinAPI - Lesson 002. How to make win installer for Qt apllication?
WinAPI, Инсталлятор, InnoSetup, Windows, Qt, DLL
In the previous article we learned how to quickly collect all used in the project DLL-libraries. And now it is time to talk about how to build an installer for OS Windows. For a long time I use quite comfortable …
Qt → Qt WinAPI - Lesson 001. How to collect all DLL, which used in Qt project?
Qt, DLL Collector, DLLCollector, WinAPI, DLL
Sooner or later before any Qt-developer gets the necessary migration of your application on other computers, and then there is the problem of the availability of libraries on the target computer that are needed to start and run the application. …
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 …
- 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
- МАApril 1, 2025, 4:21 p.m.0ff763fe-4e50-455d-a3a6-5699c243b1a5_17_44_22_1.xml
- fFeb. 15, 2025, 1:46 p.m.Подскажите, пожалуйста! Как данный класс можно дополнить, чтобы созданные объекты можно было перемещать мышкой по сцене?
- Не запускается компьютер (точнее работает блок , но сам монитор вообще жесть)В общем я ничего с интернета не скачивала в последнее время. На компе никаких левых пр…
- Вопрос решен. Узнать QModelIndex элемента на который мы перетаскиваем другой элемент, можно с помощью функции indexAt(event->position().toPoint()) представления QTreeViev вызываемой в переопр…