def showEvent(self, QShowEvent):
     QWidget.showEvent(self, QShowEvent)
     self.edtRule.setSelection(len(self.edtRule.text()),0)
Exemple #2
0
 def showEvent(self, *args, **kwargs):
     self.activate(0)
     return QWidget.showEvent(self, *args, **kwargs)
Exemple #3
0
 def showEvent(self, QShowEvent):
     QWidget.showEvent(self, QShowEvent)
     self.edtRule.setSelection(len(self.edtRule.text()), 0)