9 |
9 |
10 from PyQt4.QtGui import QDialog |
10 from PyQt4.QtGui import QDialog |
11 |
11 |
12 from .Ui_ZoomDialog import Ui_ZoomDialog |
12 from .Ui_ZoomDialog import Ui_ZoomDialog |
13 |
13 |
|
14 |
14 class ZoomDialog(QDialog, Ui_ZoomDialog): |
15 class ZoomDialog(QDialog, Ui_ZoomDialog): |
15 """ |
16 """ |
16 Class implementing a dialog to select the zoom scale. |
17 Class implementing a dialog to select the zoom scale. |
17 """ |
18 """ |
18 def __init__(self, zoom, parent, name = None, modal = False): |
19 def __init__(self, zoom, parent, name=None, modal=False): |
19 """ |
20 """ |
20 Constructor |
21 Constructor |
21 |
22 |
22 @param zoom zoom factor to show in the spinbox |
23 @param zoom zoom factor to show in the spinbox |
23 @param parent parent widget of this dialog (QWidget) |
24 @param parent parent widget of this dialog (QWidget) |