Lines Matching refs:QCP
91 namespace QCP
191 inline void setMarginValue(QMargins &margins, QCP::MarginSide side, int value) in setMarginValue()
195 case QCP::msLeft: margins.setLeft(value); break; in setMarginValue()
196 case QCP::msRight: margins.setRight(value); break; in setMarginValue()
197 case QCP::msTop: margins.setTop(value); break; in setMarginValue()
198 case QCP::msBottom: margins.setBottom(value); break; in setMarginValue()
199 case QCP::msAll: margins = QMargins(value, value, value, value); break; in setMarginValue()
211 inline int getMarginValue(const QMargins &margins, QCP::MarginSide side) in getMarginValue()
215 case QCP::msLeft: return margins.left(); in getMarginValue()
216 case QCP::msRight: return margins.right(); in getMarginValue()
217 case QCP::msTop: return margins.top(); in getMarginValue()
218 case QCP::msBottom: return margins.bottom(); in getMarginValue()
226 Q_DECLARE_OPERATORS_FOR_FLAGS(QCP::AntialiasedElements)
227 Q_DECLARE_OPERATORS_FOR_FLAGS(QCP::PlottingHints) in Q_DECLARE_OPERATORS_FOR_FLAGS()
228 Q_DECLARE_OPERATORS_FOR_FLAGS(QCP::MarginSides) in Q_DECLARE_OPERATORS_FOR_FLAGS()
229 Q_DECLARE_OPERATORS_FOR_FLAGS(QCP::Interactions) in Q_DECLARE_OPERATORS_FOR_FLAGS()
443 virtual QCP::Interaction selectionCategory() const;
455 …void applyAntialiasingHint(QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement ove…
498 QList<QCPLayoutElement*> elements(QCP::MarginSide side) const { return mChildren.value(side); } in elements()
505 QHash<QCP::MarginSide, QList<QCPLayoutElement*> > mChildren;
508 int commonMargin(QCP::MarginSide side) const;
509 void addChild(QCP::MarginSide side, QCPLayoutElement *element);
510 void removeChild(QCP::MarginSide side, QCPLayoutElement *element);
541 QCP::MarginSides autoMargins() const { return mAutoMargins; }
544 …QCPMarginGroup *marginGroup(QCP::MarginSide side) const { return mMarginGroups.value(side, (QCPMar…
545 QHash<QCP::MarginSide, QCPMarginGroup*> marginGroups() const { return mMarginGroups; }
551 void setAutoMargins(QCP::MarginSides sides);
556 void setMarginGroup(QCP::MarginSides sides, QCPMarginGroup *group);
573 QCP::MarginSides mAutoMargins;
574 QHash<QCP::MarginSide, QCPMarginGroup*> mMarginGroups;
577 virtual int calculateAutoMargin(QCP::MarginSide side);
1085 static AxisType marginSideToAxisType(QCP::MarginSide side);
1174 virtual QCP::Interaction selectionCategory() const;
1285 virtual QCP::Interaction selectionCategory() const;
1454 virtual QCP::Interaction selectionCategory() const;
1513 QCP::AntialiasedElements antialiasedElements() const { return mAntialiasedElements; }
1514 QCP::AntialiasedElements notAntialiasedElements() const { return mNotAntialiasedElements; }
1516 const QCP::Interactions interactions() const { return mInteractions; }
1519 QCP::PlottingHints plottingHints() const { return mPlottingHints; }
1529 void setAntialiasedElements(const QCP::AntialiasedElements &antialiasedElements);
1530 void setAntialiasedElement(QCP::AntialiasedElement antialiasedElement, bool enabled=true);
1531 void setNotAntialiasedElements(const QCP::AntialiasedElements ¬AntialiasedElements);
1532 void setNotAntialiasedElement(QCP::AntialiasedElement notAntialiasedElement, bool enabled=true);
1534 void setInteractions(const QCP::Interactions &interactions);
1535 void setInteraction(const QCP::Interaction &interaction, bool enabled=true);
1538 void setPlottingHints(const QCP::PlottingHints &hints);
1539 void setPlottingHint(QCP::PlottingHint hint, bool enabled=true);
1642 QCP::AntialiasedElements mAntialiasedElements, mNotAntialiasedElements;
1643 QCP::Interactions mInteractions;
1652 QCP::PlottingHints mPlottingHints;
2733 QCP::AntialiasedElements mAADragBackup, mNotAADragBackup;
2741 virtual int calculateAutoMargin(QCP::MarginSide side);
2807 virtual QCP::Interaction selectionCategory() const;
2948 virtual QCP::Interaction selectionCategory() const;