Evgenii Legotckoi
Aug. 23, 2015, 7 a.m.

AVRBCD format in Assembler in AVR Atmega

BCD, Atmega

Decimal numbers machine language may be represented in the form of eight-bit sequences of ones and zeros, that is bytes. However, there are two types of presentation formats decimal numbers. It is packed format (BCD), and unpacked.

Uncompressed format

In …

Read
Evgenii Legotckoi
Aug. 22, 2015, 7:30 a.m.

AVRTWI interface in microcontrollers AVR Atmega

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

Read
Evgenii Legotckoi
Aug. 21, 2015, 10:26 p.m.

Data Transmission TechnologiesDELL Networking. Basics Routing Policy (Part 1)

DELL, PBR, Route-Map

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 …

Read
Evgenii Legotckoi
Aug. 20, 2015, 6:45 p.m.

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

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. 18, 2015, 10:20 p.m.

Data Transmission TechnologiesDELL Networking. STP Configuring

MSTP, RSTP, STP

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 …
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. 16, 2015, 9:32 p.m.

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

Read
Evgenii Legotckoi
Aug. 16, 2015, 8:43 p.m.

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

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
  • Last comments
  • AK
    April 24, 2025, 12:04 p.m.
    UPD: Переписал логику воспроизведения через стороннюю библиотеку BASS. Там выбрать можно
  • Evgenii Legotckoi
    April 16, 2025, 5:08 p.m.
    Благодарю за отзыв. И вам желаю всяческих успехов!
  • IscanderChe
    April 12, 2025, 5:12 p.m.
    Добрый день. Спасибо Вам за этот проект и отдельно за ответы на форуме, которые мне очень помогли в некоммерческих пет-проектах. Профессиональным программистом я так и не стал, но узнал мно…
  • AK
    April 1, 2025, 11:41 a.m.
    Добрый день. В данный момент работаю над проектом, где необходимо выводить звук из программы в определенное аудиоустройство (колонки, наушники, виртуальный кабель и т.д). Пишу на Qt5.12.12 поско…
  • Evgenii Legotckoi
    March 9, 2025, 9:02 p.m.
    К сожалению, я этого подсказать не могу, поскольку у меня нет необходимости в обходе блокировок и т.д. Поэтому я и не задавался решением этой проблемы. Ну выглядит так, что вам действитель…