|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.QScintilla.EditorOutlineSizesDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.QScintilla.EditorOutlineSizesDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a dialog to change the default size settings of the Source |
|
13 Outline pane. |
|
14 </p> |
|
15 <h3>Global Attributes</h3> |
|
16 |
|
17 <table> |
|
18 <tr><td>None</td></tr> |
|
19 </table> |
|
20 <h3>Classes</h3> |
|
21 |
|
22 <table> |
|
23 |
|
24 <tr> |
|
25 <td><a href="#EditorOutlineSizesDialog">EditorOutlineSizesDialog</a></td> |
|
26 <td>Class implementing a dialog to change the default size settings of the Source Outline pane.</td> |
|
27 </tr> |
|
28 </table> |
|
29 <h3>Functions</h3> |
|
30 |
|
31 <table> |
|
32 <tr><td>None</td></tr> |
|
33 </table> |
|
34 <hr /> |
|
35 <hr /> |
|
36 <a NAME="EditorOutlineSizesDialog" ID="EditorOutlineSizesDialog"></a> |
|
37 <h2>EditorOutlineSizesDialog</h2> |
|
38 |
|
39 <p> |
|
40 Class implementing a dialog to change the default size settings of the |
|
41 Source Outline pane. |
|
42 </p> |
|
43 <h3>Derived from</h3> |
|
44 QDialog, Ui_EditorOutlineSizesDialog |
|
45 <h3>Class Attributes</h3> |
|
46 |
|
47 <table> |
|
48 <tr><td>None</td></tr> |
|
49 </table> |
|
50 <h3>Class Methods</h3> |
|
51 |
|
52 <table> |
|
53 <tr><td>None</td></tr> |
|
54 </table> |
|
55 <h3>Methods</h3> |
|
56 |
|
57 <table> |
|
58 |
|
59 <tr> |
|
60 <td><a href="#EditorOutlineSizesDialog.__init__">EditorOutlineSizesDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr> |
|
63 <tr> |
|
64 <td><a href="#EditorOutlineSizesDialog.getSizes">getSizes</a></td> |
|
65 <td>Public method to retrieve the entered values.</td> |
|
66 </tr> |
|
67 <tr> |
|
68 <td><a href="#EditorOutlineSizesDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
69 <td>Private slot to handle the selection of a dialog button.</td> |
|
70 </tr> |
|
71 </table> |
|
72 <h3>Static Methods</h3> |
|
73 |
|
74 <table> |
|
75 <tr><td>None</td></tr> |
|
76 </table> |
|
77 |
|
78 <a NAME="EditorOutlineSizesDialog.__init__" ID="EditorOutlineSizesDialog.__init__"></a> |
|
79 <h4>EditorOutlineSizesDialog (Constructor)</h4> |
|
80 <b>EditorOutlineSizesDialog</b>(<i>currentWidth, defaultWidth, defaultStepSize, parent=None</i>) |
|
81 |
|
82 <p> |
|
83 Constructor |
|
84 </p> |
|
85 <dl> |
|
86 |
|
87 <dt><i>currentWidth</i> (int)</dt> |
|
88 <dd> |
|
89 value of the current width |
|
90 </dd> |
|
91 <dt><i>defaultWidth</i> (int)</dt> |
|
92 <dd> |
|
93 value of the default width |
|
94 </dd> |
|
95 <dt><i>defaultStepSize</i> (int)</dt> |
|
96 <dd> |
|
97 value of the step size |
|
98 </dd> |
|
99 <dt><i>parent</i> (QWidget (optional))</dt> |
|
100 <dd> |
|
101 reference to the parent widget (defaults to None) |
|
102 </dd> |
|
103 </dl> |
|
104 <a NAME="EditorOutlineSizesDialog.getSizes" ID="EditorOutlineSizesDialog.getSizes"></a> |
|
105 <h4>EditorOutlineSizesDialog.getSizes</h4> |
|
106 <b>getSizes</b>(<i></i>) |
|
107 |
|
108 <p> |
|
109 Public method to retrieve the entered values. |
|
110 </p> |
|
111 <dl> |
|
112 <dt>Return:</dt> |
|
113 <dd> |
|
114 tuple containing the values of the default width and step size |
|
115 </dd> |
|
116 </dl> |
|
117 <dl> |
|
118 <dt>Return Type:</dt> |
|
119 <dd> |
|
120 tuple of (int, int) |
|
121 </dd> |
|
122 </dl> |
|
123 <a NAME="EditorOutlineSizesDialog.on_buttonBox_clicked" ID="EditorOutlineSizesDialog.on_buttonBox_clicked"></a> |
|
124 <h4>EditorOutlineSizesDialog.on_buttonBox_clicked</h4> |
|
125 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
126 |
|
127 <p> |
|
128 Private slot to handle the selection of a dialog button. |
|
129 </p> |
|
130 <dl> |
|
131 |
|
132 <dt><i>button</i> (QAbstractButton)</dt> |
|
133 <dd> |
|
134 reference to the clicked button |
|
135 </dd> |
|
136 </dl> |
|
137 <div align="right"><a href="#top">Up</a></div> |
|
138 <hr /> |
|
139 </body></html> |