Evgenii Legotckoi
Nov. 26, 2019, 4:53 a.m.

PyQt5PyQt5 - Tutorial 009. Using QThread with MoveToThread

moveToThread, QObject, QThread, PyQt5, Qt

Based on one of the questions on the forum, I wrote an example on using QThread in PyQt5, as well as using the moveToThread method to move the class object of the inherited QObject to another thread.

In this example, …

Read
Ruslan Polupan
Aug. 7, 2019, 8:41 p.m.

Development diariesIMpos project. Part 010. Obtaining names of fuel

QTableWidget, QThread

We received a list of gas stations with which we will perform further actions.
We create a slot called when clicking on the CheckBox on the GroupBox Actions.

  1. void FuelNameDialog::on_groupBoxActions_clicked(bool checked)
  2. {
  3. if(checked){
  4. //Очищаем список терминалов передаваемых для дальнейшей обработки …
Read
Ruslan Polupan
Nov. 20, 2018, 6:42 p.m.

QtQt - Selecting data from a QSqlQuery database in a QThread stream and creating a QAbstractTableModel model based on it

QThread, Qt, QAbstractTableModel, QSqlQuery

There was a need to obtain a large amount of data from the database for the subsequent work of the user with them (Reference book of goods in a particular store).

For the code do not kick much. Programming for …

Read

QtBlocking serial port. QSerialPort + QThread.

Qt, QSerialPort, QThread

I had the task of writing software for controlling the radiator of the X-ray. Namely: realize the protocol of data transfer between the PC and the radiator of the X-ray and create the user-defined functions "Set parameters", "Enable X-ray", "Switch …

Read
Evgenii Legotckoi
May 15, 2016, 5:11 p.m.

QtQt/C++ - Lesson 048. QThread — How to work with threads using moveToThread

QObject, потоки, moveToThread, Qt, QThread

In a previous article we are only a little touch to working with threads , and in the version that is more for the customization of thread, although it can be used to perform outside work not directly related to …

Read
Evgenii Legotckoi
May 9, 2016, 11:12 p.m.

QtQt/C++ - Lesson 047. QThread – How to make threads in Qt

потоки, QThread, Qt

One of the most common ways to create a separate parallel threads in an application to Qt , and perform useful tasks in them is the inheritance of QThread class and override the method run() , which will be carried …

Read
Evgenii Legotckoi
April 7, 2016, 11:05 p.m.

QtQt/C++ - Lesson 046. QThread - Introduction

Qt, QThread, потоки

GUI thread and the worker thread

Each program has a single thread (thread) on startup. This thread is called the main flow thread or GUI in Qt applications. Qt GUI to be started in this thread. All widgets and several …

Read
  • Last comments
  • 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.
    К сожалению, я этого подсказать не могу, поскольку у меня нет необходимости в обходе блокировок и т.д. Поэтому я и не задавался решением этой проблемы. Ну выглядит так, что вам действитель…
  • VP
    March 9, 2025, 4:14 p.m.
    Здравствуйте! Я устанавливал Qt6 из исходников а также Qt Creator по отдельности. Все компоненты, связанные с разработкой для Android, установлены. Кроме одного... Когда пытаюсь скомпилиров…
  • ИМ
    Nov. 22, 2024, 9:51 p.m.
    Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…