Реклама

SetWindowsHookEx – Logging mouse events via WinAPI

Functional WinAPI allows by using hooks to monitor system events, such as mouse movement and clicks. This functionality based on callback functions, so if you want to use the Qt system of signaling and slots, you will need to pass one of the methods as a callback to a function for registering callback on a Windows…

Logging Qt application events to a text file

All developers uses macro qDebug(), when debugging an application written in the Qt, but there are also macros qInfo(), qWarning(), qCritical() and qFatal() (which, as of this writing has errors and did not work). With these events, you can divide errors in the application on the level of significance and use filters. To redirect error…
Advertisement

QTranslator – dynamic translation of multilingual application to Qt

Sooner or later, the developer of Qt applications meets the need multilanguage support of  his application. Then you can to use QTranslator class and Qt Linguist for creating of translations. QTranslator object class is used to load translation from a special file with the extension .qm, which is a hexadecimal file of translations. This file is compiled from…