{
public:
ModuleBase_EditorDialog(QWidget* theParent, Qt::WindowFlags theFlags)
- : QDialog(theParent, theFlags) {}
+ : QDialog(theParent, theFlags)
+ {
+ setMinimumWidth(100);
+ }
~ModuleBase_EditorDialog() {}
protected:
ModuleBase_ParamSpinBox* anEditor = new ModuleBase_ParamSpinBox(myEditorDialog);
anEditor->setMinimum(theSpinMinValue);
anEditor->setMaximum(theSpinMaxValue);
+
+ QStringList aParameters;
+ ModuleBase_Tools::getParameters(aParameters);
+ anEditor->setCompletionList(aParameters);
+
if (outText.isEmpty())
anEditor->setValue(outValue);
else