ProjectDjangoTagsMenu/MultiLineInputDialog.py

changeset 49
ef6c805ae218
parent 47
825bf5861f89
child 51
29c461f7bea0
equal deleted inserted replaced
48:ba771c089e44 49:ef6c805ae218
48 @return multi line text (string) and a flag indicating the acceptance 48 @return multi line text (string) and a flag indicating the acceptance
49 state (boolean) 49 state (boolean)
50 """ 50 """
51 dlg = MultiLineInputDialog(label, default, parent) 51 dlg = MultiLineInputDialog(label, default, parent)
52 dlg.setWindowTitle(title) 52 dlg.setWindowTitle(title)
53 if dlg.exec_() == QDialog.Accepted: 53 if dlg.exec() == QDialog.Accepted:
54 return dlg.getData(), True 54 return dlg.getData(), True
55 else: 55 else:
56 return "", False 56 return "", False

eric ide

mercurial