Reusing UI elements between two different QWidgets

Published: 31/01/2018
Reusing UI elements between two different QWidgets
Source: SOFTWAREENGINEERING.STACKEXCHANGE.COM

I am writing a utility in C++ with Qt which communicates with an embedded device. The program was originally going to be used to just plot data from the device, but a new requirement has been added (not by me; no control over it). So now it has two modes, and thus two classes: DevicePlotWindow DeviceDebugWindow Both modes do exactly the same thing except for the output -- i.e. plot data and write

Read more
Related news
Comment
FACEBOOK