How can I have a QLineEdit
unabled by default but that becomes enabled when receives a mouseDoubleClickEvent()
?
How can I implement the mouseDoubleClickEvent()
?
I always get the error "not enough arguments" when I try something like:
if self.MyQLineEdit.mouseDoubleClickEvent() == True:
do something
You can not set that event with the statement:
There are 2 possible options:
QLineEdit
: