Codebase list engauge-digitizer / 359035c
Set guideline visibility when changing states markummitchell 4 years ago
20 changed file(s) with 40 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
2828
2929 beginCommon (GuidelineFormat::HOVER_OFF,
3030 false);
31
32 context().guideline().setGraphicsItemVisible (true); // Stop hover and painting (doPoint only stops painting)
3133 }
3234
3335 bool GuidelineStateDeployedConstantRSelectEdit::doPaint () const
3333
3434 beginCommon (GuidelineFormat::HOVER_ON,
3535 false);
36
37 context().guideline().setGraphicsItemVisible (true); // Stop hover and painting (doPoint only stops painting)
3638
3739 // (Re)connect to timer
3840 QObject::connect (m_timer, SIGNAL (timeout ()), &context(), SLOT (slotTimeout ()));
2727
2828 beginCommon (GuidelineFormat::HOVER_ON,
2929 false);
30
31 context().guideline().setGraphicsItemVisible (true); // Stop hover and painting (doPoint only stops painting)
3032 }
3133
3234 bool GuidelineStateDeployedConstantRSelectEditHover::doPaint () const
2727 << " identifier=" << context().guideline().identifier().toLatin1().data();
2828
2929 beginCommon (GuidelineFormat::HOVER_OFF,
30 false);
30 true);
3131
32 context().guideline().setGraphicsItemVisible (false); // Stop hover and painting (doPoint only stops painting)
32 context().guideline().setGraphicsItemVisible (true); // Stop hover and painting (doPoint only stops painting)
3333 }
3434
3535 bool GuidelineStateDeployedConstantRUnselectEdit::doPaint () const
2727
2828 beginCommon (GuidelineFormat::HOVER_OFF,
2929 true);
30
31 context().guideline().setGraphicsItemVisible (true); // Stop hover and painting (doPoint only stops painting)
3032 }
3133
3234 bool GuidelineStateDeployedConstantRUnselectLock::doPaint () const
2828
2929 beginCommon (GuidelineFormat::HOVER_OFF,
3030 false);
31
32 context().guideline().setGraphicsItemVisible (true); // Stop hover and painting (doPoint only stops painting)
3133 }
3234
3335 bool GuidelineStateDeployedConstantTSelectEdit::doPaint () const
3333
3434 beginCommon (GuidelineFormat::HOVER_ON,
3535 false);
36
37 context().guideline().setGraphicsItemVisible (true); // Stop hover and painting (doPoint only stops painting)
3638
3739 // (Re)connect to timer
3840 QObject::connect (m_timer, SIGNAL (timeout ()), &context(), SLOT (slotTimeout ()));
2727
2828 beginCommon (GuidelineFormat::HOVER_ON,
2929 false);
30
31 context().guideline().setGraphicsItemVisible (true); // Stop hover and painting (doPoint only stops painting)
3032 }
3133
3234 bool GuidelineStateDeployedConstantTSelectEditHover::doPaint () const
2727 << " identifier=" << context().guideline().identifier().toLatin1().data();
2828
2929 beginCommon (GuidelineFormat::HOVER_OFF,
30 false);
30 true);
3131
32 context().guideline().setGraphicsItemVisible (false); // Stop hover and painting (doPoint only stops painting)
32 context().guideline().setGraphicsItemVisible (true); // Stop hover and painting (doPoint only stops painting)
3333 }
3434
3535 bool GuidelineStateDeployedConstantTUnselectEdit::doPaint () const
2727
2828 beginCommon (GuidelineFormat::HOVER_OFF,
2929 true);
30
31 context().guideline().setGraphicsItemVisible (true); // Stop hover and painting (doPoint only stops painting)
3032 }
3133
3234 bool GuidelineStateDeployedConstantTUnselectLock::doPaint () const
2828
2929 beginCommon (GuidelineFormat::HOVER_OFF,
3030 false);
31
32 context().guideline().setGraphicsItemVisible (true); // Stop hover and painting (doPoint only stops painting)
3133 }
3234
3335 bool GuidelineStateDeployedConstantXSelectEdit::doPaint () const
3333
3434 beginCommon (GuidelineFormat::HOVER_ON,
3535 false);
36
37 context().guideline().setGraphicsItemVisible (true); // Stop hover and painting (doPoint only stops painting)
3638
3739 // (Re)connect to timer
3840 QObject::connect (m_timer, SIGNAL (timeout ()), &context(), SLOT (slotTimeout ()));
2727
2828 beginCommon (GuidelineFormat::HOVER_ON,
2929 false);
30
31 context().guideline().setGraphicsItemVisible (true); // Stop hover and painting (doPoint only stops painting)
3032 }
3133
3234 bool GuidelineStateDeployedConstantXSelectEditHover::doPaint () const
2727 << " identifier=" << context().guideline().identifier().toLatin1().data();
2828
2929 beginCommon (GuidelineFormat::HOVER_OFF,
30 false);
30 true);
3131
32 context().guideline().setGraphicsItemVisible (false); // Stop hover and painting (doPoint only stops painting)
32 context().guideline().setGraphicsItemVisible (true); // Stop hover and painting (doPoint only stops painting)
3333 }
3434
3535 bool GuidelineStateDeployedConstantXUnselectEdit::doPaint () const
2727
2828 beginCommon (GuidelineFormat::HOVER_OFF,
2929 true);
30
31 context().guideline().setGraphicsItemVisible (true); // Stop hover and painting (doPoint only stops painting)
3032 }
3133
3234 bool GuidelineStateDeployedConstantXUnselectLock::doPaint () const
2828
2929 beginCommon (GuidelineFormat::HOVER_OFF,
3030 false);
31
32 context().guideline().setGraphicsItemVisible (true); // Stop hover and painting (doPoint only stops painting)
3133 }
3234
3335 bool GuidelineStateDeployedConstantYSelectEdit::doPaint () const
3333
3434 beginCommon (GuidelineFormat::HOVER_ON,
3535 false);
36
37 context().guideline().setGraphicsItemVisible (true); // Stop hover and painting (doPoint only stops painting)
3638
3739 // (Re)connect to timer
3840 QObject::connect (m_timer, SIGNAL (timeout ()), &context(), SLOT (slotTimeout ()));
9597 {
9698 return guidelineStateAsString (GUIDELINE_STATE_DEPLOYED_CONSTANT_Y_SELECT_EDIT_APPEARING);
9799 }
98
2727
2828 beginCommon (GuidelineFormat::HOVER_ON,
2929 false);
30
31 context().guideline().setGraphicsItemVisible (true); // Stop hover and painting (doPoint only stops painting)
3032 }
3133
3234 bool GuidelineStateDeployedConstantYSelectEditHover::doPaint () const
2727 << " identifier=" << context().guideline().identifier().toLatin1().data();
2828
2929 beginCommon (GuidelineFormat::HOVER_OFF,
30 false);
30 true);
3131
32 context().guideline().setGraphicsItemVisible (false); // Stop hover and painting (doPoint only stops painting)
32 context().guideline().setGraphicsItemVisible (true); // Stop hover and painting (doPoint only stops painting)
3333 }
3434
3535 bool GuidelineStateDeployedConstantYUnselectEdit::doPaint () const
2727
2828 beginCommon (GuidelineFormat::HOVER_OFF,
2929 true);
30
31 context().guideline().setGraphicsItemVisible (true); // Stop hover and painting (doPoint only stops painting)
3032 }
3133
3234 bool GuidelineStateDeployedConstantYUnselectLock::doPaint () const