mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-09 23:16:00 -06:00
Rename in caf::PdmUiVec3dEditor
This commit is contained in:
parent
e4fa4b9994
commit
4ec8869743
@ -167,7 +167,7 @@ void RimReachCircleAnnotation::defineEditorAttribute(const caf::PdmFieldHandle*
|
||||
attr->pickEventHandler = m_centerPointEventHandler;
|
||||
if (m_centerPointXyd().isZero())
|
||||
{
|
||||
attr->startPicking = true;
|
||||
attr->startInPickingMode = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -233,7 +233,7 @@ void RimTextAnnotation::defineEditorAttribute(const caf::PdmFieldHandle* field,
|
||||
attr->pickEventHandler = m_anchorPointPickEventHandler;
|
||||
if (m_anchorPointXyd().isZero())
|
||||
{
|
||||
attr->startPicking = true;
|
||||
attr->startInPickingMode = true;
|
||||
}
|
||||
}
|
||||
else if (attr && field == &m_labelPointXyd)
|
||||
|
@ -123,7 +123,7 @@ void caf::PdmUiVec3dEditor::configureAndUpdateUi(const QString& uiConfigName)
|
||||
{
|
||||
m_lineEdit->setStyleSheet("");
|
||||
}
|
||||
pickButtonToggled(m_attribute.startPicking);
|
||||
pickButtonToggled(m_attribute.startInPickingMode);
|
||||
|
||||
m_lineEdit->setToolTip(uiField()->uiToolTip(uiConfigName));
|
||||
}
|
||||
|
@ -56,10 +56,10 @@ class PickEventHandler;
|
||||
class PdmUiVec3dEditorAttribute : public PdmUiEditorAttribute
|
||||
{
|
||||
public:
|
||||
PdmUiVec3dEditorAttribute() : startPicking(false) {}
|
||||
PdmUiVec3dEditorAttribute() : startInPickingMode(false) {}
|
||||
|
||||
public:
|
||||
bool startPicking;
|
||||
bool startInPickingMode;
|
||||
std::shared_ptr<PickEventHandler> pickEventHandler;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user