12#include "kritaui_export.h"
13#include <QScopedPointer>
15#include <boost/operators.hpp>
24class KRITAUI_EXPORT
KisGuidesConfig : boost::equality_comparable<KisGuidesConfig>
62 void addGuideLine(Qt::Orientation orientation, qreal position);
63 void removeAllGuides();
66 void setShowGuides(
bool value);
68 void setLockGuides(
bool value);
70 void setSnapToGuides(
bool value);
73 void setRulersMultiple2(
bool value);
82 void setGuidesColor(
const QColor &
value);
84 QPen guidesPen()
const;
92 bool hasGuides()
const;
94 void loadStaticData();
95 void saveStaticData()
const;
97 QDomElement saveToXml(QDomDocument& doc,
const QString &tag)
const;
98 bool loadFromXml(
const QDomElement &parent);
100 bool isDefault()
const;
105 void transform(
const QTransform &transform);
109 const QScopedPointer<Private>
d;
float value(const T *src, size_t ch)
bool operator==(const KisRegion &lhs, const KisRegion &rhs)
bool snapToGuides() const
LineTypeInternal guidesLineType() const
KoUnit::Type unitType() const
bool rulersMultiple2() const
const QScopedPointer< Private > d
QColor guidesColor() const