Evgenii Legotckoi
Evgenii LegotckoiJan. 3, 2016, 11:35 a.m.

QtQt WinAPI - Lesson 005. Global HotKey WinAPI in Qt5

UnregisterHotKey, Qt, RegisterHotKey, горячие клавиши, HotKey, WinAPI

To work with global HotKey in Qt5 , there is a virtual method nativeEvent . This method replaces the methods winEvent , x11Event , macEvent of Qt 4.8 .

The especiality in the HotKey to Qt is that if the …

Read
Evgenii Legotckoi
Evgenii LegotckoiJan. 2, 2016, 12:30 p.m.

QtQt WinAPI - Lesson 008. Adding Qt application into Windows autorun using QSettings

автозагрузка, Qt, автозапуск, WinAPI, Windows

As is known, QSettings class allows you to store application settings in the registry of Windows . Due to this possibility, and a good knowledge of your Windows registry, you can add an application to autostart, or remove it from …

Read
Evgenii Legotckoi
Evgenii LegotckoiJan. 2, 2016, 10:33 a.m.

QtQt/C++ - Lesson 041. JSON file – How to get from site and parsing it

QJsonArray, QNetworkAccessManager, JSON, QJsonObject, QJsonDocument, QJsonValue

In the process of writing programs EColor appeared a problem in which it was necessary in some way to notify the user that a new version of the program. The solution to this problem was the presence of JSON file …

Read
Evgenii Legotckoi
Evgenii LegotckoiDec. 27, 2015, 9:09 a.m.

QtQt/C++ - Lesson 031. QCustomPlot – The build of charts with time

график, QDateTime, Qt, время, QCustomPlot

QCustomPlot Library has the ability to charting the scale of time, which is useful in analyzing the data, which change over time. To do this, you need to install a signature style to the time axis as QCPAxis::ltDateTime. And then …

Read
Evgenii Legotckoi
Evgenii LegotckoiDec. 24, 2015, 10:27 a.m.

QMLQML - Lesson 021. Switching between windows in QML

Qt, window, QtQuick, Quick, QML, Controls

One of the articles had a chance to answer the question the reader how to implement switching between windows in Q t, so that when you change an inactive window hidden. At the touch of a button opens a second …

Read
Evgenii Legotckoi
Evgenii LegotckoiDec. 23, 2015, 12:07 p.m.

QtQt/C++ - Lesson 037. The two-dimensional array using QVector

Qt, QVector, двумерный, одномерный, массив

Class QVector relates to a container class, and provides access to the items on the index, as well as a number of additional methods for ease of operation.

QVector instance of the class is essentially a one-dimensional array of objects. …

Read
Evgenii Legotckoi
Evgenii LegotckoiDec. 23, 2015, 9:36 a.m.

QtQt/C++ - Lesson 032. Saving picture in file from QCustomPlot

png, jpg, bmp, Qt, файл, сохранение, QCustomPlot, pdf

In a previous article on working with QCustomPlot was an example of the use of this library. But after the schedule is built, it may be necessary to make its preservation as a graphic file. QCustomPlot Library already provides methods …

Read
Evgenii Legotckoi
Evgenii LegotckoiDec. 18, 2015, 11:30 a.m.

QtQt/C++ - Lesson 036. QWebView – How to make simple browser on the Qt

браузер, QWebView, webkit, Qt, ssl

Note: The lesson is deprecated. With version Qt5.6 must use WebEngine

Well, who among us does not want to write your browser? Come on, do not deny it thought about the browser exactly were. So, the Qt has QWebView class …

Read
Evgenii Legotckoi
Evgenii LegotckoiDec. 13, 2015, 10:58 a.m.

QtQt/C++ - Lesson 035. Downloading files via HTTP with QNetworkAccessManager

http, скачивание файла, Qt, QNetworkAccessManager

To work with a network other than using QTcpSocket or QUdpSocket classes can use QNetworkAccessManager. This class provides the functionality to send requests across a network and get answers and easy to work with the HTTP protocol.

Therefore I propose …

Read
Evgenii Legotckoi
Evgenii LegotckoiDec. 11, 2015, 10:18 a.m.

QMLQML - Lesson 020. Introduction to Android Manifest in Qt Creator

Android Manifest, Android, Qt, QML, manifest

When it comes time to lead the development of Android on Qt, this is sooner or later we arrive at the need to work with the file AndroidManifest.xml. In this file, we have the ability to specify certain basic settings …

Read
Evgenii Legotckoi
Evgenii LegotckoiDec. 8, 2015, 10:20 a.m.

QtQt/C++ - Lesson 034. Echo Server based on QTcpServer

ECHO, Qt, QTcpSocket, QTcpServer, ECHO server

To work with TCP / IP stack Qt provides QTcpServer, QTcpSocket, and QUdpSocket classes. For the first acquaintance with the work of the local network write Echo server. Task echo server to send back to the sender of the data …

Read
Evgenii Legotckoi
Evgenii LegotckoiDec. 6, 2015, 9:47 a.m.

QtQt/C++ - Lesson 033. Working with QGraphicsObject instead of QGraphicsItem

QGraphicsScene, GameDev, QGraphicsItem, Qt, QGraphicsObject

My attention was drawn to the fact that for working with signals and slots instead of a class inherited from QGraphicsItem and from QObject , you can use a class inherited from QGraphicsObject . Indeed, if a little rummage in …

Read
d
  • dsfs
  • April 26, 2024, 2:56 p.m.

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

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

C++ - Test 002. Constants

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

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

  • Result:73points,
  • Rating points1
Last comments
k
kmssrFeb. 9, 2024, 5:43 a.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, 9:30 p.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, 7:38 p.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. 19, 2023, 8:01 a.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, 3:46 p.m.
Clipboard Как скопировать окно целиком в clipb?
DA
Dr Gangil AcademicsApril 20, 2024, 5:45 p.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, 4:41 p.m.
Мобильное приложение на C++Qt и бэкенд к нему на Django Rest Framework Евгений, добрый день! Такой вопрос. Верно ли следующее утверждение: Любое Android-приложение, написанное на Java/Kotlin чисто теоретически (пусть и с большими трудностями) можно написать и на C+…
Павел Дорофеев
Павел ДорофеевApril 14, 2024, 12:35 p.m.
QTableWidget с 2 заголовками Вот тут есть кастомный QTableView с многорядностью проект поддерживается, обращайтесь
f
fastrexApril 4, 2024, 2:47 p.m.
Вернуть старое поведение QComboBox, не менять индекс при resetModel Добрый день! У нас много проектов в которых используется QComboBox, в версии 5.5.1, когда модель испускает сигнал resetModel, currentIndex не менялся. В версии 5.15 при resetModel происходит try…

Follow us in social networks