Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

qtlib: add QuestionMsgBox()

Changeset d0afe4ab9b59

Parent e5d57619cb86

by Johan Samyn

Changes to one file · Browse files at d0afe4ab9b59 Showing diff from parent e5d57619cb86 Diff from another changeset...

 
131
132
133
 
 
 
134
135
136
 
131
132
133
134
135
136
137
138
139
@@ -131,6 +131,9 @@
 def ErrorMsgBox(*args, **kargs):   return CommonMsgBox(QtGui.QMessageBox.Critical, *args, **kargs)   +def QuestionMsgBox(*args, **kargs): + return CommonMsgBox(QtGui.QMessageBox.Question, *args, **kargs) +  class CustomPrompt(QtGui.QMessageBox):   def __init__(self, title, message, parent, choices, default=None,   esc=None, files=None):