88 @rtype tuple of (tuple of str, bool) |
88 @rtype tuple of (tuple of str, bool) |
89 """ |
89 """ |
90 if defaults is None: |
90 if defaults is None: |
91 defaults = [] |
91 defaults = [] |
92 |
92 |
93 dlg = DjangoTagInputDialog(labels, defaults, parent) |
93 dlg = DjangoTagInputDialog(labels, defaults=defaults, parent=parent) |
94 dlg.setWindowTitle(title) |
94 dlg.setWindowTitle(title) |
95 if dlg.exec() == QDialog.DialogCode.Accepted: |
95 if dlg.exec() == QDialog.DialogCode.Accepted: |
96 return dlg.getData(), True |
96 return dlg.getData(), True |
97 else: |
97 else: |
98 return (), False |
98 return (), False |