21 class ImageMarkupDialog(QDialog, Ui_ImageMarkupDialog): |
21 class ImageMarkupDialog(QDialog, Ui_ImageMarkupDialog): |
22 """ |
22 """ |
23 Class implementing a dialog to enter data for an image markup. |
23 Class implementing a dialog to enter data for an image markup. |
24 """ |
24 """ |
25 |
25 |
|
26 # TODO: change this to an enum |
26 HtmlMode = 0 |
27 HtmlMode = 0 |
27 MarkDownMode = 1 |
28 MarkDownMode = 1 |
28 RestMode = 2 |
29 RestMode = 2 |
29 |
30 |
30 def __init__(self, mode, parent=None): |
31 def __init__(self, mode, parent=None): |