|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsGit.GitSubmodulesDeinitDialog</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.Plugins.VcsPlugins.vcsGit.GitSubmodulesDeinitDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to get the data for a submodule deinit operation. |
|
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="#GitSubmodulesDeinitDialog">GitSubmodulesDeinitDialog</a></td> |
|
39 <td>Class implementing a dialog to get the data for a submodule deinit operation.</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="GitSubmodulesDeinitDialog" ID="GitSubmodulesDeinitDialog"></a> |
|
50 <h2>GitSubmodulesDeinitDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a dialog to get the data for a submodule deinit |
|
54 operation. |
|
55 </p> |
|
56 <h3>Derived from</h3> |
|
57 QDialog, Ui_GitSubmodulesDeinitDialog |
|
58 <h3>Class Attributes</h3> |
|
59 |
|
60 <table> |
|
61 <tr><td>None</td></tr> |
|
62 </table> |
|
63 <h3>Class Methods</h3> |
|
64 |
|
65 <table> |
|
66 <tr><td>None</td></tr> |
|
67 </table> |
|
68 <h3>Methods</h3> |
|
69 |
|
70 <table> |
|
71 |
|
72 <tr> |
|
73 <td><a href="#GitSubmodulesDeinitDialog.__init__">GitSubmodulesDeinitDialog</a></td> |
|
74 <td>Constructor</td> |
|
75 </tr> |
|
76 <tr> |
|
77 <td><a href="#GitSubmodulesDeinitDialog.__updateOK">__updateOK</a></td> |
|
78 <td>Private slot to update the state of the OK button.</td> |
|
79 </tr> |
|
80 <tr> |
|
81 <td><a href="#GitSubmodulesDeinitDialog.getData">getData</a></td> |
|
82 <td>Public method to get the entered data.</td> |
|
83 </tr> |
|
84 <tr> |
|
85 <td><a href="#GitSubmodulesDeinitDialog.on_allCheckBox_toggled">on_allCheckBox_toggled</a></td> |
|
86 <td>Private slot to react on changes of the all checkbox.</td> |
|
87 </tr> |
|
88 <tr> |
|
89 <td><a href="#GitSubmodulesDeinitDialog.on_submodulesList_itemSelectionChanged">on_submodulesList_itemSelectionChanged</a></td> |
|
90 <td>Private slot to react on changes of the submodule selection.</td> |
|
91 </tr> |
|
92 </table> |
|
93 <h3>Static Methods</h3> |
|
94 |
|
95 <table> |
|
96 <tr><td>None</td></tr> |
|
97 </table> |
|
98 |
|
99 <a NAME="GitSubmodulesDeinitDialog.__init__" ID="GitSubmodulesDeinitDialog.__init__"></a> |
|
100 <h4>GitSubmodulesDeinitDialog (Constructor)</h4> |
|
101 <b>GitSubmodulesDeinitDialog</b>(<i>submodulePaths, parent=None</i>) |
|
102 |
|
103 <p> |
|
104 Constructor |
|
105 </p> |
|
106 <dl> |
|
107 |
|
108 <dt><i>submodulePaths</i> (list of str)</dt> |
|
109 <dd> |
|
110 list of submodule paths |
|
111 </dd> |
|
112 <dt><i>parent</i> (QWidget)</dt> |
|
113 <dd> |
|
114 reference to the parent widget |
|
115 </dd> |
|
116 </dl> |
|
117 <a NAME="GitSubmodulesDeinitDialog.__updateOK" ID="GitSubmodulesDeinitDialog.__updateOK"></a> |
|
118 <h4>GitSubmodulesDeinitDialog.__updateOK</h4> |
|
119 <b>__updateOK</b>(<i></i>) |
|
120 |
|
121 <p> |
|
122 Private slot to update the state of the OK button. |
|
123 </p> |
|
124 <a NAME="GitSubmodulesDeinitDialog.getData" ID="GitSubmodulesDeinitDialog.getData"></a> |
|
125 <h4>GitSubmodulesDeinitDialog.getData</h4> |
|
126 <b>getData</b>(<i></i>) |
|
127 |
|
128 <p> |
|
129 Public method to get the entered data. |
|
130 </p> |
|
131 <dl> |
|
132 <dt>Return:</dt> |
|
133 <dd> |
|
134 tuple containing a flag to indicate all submodules, a list of |
|
135 selected submodules and a flag indicating an enforced operation |
|
136 </dd> |
|
137 </dl> |
|
138 <dl> |
|
139 <dt>Return Type:</dt> |
|
140 <dd> |
|
141 tuple of (bool, list of str, bool) |
|
142 </dd> |
|
143 </dl> |
|
144 <a NAME="GitSubmodulesDeinitDialog.on_allCheckBox_toggled" ID="GitSubmodulesDeinitDialog.on_allCheckBox_toggled"></a> |
|
145 <h4>GitSubmodulesDeinitDialog.on_allCheckBox_toggled</h4> |
|
146 <b>on_allCheckBox_toggled</b>(<i>checked</i>) |
|
147 |
|
148 <p> |
|
149 Private slot to react on changes of the all checkbox. |
|
150 </p> |
|
151 <dl> |
|
152 |
|
153 <dt><i>checked</i> (bool)</dt> |
|
154 <dd> |
|
155 state of the checkbox |
|
156 </dd> |
|
157 </dl> |
|
158 <a NAME="GitSubmodulesDeinitDialog.on_submodulesList_itemSelectionChanged" ID="GitSubmodulesDeinitDialog.on_submodulesList_itemSelectionChanged"></a> |
|
159 <h4>GitSubmodulesDeinitDialog.on_submodulesList_itemSelectionChanged</h4> |
|
160 <b>on_submodulesList_itemSelectionChanged</b>(<i></i>) |
|
161 |
|
162 <p> |
|
163 Private slot to react on changes of the submodule selection. |
|
164 </p> |
|
165 <div align="right"><a href="#top">Up</a></div> |
|
166 <hr /> |
|
167 </body></html> |