- in Tool Cutout for the manual gaps, now the moving geometry that cuts gaps will orient itself to fit the angle of the cutout geometry

This commit is contained in:
Marius Stanciu
2019-08-23 02:15:45 +03:00
committed by Marius
parent 017d495a41
commit 948c495447
3 changed files with 84 additions and 7 deletions

View File

@@ -1876,9 +1876,16 @@ class MyCompleter(QCompleter):
QCompleter.__init__(self)
self.setCompletionMode(QCompleter.PopupCompletion)
self.highlighted.connect(self.setHighlighted)
# self.popup().installEventFilter(self)
# def eventFilter(self, obj, event):
# if event.type() == QtCore.QEvent.Wheel and obj is self.popup():
# pass
# return False
def setHighlighted(self, text):
self.lastSelected = text
def getSelected(self):
return self.lastSelected