9 |
9 |
10 from PyQt4.QtGui import QDialog |
10 from PyQt4.QtGui import QDialog |
11 |
11 |
12 from .Ui_IconZoomDialog import Ui_IconZoomDialog |
12 from .Ui_IconZoomDialog import Ui_IconZoomDialog |
13 |
13 |
|
14 |
14 class IconZoomDialog(QDialog, Ui_IconZoomDialog): |
15 class IconZoomDialog(QDialog, Ui_IconZoomDialog): |
15 """ |
16 """ |
16 Class implementing a dialog to select the zoom factor. |
17 Class implementing a dialog to select the zoom factor. |
17 """ |
18 """ |
18 def __init__(self, zoom, parent = None): |
19 def __init__(self, zoom, parent=None): |
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) |