ModelAPI_ResultConstruction.cpp
ModelAPI_ResultGroup.cpp
ModelAPI_ResultPart.cpp
+ ModelAPI_ResultParameter.cpp
ModelAPI_Session.cpp
ModelAPI_ShapeValidator.cpp
ModelAPI_Tools.cpp
#ifndef MODELAPI_RESULTPARAMETER_H_
#define MODELAPI_RESULTPARAMETER_H_
-#include "ModelAPI_Result.h"
+#include <ModelAPI.h>
+#include <ModelAPI_Result.h>
/**\class ModelAPI_ResultParameter
* \ingroup DataModel
virtual void initAttributes() = 0;
+ MODELAPI_EXPORT ~ModelAPI_ResultParameter();
+
};
//! Pointer on feature object
#include <QSize>
#include <QShortcut>
#include <QScrollBar>
+#include <QFontMetrics>
#include <memory>
#include <string>
myResultLabel = new QLabel(this);
myResultLabel->setWordWrap(true);
+ QFontMetrics fm(myResultLabel->font());
+ myResultLabel->setMinimumHeight(fm.height() * 2); // set 2 line height as minimum
+ myResultLabel->setAlignment(Qt::AlignLeft|Qt::AlignBottom);
aMainLay->addWidget(myResultLabel);
myEditor = new ExpressionEditor(this);
myEditor->setMinimumHeight(20);