I am trying to make a Qt program using Qt Creator and Qwt to plot. I have never used Qt Creator before. I created MainWindow and added a Qwtplot widget there (object name: qwtPlot). The widget appears in the program when I compile and run it. But the qwtPlot object is not mentioned anywhere in the (auto-generated) code, so I assume that it is added at compile time from the .ui xml file (or something else).
My question is ... how do I change / change the qwtPlot object? Or where should I put the code?
It is difficult for me to formulate my question, but basically the question: "How can I do something with the qwtPlot widget, which is created (graphically) using Qtcreator?". I checked a few tutorials, but in the tutorials they added widgets manually in the code, but I would like to use Qt Creator (because my user interface will be quite complicated). This whole Qt Creator is pretty confusing ...
source
share