| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| |
|
| | #include "lc_actioninfomessagebuilder.h" |
| |
|
| | #include "rs_previewactioninterface.h" |
| |
|
| | LC_ActionInfoMessageBuilder& LC_ActionInfoMessageBuilder::string(const QString& name, const QString& value) { |
| | add(name, value); |
| | return *this; |
| | } |
| | LC_ActionInfoMessageBuilder& LC_ActionInfoMessageBuilder::vector(const QString& name, const RS_Vector& value) { |
| | add(name, m_action->formatVector(value)); |
| | return *this; |
| | } |
| |
|
| | LC_ActionInfoMessageBuilder& LC_ActionInfoMessageBuilder::relative(const QString& name, const RS_Vector& value) { |
| | add(name, m_action->formatRelative(value)); |
| | return *this; |
| | } |
| |
|
| | LC_ActionInfoMessageBuilder& LC_ActionInfoMessageBuilder::polar(const QString& name, const RS_Vector& value) { |
| | add(name, m_action->formatPolar(value)); |
| | return *this; |
| | } |
| |
|
| | LC_ActionInfoMessageBuilder& LC_ActionInfoMessageBuilder::relativePolar(const QString& name, const RS_Vector& value) { |
| | add(name, m_action->formatRelativePolar(value)); |
| | return *this; |
| | } |
| |
|
| | LC_ActionInfoMessageBuilder& LC_ActionInfoMessageBuilder::relative(const RS_Vector& value) { |
| | add(m_action->formatRelative(value)); |
| | return *this; |
| | } |
| |
|
| | LC_ActionInfoMessageBuilder& LC_ActionInfoMessageBuilder::relativePolar(const RS_Vector& value) { |
| | add(m_action->formatRelativePolar(value)); |
| | return *this; |
| | } |
| |
|
| | LC_ActionInfoMessageBuilder& LC_ActionInfoMessageBuilder::wcsAngle(const QString& name, double value) { |
| | add(name, m_action->formatWCSAngle(value)); |
| | return *this; |
| | } |
| |
|
| | LC_ActionInfoMessageBuilder& LC_ActionInfoMessageBuilder::rawAngle(const QString& name, double value) { |
| | add(name, m_action->formatAngleRaw(value)); |
| | return *this; |
| | } |
| |
|
| | LC_ActionInfoMessageBuilder& LC_ActionInfoMessageBuilder::linear(const QString& name, double value) { |
| | add(name, m_action->formatLinear(value)); |
| | return *this; |
| | } |
| |
|
| | void LC_ActionInfoMessageBuilder::toInfoCursorZone2(bool replace) { |
| | QString message = toString(); |
| | m_action->appendInfoCursorZoneMessage(message, 2, replace); |
| | cleanup(); |
| | message = toString(); |
| | } |
| |
|