eric4.Graphics.UMLCanvasSizeDialog
Module implementing a dialog to set the canvas sizes.
Classes
Functions
UMLCanvasSizeDialog
Class implementing a dialog to set the canvas sizes.
Derived from
QDialog, Ui_UMLCanvasSizeDialog
Methods
UMLCanvasSizeDialog (Constructor)
UMLCanvasSizeDialog(w, h, minW, minH, parent = None, name = None)
Constructor
- w
-
current width of canvas (integer)
- h
-
current height of canvas (integer)
- minW
-
minimum width allowed (integer)
- minH
-
minimum height allowed (integer)
- parent
-
parent widget of this dialog (QWidget)
- name
-
name of this widget (QString or string)
UMLCanvasSizeDialog.getData
getData()
Method to retrieve the entered data.
- Returns:
-
tuple giving the selected width and height
(integer, integer)