18 class HgQueuesNewPatchDialog(QDialog, Ui_HgQueuesNewPatchDialog): |
18 class HgQueuesNewPatchDialog(QDialog, Ui_HgQueuesNewPatchDialog): |
19 """ |
19 """ |
20 Class implementing a dialog to get the data for a new patch. |
20 Class implementing a dialog to get the data for a new patch. |
21 """ |
21 """ |
22 |
22 |
|
23 # TODO: change this to an enum |
23 NEW_MODE = 0 |
24 NEW_MODE = 0 |
24 REFRESH_MODE = 1 |
25 REFRESH_MODE = 1 |
25 |
26 |
26 def __init__(self, mode, message="", parent=None): |
27 def __init__(self, mode, message="", parent=None): |
27 """ |
28 """ |