나는 QDateEdit 달력으로 사용하고 캡처하려는 말의 편집:
the_date = QDateEdit(...)
<some more initialization>
the_date.setCalendarPopup(True)
the_date.editingFinished.connect(checkDate)
...
def checkDate():
print ("checkDate called")
면 내가 편집한 날부터의 키보드, checkDate()
라고 할 때 초점을 둡 위젯으로 탭을 타격,반품,등등. 하지만 클릭 하는 경우에는 아래 화살표가 힘의 디스플레이 달력 checkDate()
라면 즉시 달력이 나타나고 다시면 위젯을 잃게 초점이다.
나는 원하지 않는 넥타이를 userDateChanged 기 때문에 그 신호에 각 키스트로크에서 편집 상자입니다.