ProjectDjangoTagsMenu/TimezoneSelectionDialog.py

branch
eric7
changeset 72
529f1c17c93e
parent 70
ce1c2effa0e0
child 74
a25b858e18a7
equal deleted inserted replaced
71:fc1ab84c242f 72:529f1c17c93e
669 @type QWidget 669 @type QWidget
670 @return tuple of selected time zone and flag indicating the acceptance 670 @return tuple of selected time zone and flag indicating the acceptance
671 state 671 state
672 @rtype tuple of (str, bool) 672 @rtype tuple of (str, bool)
673 """ 673 """
674 dlg = TimezoneSelectionDialog(parent) 674 dlg = TimezoneSelectionDialog(parent=parent)
675 tz = "" 675 tz = ""
676 if dlg.exec() == QDialog.DialogCode.Accepted: 676 if dlg.exec() == QDialog.DialogCode.Accepted:
677 tz = dlg.getData() 677 tz = dlg.getData()
678 return tz, bool(tz) 678 return tz, bool(tz)

eric ide

mercurial