|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Graphics.UMLSceneSizeDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Graphics.UMLSceneSizeDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to set the scene sizes. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#UMLSceneSizeDialog">UMLSceneSizeDialog</a></td> |
|
39 <td>Class implementing a dialog to set the scene sizes.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
|
49 <a NAME="UMLSceneSizeDialog" ID="UMLSceneSizeDialog"></a> |
|
50 <h2>UMLSceneSizeDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a dialog to set the scene sizes. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QDialog, Ui_UMLSceneSizeDialog |
|
57 <h3>Class Attributes</h3> |
|
58 |
|
59 <table> |
|
60 <tr><td>None</td></tr> |
|
61 </table> |
|
62 <h3>Class Methods</h3> |
|
63 |
|
64 <table> |
|
65 <tr><td>None</td></tr> |
|
66 </table> |
|
67 <h3>Methods</h3> |
|
68 |
|
69 <table> |
|
70 |
|
71 <tr> |
|
72 <td><a href="#UMLSceneSizeDialog.__init__">UMLSceneSizeDialog</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#UMLSceneSizeDialog.getData">getData</a></td> |
|
77 <td>Public method to retrieve the entered data.</td> |
|
78 </tr> |
|
79 </table> |
|
80 <h3>Static Methods</h3> |
|
81 |
|
82 <table> |
|
83 <tr><td>None</td></tr> |
|
84 </table> |
|
85 |
|
86 <a NAME="UMLSceneSizeDialog.__init__" ID="UMLSceneSizeDialog.__init__"></a> |
|
87 <h4>UMLSceneSizeDialog (Constructor)</h4> |
|
88 <b>UMLSceneSizeDialog</b>(<i>w, h, minW, minH, parent=None, name=None</i>) |
|
89 |
|
90 <p> |
|
91 Constructor |
|
92 </p> |
|
93 <dl> |
|
94 |
|
95 <dt><i>w</i> (int)</dt> |
|
96 <dd> |
|
97 current width of scene |
|
98 </dd> |
|
99 <dt><i>h</i> (int)</dt> |
|
100 <dd> |
|
101 current height of scene |
|
102 </dd> |
|
103 <dt><i>minW</i> (int)</dt> |
|
104 <dd> |
|
105 minimum width allowed |
|
106 </dd> |
|
107 <dt><i>minH</i> (int)</dt> |
|
108 <dd> |
|
109 minimum height allowed |
|
110 </dd> |
|
111 <dt><i>parent</i> (QWidget)</dt> |
|
112 <dd> |
|
113 parent widget of this dialog |
|
114 </dd> |
|
115 <dt><i>name</i> (str)</dt> |
|
116 <dd> |
|
117 name of this widget |
|
118 </dd> |
|
119 </dl> |
|
120 <a NAME="UMLSceneSizeDialog.getData" ID="UMLSceneSizeDialog.getData"></a> |
|
121 <h4>UMLSceneSizeDialog.getData</h4> |
|
122 <b>getData</b>(<i></i>) |
|
123 |
|
124 <p> |
|
125 Public method to retrieve the entered data. |
|
126 </p> |
|
127 <dl> |
|
128 <dt>Return:</dt> |
|
129 <dd> |
|
130 tuple giving the selected width and height |
|
131 </dd> |
|
132 </dl> |
|
133 <dl> |
|
134 <dt>Return Type:</dt> |
|
135 <dd> |
|
136 tuple of (int, int) |
|
137 </dd> |
|
138 </dl> |
|
139 <div align="right"><a href="#top">Up</a></div> |
|
140 <hr /> |
|
141 </body></html> |