Evgenii Legotckoi
Evgenii LegotckoiAug. 21, 2015, 9:30 p.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
Evgenii LegotckoiAug. 21, 2015, 12: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
Evgenii LegotckoiAug. 20, 2015, 8:45 a.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
Evgenii LegotckoiAug. 19, 2015, 3:59 a.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
Evgenii LegotckoiAug. 18, 2015, 12: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
Evgenii LegotckoiAug. 17, 2015, 2:55 a.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
Evgenii LegotckoiAug. 16, 2015, 11:32 a.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
Evgenii LegotckoiAug. 16, 2015, 10:43 a.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
Evgenii LegotckoiAug. 15, 2015, 12: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
Evgenii LegotckoiAug. 14, 2015, 1: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
Evgenii LegotckoiAug. 13, 2015, 1: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
Evgenii LegotckoiAug. 12, 2015, 12: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
d
  • dsfs
  • April 26, 2024, 1:56 a.m.

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:80points,
  • Rating points4
d
  • dsfs
  • April 26, 2024, 1:45 a.m.

C++ - Test 002. Constants

  • Result:50points,
  • Rating points-4
d
  • dsfs
  • April 26, 2024, 1:35 a.m.

C++ - Test 001. The first program and data types

  • Result:73points,
  • Rating points1
Last comments
k
kmssrFeb. 8, 2024, 3:43 p.m.
Qt Linux - Lesson 001. Autorun Qt application under Linux как сделать автозапуск для флэтпака, который не даёт создавать файлы в ~/.config - вот это вопрос ))
Qt WinAPI - Lesson 007. Working with ICMP Ping in Qt Без строки #include <QRegularExpressionValidator> в заголовочном файле не работает валидатор.
EVA
EVADec. 25, 2023, 7:30 a.m.
Boost - static linking in CMake project under Windows Ошибка LNK1104 часто возникает, когда компоновщик не может найти или открыть файл библиотеки. В вашем случае, это файл libboost_locale-vc142-mt-gd-x64-1_74.lib из библиотеки Boost для C+…
J
JonnyJoDec. 25, 2023, 5:38 a.m.
Boost - static linking in CMake project under Windows Сделал всё по-как у вас, но выдаёт ошибку [build] LINK : fatal error LNK1104: не удается открыть файл "libboost_locale-vc142-mt-gd-x64-1_74.lib" Хоть убей, не могу понять в чём дел…
G
GvozdikDec. 18, 2023, 6:01 p.m.
Qt/C++ - Lesson 056. Connecting the Boost library in Qt for MinGW and MSVC compilers Для решения твой проблемы добавь в файл .pro строчку "LIBS += -lws2_32" она решит проблему , лично мне помогло.
Now discuss on the forum
G
GarApril 22, 2024, 2:46 a.m.
Clipboard Как скопировать окно целиком в clipb?
DA
Dr Gangil AcademicsApril 20, 2024, 4:45 a.m.
Unlock Your Aesthetic Potential: Explore MSC in Facial Aesthetics and Cosmetology in India Embark on a transformative journey with an msc in facial aesthetics and cosmetology in india . Delve into the intricate world of beauty and rejuvenation, guided by expert faculty and …
a
a_vlasovApril 14, 2024, 3:41 a.m.
Мобильное приложение на C++Qt и бэкенд к нему на Django Rest Framework Евгений, добрый день! Такой вопрос. Верно ли следующее утверждение: Любое Android-приложение, написанное на Java/Kotlin чисто теоретически (пусть и с большими трудностями) можно написать и на C+…
Павел Дорофеев
Павел ДорофеевApril 13, 2024, 11:35 p.m.
QTableWidget с 2 заголовками Вот тут есть кастомный QTableView с многорядностью проект поддерживается, обращайтесь
f
fastrexApril 4, 2024, 1:47 a.m.
Вернуть старое поведение QComboBox, не менять индекс при resetModel Добрый день! У нас много проектов в которых используется QComboBox, в версии 5.5.1, когда модель испускает сигнал resetModel, currentIndex не менялся. В версии 5.15 при resetModel происходит try…

Follow us in social networks