Lines Matching refs:QCP
144 namespace QCP {
146 class QCP { // when in moc-run, make it look like a class, so we get Q_GADGET, Q_ENUMS/Q_FLAGS feat…
330 inline void setMarginValue(QMargins &margins, QCP::MarginSide side, int value) in setMarginValue()
334 case QCP::msLeft: margins.setLeft(value); break; in setMarginValue()
335 case QCP::msRight: margins.setRight(value); break; in setMarginValue()
336 case QCP::msTop: margins.setTop(value); break; in setMarginValue()
337 case QCP::msBottom: margins.setBottom(value); break; in setMarginValue()
338 case QCP::msAll: margins = QMargins(value, value, value, value); break; in setMarginValue()
350 inline int getMarginValue(const QMargins &margins, QCP::MarginSide side) in getMarginValue()
354 case QCP::msLeft: return margins.left(); in getMarginValue()
355 case QCP::msRight: return margins.right(); in getMarginValue()
356 case QCP::msTop: return margins.top(); in getMarginValue()
357 case QCP::msBottom: return margins.bottom(); in getMarginValue()
367 Q_DECLARE_OPERATORS_FOR_FLAGS(QCP::AntialiasedElements)
368 Q_DECLARE_OPERATORS_FOR_FLAGS(QCP::PlottingHints) in Q_DECLARE_OPERATORS_FOR_FLAGS()
369 Q_DECLARE_OPERATORS_FOR_FLAGS(QCP::MarginSides) in Q_DECLARE_OPERATORS_FOR_FLAGS()
370 Q_DECLARE_OPERATORS_FOR_FLAGS(QCP::Interactions) in Q_DECLARE_OPERATORS_FOR_FLAGS()
371 Q_DECLARE_METATYPE(QCP::ExportPen) in Q_DECLARE_OPERATORS_FOR_FLAGS()
372 Q_DECLARE_METATYPE(QCP::ResolutionUnit) in Q_DECLARE_OPERATORS_FOR_FLAGS()
373 Q_DECLARE_METATYPE(QCP::SignDomain) in Q_DECLARE_OPERATORS_FOR_FLAGS()
374 Q_DECLARE_METATYPE(QCP::MarginSide) in Q_DECLARE_OPERATORS_FOR_FLAGS()
375 Q_DECLARE_METATYPE(QCP::AntialiasedElement) in Q_DECLARE_OPERATORS_FOR_FLAGS()
376 Q_DECLARE_METATYPE(QCP::PlottingHint) in Q_DECLARE_OPERATORS_FOR_FLAGS()
377 Q_DECLARE_METATYPE(QCP::Interaction) in Q_DECLARE_OPERATORS_FOR_FLAGS()
378 Q_DECLARE_METATYPE(QCP::SelectionRectMode) in Q_DECLARE_OPERATORS_FOR_FLAGS()
379 Q_DECLARE_METATYPE(QCP::SelectionType) in Q_DECLARE_OPERATORS_FOR_FLAGS()
743 virtual QCP::Interaction selectionCategory() const; in Q_DECLARE_METATYPE()
761 …void applyAntialiasingHint(QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement ove… in Q_DECLARE_METATYPE()
965 void enforceType(QCP::SelectionType type);
1161 QList<QCPLayoutElement*> elements(QCP::MarginSide side) const { return mChildren.value(side); } in elements()
1168 QHash<QCP::MarginSide, QList<QCPLayoutElement*> > mChildren;
1171 virtual int commonMargin(QCP::MarginSide side) const;
1174 void addChild(QCP::MarginSide side, QCPLayoutElement *element);
1175 void removeChild(QCP::MarginSide side, QCPLayoutElement *element);
1230 QCP::MarginSides autoMargins() const { return mAutoMargins; }
1234 …QCPMarginGroup *marginGroup(QCP::MarginSide side) const { return mMarginGroups.value(side, (QCPMar…
1235 QHash<QCP::MarginSide, QCPMarginGroup*> marginGroups() const { return mMarginGroups; }
1241 void setAutoMargins(QCP::MarginSides sides);
1247 void setMarginGroup(QCP::MarginSides sides, QCPMarginGroup *group);
1265 QCP::MarginSides mAutoMargins;
1266 QHash<QCP::MarginSide, QCPMarginGroup*> mMarginGroups;
1269 virtual int calculateAutoMargin(QCP::MarginSide side);
2122 static AxisType marginSideToAxisType(QCP::MarginSide side);
2181 QCP::AntialiasedElements mAADragBackup, mNotAADragBackup;
2189 virtual QCP::Interaction selectionCategory() const Q_DECL_OVERRIDE;
2449 QCPRange keyRange(bool &foundRange, QCP::SignDomain signDomain=QCP::sdBoth);
2450 …QCPRange valueRange(bool &foundRange, QCP::SignDomain signDomain=QCP::sdBoth, const QCPRange &inKe…
2960 QCPRange QCPDataContainer<DataType>::keyRange(bool &foundRange, QCP::SignDomain signDomain)
2974 if (signDomain == QCP::sdBoth) // range may be anywhere
3020 } else if (signDomain == QCP::sdNegative) // range may only be in the negative sign domain
3040 } else if (signDomain == QCP::sdPositive) // range may only be in the positive sign domain
3083 QCPRange QCPDataContainer<DataType>::valueRange(bool &foundRange, QCP::SignDomain signDomain, const…
3102 if (signDomain == QCP::sdBoth) // range may be anywhere
3120 } else if (signDomain == QCP::sdNegative) // range may only be in the negative sign domain
3138 } else if (signDomain == QCP::sdPositive) // range may only be in the positive sign domain
3306 …Q_PROPERTY(QCP::SelectionType selectable READ selectable WRITE setSelectable NOTIFY selectableChan…
3322 QCP::SelectionType selectable() const { return mSelectable; }
3335 Q_SLOT void setSelectable(QCP::SelectionType selectable);
3342 …virtual QCPRange getKeyRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth) const = 0;
3343 …virtual QCPRange getValueRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth, const Q…
3361 void selectableChanged(QCP::SelectionType selectable);
3370 QCP::SelectionType mSelectable;
3377 virtual QCP::Interaction selectionCategory() const Q_DECL_OVERRIDE;
3561 virtual QCP::Interaction selectionCategory() const Q_DECL_OVERRIDE;
3638 QCP::AntialiasedElements antialiasedElements() const { return mAntialiasedElements; }
3639 QCP::AntialiasedElements notAntialiasedElements() const { return mNotAntialiasedElements; }
3641 const QCP::Interactions interactions() const { return mInteractions; }
3644 QCP::PlottingHints plottingHints() const { return mPlottingHints; }
3646 QCP::SelectionRectMode selectionRectMode() const { return mSelectionRectMode; }
3658 void setAntialiasedElements(const QCP::AntialiasedElements &antialiasedElements);
3659 void setAntialiasedElement(QCP::AntialiasedElement antialiasedElement, bool enabled=true);
3660 void setNotAntialiasedElements(const QCP::AntialiasedElements ¬AntialiasedElements);
3661 void setNotAntialiasedElement(QCP::AntialiasedElement notAntialiasedElement, bool enabled=true);
3663 void setInteractions(const QCP::Interactions &interactions);
3664 void setInteraction(const QCP::Interaction &interaction, bool enabled=true);
3667 void setPlottingHints(const QCP::PlottingHints &hints);
3668 void setPlottingHint(QCP::PlottingHint hint, bool enabled=true);
3670 void setSelectionRectMode(QCP::SelectionRectMode mode);
3730 …bool savePdf(const QString &fileName, int width=0, int height=0, QCP::ExportPen exportPen=QCP::epA…
3731 …=0, double scale=1.0, int quality=-1, int resolution=96, QCP::ResolutionUnit resolutionUnit=QCP::r…
3732 …=0, double scale=1.0, int quality=-1, int resolution=96, QCP::ResolutionUnit resolutionUnit=QCP::r…
3733 …th=0, int height=0, double scale=1.0, int resolution=96, QCP::ResolutionUnit resolutionUnit=QCP::r…
3734 …, const char *format, int quality=-1, int resolution=96, QCP::ResolutionUnit resolutionUnit=QCP::r…
3772 QCP::AntialiasedElements mAntialiasedElements, mNotAntialiasedElements;
3773 QCP::Interactions mInteractions;
3782 QCP::PlottingHints mPlottingHints;
3784 QCP::SelectionRectMode mSelectionRectMode;
3799 QCP::AntialiasedElements mOpenGlAntialiasedElementsBackup;
4225 if ((onlySelectable && mSelectable == QCP::stNone) || mDataContainer->isEmpty())
4298 if ((onlySelectable && mSelectable == QCP::stNone) || mDataContainer->isEmpty())
4362 …if (mSelectable == QCP::stWhole) // stWhole selection type draws the entire plottable with selecte…
4391 if (mParentPlot->plottingHints().testFlag(QCP::phFastPolylines) &&
4687 QCP::AntialiasedElements mAADragBackup, mNotAADragBackup;
4694 virtual int calculateAutoMargin(QCP::MarginSide side) Q_DECL_OVERRIDE;
4768 virtual QCP::Interaction selectionCategory() const Q_DECL_OVERRIDE;
4911 virtual QCP::Interaction selectionCategory() const Q_DECL_OVERRIDE;
5215 …virtual QCPRange getKeyRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth) const Q_D…
5216 …virtual QCPRange getValueRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth, const Q…
5347 …virtual QCPRange getKeyRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth) const Q_D…
5348 …virtual QCPRange getValueRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth, const Q…
5538 …virtual QCPRange getKeyRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth) const Q_D…
5539 …virtual QCPRange getValueRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth, const Q…
5656 …virtual QCPRange getKeyRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth) const Q_D…
5657 …virtual QCPRange getValueRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth, const Q…
5787 …virtual QCPRange getKeyRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth) const Q_D…
5788 …virtual QCPRange getValueRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth, const Q…
5927 …virtual QCPRange getKeyRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth) const Q_D…
5928 …virtual QCPRange getValueRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth, const Q…
6069 …virtual QCPRange getKeyRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth) const Q_D…
6070 …virtual QCPRange getValueRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth, const Q…