I'm using a QProgressBar and have already figured out how to send the progress from a specific class in the logic layer with this procedure:
- setting up the connection in the view-layer class.
- creating the signal signal in the logic-layer class.
- modifying the logic-layer class such that it is a QObject.
- calling QObject as the base-class class constructor for the logic-layer.
Now, I would like my specific class in the logic-layer to send the progress through another class.
For example:
- Class A (in the view-layer): create connection for the progress in class B.
- Class B (in the logic-layer): create connection for the progress in class C.
- Class C: updating the progress so it can be seen in class A (view-layer).
I tried to imitate this procedure for using a connection and signal from class B to C, but it doesn't seem to be working.
Any answer will be appreciated