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) |