I am new to Qt and I want to try to understand it better. I know from an inheritance perspective that a QMainWindow is derived from QObject. (Directl ...
I am new to Qt and I want to try to understand it better. I know from an inheritance perspective that a QMainWindow is derived from QObject. (Directl ...
I updated my question. My project is so simple. I want to create 3 thread. Each thread have different operations. Finally, they should communicate usi ...
It's quite straightforward to process a valueChanged signal of a single QSpinBox with a dedicated slot: class MainWindow(QMainWindow): self.u ...
I'm facing a situation like there are about more than 1k instances of a class, where a method of the class should be called frequently. Since the curr ...
Can I change the return type of a slot (such as class type or str or int)? And if that is possible, can I return two value like a normal function (suc ...
I have a simple GUI App, it's a timer with LCD display I have problem with delaying one function that's responsible for counting down the time it's sh ...
I am working on some code where I see the following: In header file: In implementation file: Slot function definition: Now my doubt is that: ...
I am a beginner in Qt and I tried for two days to find out what's wrong unfortunately I couldn't, I would really appreciate your help. I have a Set Pa ...
How to call widget slots from QThread worker? I know I could create a signal for each widget's slot like this: Isn't there a more simple way to thr ...
Suppose, there is a lambda connected to a signal as below: Will below statement disconnect the lambda automatically? I am asking this, because i ...
I'm trying to define my own signal to display QImage (converted from raw data) upon a button press. The GUI has a button called as connect, and a QLab ...
I am trying to tag x-spans of a data trace and populate a table with tagNames, starting x value, and the ending x value. I am using a dictionary of 'h ...
For my project based on Python and Qt I wanted to move expensive calculations and functions providing server/client functions into separate threads, t ...
I have a GUI made with PyQt5, and there is a start-button on it. When the start-button is clicked, the program will start to count from 1 to 5 and the ...
When I tried to use QElapsedTimer to clear a text in a label I couldn't find a way of using it without a QTimer. Is there a way of connecting a method ...
I am trying to understand the code of HMI (QT based application). Typically in a embedded software, multiple ECUs send data at the same time to the UI ...
I'm trying to connect a C++ signal with a QML slot. The C++ signal is called userRegistered() and the QML slot is called userRegisteredQML(). In the ...
Imagine the below case. buttonClickEvent() function is started when a QPushButton is clicked and this function has 2 threads(thread 1 and thread 2) an ...
So, I am learning my way around QThread and I understand it to a reasonable extent. However, I am trying to implement a class derived from QThread to ...
I have a QFileSystemWatcher that emits a signal called watcher in MainWindow. This works properly in MainWindow. However I need this signal to also up ...