dialogs/DurationEditorDialog.py
changeset 1782 5b6ad7a7fd9d
parent 1768 691083b5682a
child 1846 14b40afccd69
equal deleted inserted replaced
1781:b112bfdde5cc 1782:5b6ad7a7fd9d
    25 
    25 
    26 import re
    26 import re
    27 
    27 
    28 import wx
    28 import wx
    29 
    29 
    30 #-------------------------------------------------------------------------------
    30 # -------------------------------------------------------------------------------
    31 #                                  Helpers
    31 #                                  Helpers
    32 #-------------------------------------------------------------------------------
    32 # -------------------------------------------------------------------------------
    33 
    33 
    34 MICROSECONDS = 0.001
    34 MICROSECONDS = 0.001
    35 MILLISECONDS = 1
    35 MILLISECONDS = 1
    36 SECOND = 1000
    36 SECOND = 1000
    37 MINUTE = 60 * SECOND
    37 MINUTE = 60 * SECOND
    47     ("Seconds", _('Seconds:')),
    47     ("Seconds", _('Seconds:')),
    48     ("Milliseconds", _('Milliseconds:')),
    48     ("Milliseconds", _('Milliseconds:')),
    49     ("Microseconds", _('Microseconds:')),
    49     ("Microseconds", _('Microseconds:')),
    50 ]
    50 ]
    51 
    51 
    52 #-------------------------------------------------------------------------------
    52 # -------------------------------------------------------------------------------
    53 #                         Edit Duration Value Dialog
    53 #                         Edit Duration Value Dialog
    54 #-------------------------------------------------------------------------------
    54 # -------------------------------------------------------------------------------
    55 
    55 
    56 
    56 
    57 class DurationEditorDialog(wx.Dialog):
    57 class DurationEditorDialog(wx.Dialog):
    58 
    58 
    59     def __init__(self, parent):
    59     def __init__(self, parent):