Lines Matching refs:QCP

136 namespace QCP {
138 class QCP { // when in moc-run, make it look like a class, so we get Q_GADGET, Q_ENUMS/Q_FLAGS feat…
322 inline void setMarginValue(QMargins &margins, QCP::MarginSide side, int value) in setMarginValue()
326 case QCP::msLeft: margins.setLeft(value); break; in setMarginValue()
327 case QCP::msRight: margins.setRight(value); break; in setMarginValue()
328 case QCP::msTop: margins.setTop(value); break; in setMarginValue()
329 case QCP::msBottom: margins.setBottom(value); break; in setMarginValue()
330 case QCP::msAll: margins = QMargins(value, value, value, value); break; in setMarginValue()
342 inline int getMarginValue(const QMargins &margins, QCP::MarginSide side) in getMarginValue()
346 case QCP::msLeft: return margins.left(); in getMarginValue()
347 case QCP::msRight: return margins.right(); in getMarginValue()
348 case QCP::msTop: return margins.top(); in getMarginValue()
349 case QCP::msBottom: return margins.bottom(); in getMarginValue()
359 Q_DECLARE_OPERATORS_FOR_FLAGS(QCP::AntialiasedElements)
360 Q_DECLARE_OPERATORS_FOR_FLAGS(QCP::PlottingHints) in Q_DECLARE_OPERATORS_FOR_FLAGS()
361 Q_DECLARE_OPERATORS_FOR_FLAGS(QCP::MarginSides) in Q_DECLARE_OPERATORS_FOR_FLAGS()
362 Q_DECLARE_OPERATORS_FOR_FLAGS(QCP::Interactions) in Q_DECLARE_OPERATORS_FOR_FLAGS()
363 Q_DECLARE_METATYPE(QCP::ExportPen) in Q_DECLARE_OPERATORS_FOR_FLAGS()
364 Q_DECLARE_METATYPE(QCP::ResolutionUnit) in Q_DECLARE_OPERATORS_FOR_FLAGS()
365 Q_DECLARE_METATYPE(QCP::SignDomain) in Q_DECLARE_OPERATORS_FOR_FLAGS()
366 Q_DECLARE_METATYPE(QCP::MarginSide) in Q_DECLARE_OPERATORS_FOR_FLAGS()
367 Q_DECLARE_METATYPE(QCP::AntialiasedElement) in Q_DECLARE_OPERATORS_FOR_FLAGS()
368 Q_DECLARE_METATYPE(QCP::PlottingHint) in Q_DECLARE_OPERATORS_FOR_FLAGS()
369 Q_DECLARE_METATYPE(QCP::Interaction) in Q_DECLARE_OPERATORS_FOR_FLAGS()
370 Q_DECLARE_METATYPE(QCP::SelectionRectMode) in Q_DECLARE_OPERATORS_FOR_FLAGS()
371 Q_DECLARE_METATYPE(QCP::SelectionType) in Q_DECLARE_OPERATORS_FOR_FLAGS()
735 virtual QCP::Interaction selectionCategory() const; in Q_DECLARE_METATYPE()
753 …void applyAntialiasingHint(QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement ove… in Q_DECLARE_METATYPE()
957 void enforceType(QCP::SelectionType type);
1153 QList<QCPLayoutElement*> elements(QCP::MarginSide side) const { return mChildren.value(side); } in elements()
1160 QHash<QCP::MarginSide, QList<QCPLayoutElement*> > mChildren;
1163 virtual int commonMargin(QCP::MarginSide side) const;
1166 void addChild(QCP::MarginSide side, QCPLayoutElement *element);
1167 void removeChild(QCP::MarginSide side, QCPLayoutElement *element);
1208 QCP::MarginSides autoMargins() const { return mAutoMargins; }
1211 …QCPMarginGroup *marginGroup(QCP::MarginSide side) const { return mMarginGroups.value(side, (QCPMar…
1212 QHash<QCP::MarginSide, QCPMarginGroup*> marginGroups() const { return mMarginGroups; }
1218 void setAutoMargins(QCP::MarginSides sides);
1223 void setMarginGroup(QCP::MarginSides sides, QCPMarginGroup *group);
1240 QCP::MarginSides mAutoMargins;
1241 QHash<QCP::MarginSide, QCPMarginGroup*> mMarginGroups;
1244 virtual int calculateAutoMargin(QCP::MarginSide side);
2092 static AxisType marginSideToAxisType(QCP::MarginSide side);
2156 virtual QCP::Interaction selectionCategory() const Q_DECL_OVERRIDE;
2411 QCPRange keyRange(bool &foundRange, QCP::SignDomain signDomain=QCP::sdBoth);
2412 …QCPRange valueRange(bool &foundRange, QCP::SignDomain signDomain=QCP::sdBoth, const QCPRange &inKe…
2922 QCPRange QCPDataContainer<DataType>::keyRange(bool &foundRange, QCP::SignDomain signDomain)
2936 if (signDomain == QCP::sdBoth) // range may be anywhere
2982 } else if (signDomain == QCP::sdNegative) // range may only be in the negative sign domain
3002 } else if (signDomain == QCP::sdPositive) // range may only be in the positive sign domain
3045 QCPRange QCPDataContainer<DataType>::valueRange(bool &foundRange, QCP::SignDomain signDomain, const…
3064 if (signDomain == QCP::sdBoth) // range may be anywhere
3082 } else if (signDomain == QCP::sdNegative) // range may only be in the negative sign domain
3100 } else if (signDomain == QCP::sdPositive) // range may only be in the positive sign domain
3267 …Q_PROPERTY(QCP::SelectionType selectable READ selectable WRITE setSelectable NOTIFY selectableChan…
3283 QCP::SelectionType selectable() const { return mSelectable; }
3296 Q_SLOT void setSelectable(QCP::SelectionType selectable);
3303 …virtual QCPRange getKeyRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth) const = 0;
3304 …virtual QCPRange getValueRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth, const Q…
3322 void selectableChanged(QCP::SelectionType selectable);
3331 QCP::SelectionType mSelectable;
3338 virtual QCP::Interaction selectionCategory() const Q_DECL_OVERRIDE;
3522 virtual QCP::Interaction selectionCategory() const Q_DECL_OVERRIDE;
3599 QCP::AntialiasedElements antialiasedElements() const { return mAntialiasedElements; }
3600 QCP::AntialiasedElements notAntialiasedElements() const { return mNotAntialiasedElements; }
3602 const QCP::Interactions interactions() const { return mInteractions; }
3605 QCP::PlottingHints plottingHints() const { return mPlottingHints; }
3607 QCP::SelectionRectMode selectionRectMode() const { return mSelectionRectMode; }
3619 void setAntialiasedElements(const QCP::AntialiasedElements &antialiasedElements);
3620 void setAntialiasedElement(QCP::AntialiasedElement antialiasedElement, bool enabled=true);
3621 void setNotAntialiasedElements(const QCP::AntialiasedElements &notAntialiasedElements);
3622 void setNotAntialiasedElement(QCP::AntialiasedElement notAntialiasedElement, bool enabled=true);
3624 void setInteractions(const QCP::Interactions &interactions);
3625 void setInteraction(const QCP::Interaction &interaction, bool enabled=true);
3628 void setPlottingHints(const QCP::PlottingHints &hints);
3629 void setPlottingHint(QCP::PlottingHint hint, bool enabled=true);
3631 void setSelectionRectMode(QCP::SelectionRectMode mode);
3691 …bool savePdf(const QString &fileName, int width=0, int height=0, QCP::ExportPen exportPen=QCP::epA…
3692 …=0, double scale=1.0, int quality=-1, int resolution=96, QCP::ResolutionUnit resolutionUnit=QCP::r…
3693 …=0, double scale=1.0, int quality=-1, int resolution=96, QCP::ResolutionUnit resolutionUnit=QCP::r…
3694 …th=0, int height=0, double scale=1.0, int resolution=96, QCP::ResolutionUnit resolutionUnit=QCP::r…
3695 …, const char *format, int quality=-1, int resolution=96, QCP::ResolutionUnit resolutionUnit=QCP::r…
3733 QCP::AntialiasedElements mAntialiasedElements, mNotAntialiasedElements;
3734 QCP::Interactions mInteractions;
3743 QCP::PlottingHints mPlottingHints;
3745 QCP::SelectionRectMode mSelectionRectMode;
3758 QCP::AntialiasedElements mOpenGlAntialiasedElementsBackup;
4183 if ((onlySelectable && mSelectable == QCP::stNone) || mDataContainer->isEmpty())
4253 if ((onlySelectable && mSelectable == QCP::stNone) || mDataContainer->isEmpty())
4317 …if (mSelectable == QCP::stWhole) // stWhole selection type draws the entire plottable with selecte…
4346 if (mParentPlot->plottingHints().testFlag(QCP::phFastPolylines) &&
4642 QCP::AntialiasedElements mAADragBackup, mNotAADragBackup;
4650 virtual int calculateAutoMargin(QCP::MarginSide side) Q_DECL_OVERRIDE;
4724 virtual QCP::Interaction selectionCategory() const Q_DECL_OVERRIDE;
4867 virtual QCP::Interaction selectionCategory() const Q_DECL_OVERRIDE;
5171 …virtual QCPRange getKeyRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth) const Q_D…
5172 …virtual QCPRange getValueRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth, const Q…
5302 …virtual QCPRange getKeyRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth) const Q_D…
5303 …virtual QCPRange getValueRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth, const Q…
5493 …virtual QCPRange getKeyRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth) const Q_D…
5494 …virtual QCPRange getValueRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth, const Q…
5611 …virtual QCPRange getKeyRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth) const Q_D…
5612 …virtual QCPRange getValueRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth, const Q…
5742 …virtual QCPRange getKeyRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth) const Q_D…
5743 …virtual QCPRange getValueRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth, const Q…
5882 …virtual QCPRange getKeyRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth) const Q_D…
5883 …virtual QCPRange getValueRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth, const Q…
6024 …virtual QCPRange getKeyRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth) const Q_D…
6025 …virtual QCPRange getValueRange(bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth, const Q…