+void ModuleBase_ParamSpinBox::showCompletion(bool checkPrefix)
+{
+ myCompletePos = lineEdit()->cursorPosition();
+ int aStart, aEnd;
+ QString aPrefix;
+ aPrefix = getPrefix(aStart, aEnd);
+ if (checkPrefix) {
+ if (aPrefix.length() > 0) {
+ myCompleter->setCompletionPrefix(aPrefix);
+ myCompleter->complete();
+ }
+ } else {
+ myCompleter->setCompletionPrefix(aPrefix);
+ myCompleter->complete();
+ }
+}
+