! Creates a new legend item associated with \a plottable. Once it's created, it can be added to the legend via \ref QCPLegend::addItem. A more convenient way of adding/removing a plottable to/from the legend is via the functions \ref QCPAbstractPlottable::addToLegend and \ref QCPAbstractPlottable::removeFromLegend. */
| 18178 | QCPAbstractPlottable::addToLegend and \ref QCPAbstractPlottable::removeFromLegend. |
| 18179 | */ |
| 18180 | QCPPlottableLegendItem::QCPPlottableLegendItem(QCPLegend *parent, QCPAbstractPlottable *plottable) : |
| 18181 | QCPAbstractLegendItem(parent), |
| 18182 | mPlottable(plottable) |
| 18183 | { |
| 18184 | setAntialiased(false); |
| 18185 | } |
| 18186 | |
| 18187 | /*! \internal |
| 18188 |
nothing calls this directly
no outgoing calls
no test coverage detected