コード例 #1
0
 def showEvent(self, QShowEvent):
     QWidget.showEvent(self, QShowEvent)
     self.edtRule.setSelection(len(self.edtRule.text()),0)
コード例 #2
0
ファイル: stackedpage.py プロジェクト: JanDeVisser/Grumble
 def showEvent(self, *args, **kwargs):
     self.activate(0)
     return QWidget.showEvent(self, *args, **kwargs)
コード例 #3
0
 def showEvent(self, QShowEvent):
     QWidget.showEvent(self, QShowEvent)
     self.edtRule.setSelection(len(self.edtRule.text()), 0)