|
Krita Source Code Documentation
|
#include <kis_guides_manager.h>
Inheritance diagram for KisGuidesManager:Classes | |
| struct | Private |
Public Slots | |
| void | setGuidesConfig (const KisGuidesConfig &config) |
| void | setLockGuides (bool value) |
| void | setRulersMultiple2 (bool value) |
| void | setShowGuides (bool value) |
| void | setSnapBoundingBox (bool value) |
| void | setSnapExtension (bool value) |
| void | setSnapImageBounds (bool value) |
| void | setSnapImageCenter (bool value) |
| void | setSnapIntersection (bool value) |
| void | setSnapNode (bool value) |
| void | setSnapOrthogonal (bool value) |
| void | setSnapToGuides (bool value) |
| void | setSnapToPixel (bool value) |
| void | setUnitType (KoUnit::Type type) |
| void | slotDocumentRequestedConfig (const KisGuidesConfig &config) |
| void | slotGuideCreationFinished (Qt::Orientation orientation, const QPoint &globalPos) |
| void | slotGuideCreationInProgress (Qt::Orientation orientation, const QPoint &globalPos) |
| void | slotShowSnapOptions () |
| void | slotUploadConfigToDocument () |
Signals | |
| void | sigRequestUpdateGuidesConfig (const KisGuidesConfig &config) |
Public Member Functions | |
| bool | eventFilter (QObject *obj, QEvent *event) override |
| KisGuidesManager (QObject *parent=0) | |
| bool | lockGuides () const |
| bool | rulersMultiple2 () const |
| void | setup (KisActionManager *actionManager) |
| void | setView (QPointer< KisView > view) |
| bool | showGuides () const |
| bool | snapToGuides () const |
| KoUnit::Type | unitType () const |
| ~KisGuidesManager () override | |
Private Member Functions | |
| void | attachEventFilterImpl (bool value) |
| void | setGuidesConfigImpl (const KisGuidesConfig &value, bool emitModified=true) |
| void | syncActionsStatus () |
Private Attributes | |
| const QScopedPointer< Private > | m_d |
Definition at line 21 of file kis_guides_manager.h.
| KisGuidesManager::KisGuidesManager | ( | QObject * | parent = 0 | ) |
Definition at line 92 of file kis_guides_manager.cpp.
|
override |
Definition at line 98 of file kis_guides_manager.cpp.
|
private |
Definition at line 162 of file kis_guides_manager.cpp.
References KisInputManager::attachPriorityEventFilter(), KisInputManager::detachPriorityEventFilter(), m_d, and value().
|
override |
Definition at line 651 of file kis_guides_manager.cpp.
References m_d.
| bool KisGuidesManager::lockGuides | ( | ) | const |
Definition at line 257 of file kis_guides_manager.cpp.
References m_d.
| bool KisGuidesManager::rulersMultiple2 | ( | ) | const |
Definition at line 281 of file kis_guides_manager.cpp.
References m_d.
|
slot |
Definition at line 102 of file kis_guides_manager.cpp.
References KisGuidesConfig::hasSamePositionAs(), m_d, setGuidesConfigImpl(), and slotUploadConfigToDocument().
|
private |
Definition at line 133 of file kis_guides_manager.cpp.
References attachEventFilterImpl(), m_d, sigRequestUpdateGuidesConfig(), syncActionsStatus(), and value().
|
slot |
Definition at line 262 of file kis_guides_manager.cpp.
References m_d, setGuidesConfigImpl(), slotUploadConfigToDocument(), and value().
|
slot |
Definition at line 286 of file kis_guides_manager.cpp.
References m_d, setGuidesConfigImpl(), slotUploadConfigToDocument(), and value().
|
slot |
Definition at line 250 of file kis_guides_manager.cpp.
References m_d, setGuidesConfigImpl(), slotUploadConfigToDocument(), and value().
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
Definition at line 274 of file kis_guides_manager.cpp.
References m_d, setGuidesConfigImpl(), slotUploadConfigToDocument(), and value().
|
slot |
|
slot |
Definition at line 298 of file kis_guides_manager.cpp.
References m_d, setGuidesConfigImpl(), and slotUploadConfigToDocument().
| void KisGuidesManager::setup | ( | KisActionManager * | actionManager | ) |
Definition at line 305 of file kis_guides_manager.cpp.
References connect(), KisActionManager::createAction(), m_d, setLockGuides(), setShowGuides(), setSnapBoundingBox(), setSnapExtension(), setSnapImageBounds(), setSnapImageCenter(), setSnapIntersection(), setSnapNode(), setSnapOrthogonal(), setSnapToGuides(), setSnapToPixel(), slotShowSnapOptions(), and syncActionsStatus().
Definition at line 349 of file kis_guides_manager.cpp.
References attachEventFilterImpl(), KoSnapGuide::enableSnapStrategy(), KoSnapGuide::GuideLineSnapping, GUIDES_DECORATION_ID, KisGuidesDecoration::guidesConfig(), m_d, KoSnapGuide::overrideSnapStrategy(), setGuidesConfigImpl(), slotDocumentRequestedConfig(), slotGuideCreationFinished(), slotGuideCreationInProgress(), and slotUploadConfigToDocument().
| bool KisGuidesManager::showGuides | ( | ) | const |
Definition at line 245 of file kis_guides_manager.cpp.
References m_d.
|
signal |
|
slot |
Definition at line 109 of file kis_guides_manager.cpp.
References m_d, and setGuidesConfigImpl().
|
slot |
Definition at line 742 of file kis_guides_manager.cpp.
References KisCanvas2::canvasWidget, KisCanvas2::coordinatesConverter, m_d, KisCanvas2::view, and KisCoordinatesConverter::widgetToDocument().
|
slot |
Definition at line 705 of file kis_guides_manager.cpp.
References KisCanvas2::canvasWidget, KisCanvas2::coordinatesConverter, m_d, setGuidesConfigImpl(), KisCanvas2::view, and KisCoordinatesConverter::widgetToDocument().
|
slot |
Definition at line 770 of file kis_guides_manager.cpp.
References m_d.
|
slot |
Definition at line 115 of file kis_guides_manager.cpp.
References m_d, KisDocument::setGuidesConfig(), and value().
| bool KisGuidesManager::snapToGuides | ( | ) | const |
Definition at line 269 of file kis_guides_manager.cpp.
References m_d.
|
private |
| KoUnit::Type KisGuidesManager::unitType | ( | ) | const |
Definition at line 293 of file kis_guides_manager.cpp.
References m_d.
|
private |
Definition at line 76 of file kis_guides_manager.h.