9 |
9 |
10 from PyQt4.QtGui import QDialog |
10 from PyQt4.QtGui import QDialog |
11 |
11 |
12 from .Ui_GotoDialog import Ui_GotoDialog |
12 from .Ui_GotoDialog import Ui_GotoDialog |
13 |
13 |
|
14 |
14 class GotoDialog(QDialog, Ui_GotoDialog): |
15 class GotoDialog(QDialog, Ui_GotoDialog): |
15 """ |
16 """ |
16 Class implementing the Goto dialog. |
17 Class implementing the Goto dialog. |
17 """ |
18 """ |
18 def __init__(self, maximum, parent, name = None, modal = False): |
19 def __init__(self, maximum, parent, name=None, modal=False): |
19 """ |
20 """ |
20 Constructor |
21 Constructor |
21 |
22 |
22 @param maximum the maximum allowed for the spinbox (int) |
23 @param maximum the maximum allowed for the spinbox (int) |
23 @param parent parent widget of this dialog (QWidget) |
24 @param parent parent widget of this dialog (QWidget) |