QScintilla/ZoomDialog.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1131
7781e396c903
equal deleted inserted replaced
944:1b59c4ba121e 945:8cd4d08fa9f6
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)

eric ide

mercurial