Home > other >  In the Qt QLegendMarker clicked signals respond to problems
In the Qt QLegendMarker clicked signals respond to problems

Time:09-24

The novice, a first-time QT, consult each master have a question:
The first custom chartView class, this kind of inherited from QChartView; Inside the chartView class defines the groove function void on_LegendMarkerClicked ();
Inside the chartView class also defines a QChart object, object will QChart LegendMarker clicked signals related to the on_LegendMarkerClicked; These jobs are in chartView,
In the main program to define the chartView object; But when click on the legend in the QChart, on_LegendMarkerClicked groove function and no response,
What reason is this excuse me?
  • Related