| 693 | } |
| 694 | |
| 695 | KDChart::LineLayoutItem::LineLayoutItem(KDChart::AbstractDiagram *diagram, |
| 696 | int length, |
| 697 | const QPen &pen, |
| 698 | Qt::Alignment legendLineSymbolAlignment, |
| 699 | Qt::Alignment alignment) |
| 700 | : AbstractLayoutItem(alignment) |
| 701 | , mDiagram(diagram) |
| 702 | , mLength(length) |
| 703 | , mPen(pen) |
| 704 | , mLegendLineSymbolAlignment(legendLineSymbolAlignment) |
| 705 | { |
| 706 | // enforce a minimum pen width |
| 707 | if (pen.width() < 2) |
| 708 | mPen.setWidth(2); |
| 709 | } |
| 710 | |
| 711 | Qt::Orientations KDChart::LineLayoutItem::expandingDirections() const |
| 712 | { |
nothing calls this directly
no outgoing calls
no test coverage detected