Skip to content
Snippets Groups Projects
Commit fcdd6190 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

for backward compatibility

parent e35f4c00
No related branches found
No related tags found
1 merge request!2189Detector2D now parameterized through width and center in phi,alpha (#854)
Pipeline #122128 failed
This commit is part of merge request !2189. Comments created here will be created in the context of that merge request.
...@@ -22,7 +22,9 @@ namespace Tag { ...@@ -22,7 +22,9 @@ namespace Tag {
const QString Nbins("Nbins"); const QString Nbins("Nbins");
const QString Width("Width"); const QString Width("Width");
const QString Center("Center"); const QString Center("Center");
const QString ExpandGroupbox("ExpandGroupbox"); // obsolete since v22.0 const QString Min("Min"); // from AxisProperty pre v22
const QString Max("Max"); // from AxisProperty pre v22
const QString ExpandGroupbox("ExpandGroupbox"); // from AxisProperty pre v22
} // namespace Tag } // namespace Tag
} // namespace } // namespace
...@@ -48,7 +50,7 @@ Scale SpanProperty::createAxis(const std::string& name) const ...@@ -48,7 +50,7 @@ Scale SpanProperty::createAxis(const std::string& name) const
void SpanProperty::writeTo(QXmlStreamWriter* w) const void SpanProperty::writeTo(QXmlStreamWriter* w) const
{ {
XML::writeAttribute(w, XML::Attrib::version, uint(2)); XML::writeAttribute(w, XML::Attrib::version, uint(3)); // forked from AxesProperty v3
// nbins // nbins
w->writeStartElement(Tag::Nbins); w->writeStartElement(Tag::Nbins);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment