16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.Plugins.VcsPlugins.vcsGit.GitPatchFilesDialog</h1> |
23 <h1>eric6.Plugins.VcsPlugins.vcsGit.GitPatchFilesDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a dialog to select a list of patch files. |
26 Module implementing a dialog to select a list of patch files. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
|
34 |
31 <table> |
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#GitPatchFilesDialog">GitPatchFilesDialog</a></td> |
38 <td><a href="#GitPatchFilesDialog">GitPatchFilesDialog</a></td> |
34 <td>Class implementing a dialog to select a list of patch files.</td> |
39 <td>Class implementing a dialog to select a list of patch files.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
|
43 |
38 <table> |
44 <table> |
39 <tr><td>None</td></tr> |
45 <tr><td>None</td></tr> |
40 </table> |
46 </table> |
41 <hr /><hr /> |
47 <hr /> |
|
48 <hr /> |
42 <a NAME="GitPatchFilesDialog" ID="GitPatchFilesDialog"></a> |
49 <a NAME="GitPatchFilesDialog" ID="GitPatchFilesDialog"></a> |
43 <h2>GitPatchFilesDialog</h2> |
50 <h2>GitPatchFilesDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a dialog to select a list of patch files. |
53 Class implementing a dialog to select a list of patch files. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 QDialog, Ui_GitPatchFilesDialog |
56 QDialog, Ui_GitPatchFilesDialog |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
|
68 |
58 <table> |
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#GitPatchFilesDialog.__init__">GitPatchFilesDialog</a></td> |
72 <td><a href="#GitPatchFilesDialog.__init__">GitPatchFilesDialog</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#GitPatchFilesDialog.__getPatchFilesList">__getPatchFilesList</a></td> |
76 <td><a href="#GitPatchFilesDialog.__getPatchFilesList">__getPatchFilesList</a></td> |
64 <td>Private method to get the list of patch files.</td> |
77 <td>Private method to get the list of patch files.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#GitPatchFilesDialog.getData">getData</a></td> |
80 <td><a href="#GitPatchFilesDialog.getData">getData</a></td> |
67 <td>Public slot to get the entered data.</td> |
81 <td>Public slot to get the entered data.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#GitPatchFilesDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
84 <td><a href="#GitPatchFilesDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
70 <td>Private slot to add patch files to the list.</td> |
85 <td>Private slot to add patch files to the list.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#GitPatchFilesDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
88 <td><a href="#GitPatchFilesDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
73 <td>Private slot to delete the selected patch files.</td> |
89 <td>Private slot to delete the selected patch files.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#GitPatchFilesDialog.on_downButton_clicked">on_downButton_clicked</a></td> |
92 <td><a href="#GitPatchFilesDialog.on_downButton_clicked">on_downButton_clicked</a></td> |
76 <td>Private slot to move an entry down in the list.</td> |
93 <td>Private slot to move an entry down in the list.</td> |
77 </tr><tr> |
94 </tr> |
|
95 <tr> |
78 <td><a href="#GitPatchFilesDialog.on_patchFilesList_itemSelectionChanged">on_patchFilesList_itemSelectionChanged</a></td> |
96 <td><a href="#GitPatchFilesDialog.on_patchFilesList_itemSelectionChanged">on_patchFilesList_itemSelectionChanged</a></td> |
79 <td>Private slot to enable button states depending on selection.</td> |
97 <td>Private slot to enable button states depending on selection.</td> |
80 </tr><tr> |
98 </tr> |
|
99 <tr> |
81 <td><a href="#GitPatchFilesDialog.on_upButton_clicked">on_upButton_clicked</a></td> |
100 <td><a href="#GitPatchFilesDialog.on_upButton_clicked">on_upButton_clicked</a></td> |
82 <td>Private slot to move an entry up in the list.</td> |
101 <td>Private slot to move an entry up in the list.</td> |
83 </tr> |
102 </tr> |
84 </table> |
103 </table> |
85 <h3>Static Methods</h3> |
104 <h3>Static Methods</h3> |
|
105 |
86 <table> |
106 <table> |
87 <tr><td>None</td></tr> |
107 <tr><td>None</td></tr> |
88 </table> |
108 </table> |
|
109 |
89 <a NAME="GitPatchFilesDialog.__init__" ID="GitPatchFilesDialog.__init__"></a> |
110 <a NAME="GitPatchFilesDialog.__init__" ID="GitPatchFilesDialog.__init__"></a> |
90 <h4>GitPatchFilesDialog (Constructor)</h4> |
111 <h4>GitPatchFilesDialog (Constructor)</h4> |
91 <b>GitPatchFilesDialog</b>(<i>rootDir, patchCheckData, parent=None</i>) |
112 <b>GitPatchFilesDialog</b>(<i>rootDir, patchCheckData, parent=None</i>) |
|
113 |
92 <p> |
114 <p> |
93 Constructor |
115 Constructor |
94 </p><dl> |
116 </p> |
|
117 <dl> |
|
118 |
95 <dt><i>rootDir</i></dt> |
119 <dt><i>rootDir</i></dt> |
96 <dd> |
120 <dd> |
97 root of the directory tree (string) |
121 root of the directory tree (string) |
98 </dd><dt><i>patchCheckData</i></dt> |
122 </dd> |
|
123 <dt><i>patchCheckData</i></dt> |
99 <dd> |
124 <dd> |
100 tuple of data as returned by the |
125 tuple of data as returned by the |
101 getData() method |
126 getData() method |
102 </dd><dt><i>parent</i></dt> |
127 </dd> |
|
128 <dt><i>parent</i></dt> |
103 <dd> |
129 <dd> |
104 reference to the parent widget (QWidget) |
130 reference to the parent widget (QWidget) |
105 </dd> |
131 </dd> |
106 </dl><a NAME="GitPatchFilesDialog.__getPatchFilesList" ID="GitPatchFilesDialog.__getPatchFilesList"></a> |
132 </dl> |
|
133 <a NAME="GitPatchFilesDialog.__getPatchFilesList" ID="GitPatchFilesDialog.__getPatchFilesList"></a> |
107 <h4>GitPatchFilesDialog.__getPatchFilesList</h4> |
134 <h4>GitPatchFilesDialog.__getPatchFilesList</h4> |
108 <b>__getPatchFilesList</b>(<i></i>) |
135 <b>__getPatchFilesList</b>(<i></i>) |
|
136 |
109 <p> |
137 <p> |
110 Private method to get the list of patch files. |
138 Private method to get the list of patch files. |
111 </p><dl> |
139 </p> |
|
140 <dl> |
112 <dt>Returns:</dt> |
141 <dt>Returns:</dt> |
113 <dd> |
142 <dd> |
114 list of patch files (list of string) |
143 list of patch files (list of string) |
115 </dd> |
144 </dd> |
116 </dl><a NAME="GitPatchFilesDialog.getData" ID="GitPatchFilesDialog.getData"></a> |
145 </dl> |
|
146 <a NAME="GitPatchFilesDialog.getData" ID="GitPatchFilesDialog.getData"></a> |
117 <h4>GitPatchFilesDialog.getData</h4> |
147 <h4>GitPatchFilesDialog.getData</h4> |
118 <b>getData</b>(<i></i>) |
148 <b>getData</b>(<i></i>) |
|
149 |
119 <p> |
150 <p> |
120 Public slot to get the entered data. |
151 Public slot to get the entered data. |
121 </p><dl> |
152 </p> |
|
153 <dl> |
122 <dt>Returns:</dt> |
154 <dt>Returns:</dt> |
123 <dd> |
155 <dd> |
124 tuple of list of patch files, strip count, flag indicating |
156 tuple of list of patch files, strip count, flag indicating |
125 that the patch has inaccurate end-of-file marker and a flag |
157 that the patch has inaccurate end-of-file marker and a flag |
126 indicating to not trust the line count information |
158 indicating to not trust the line count information |
127 (list of string, integer, boolean, boolean) |
159 (list of string, integer, boolean, boolean) |
128 </dd> |
160 </dd> |
129 </dl><a NAME="GitPatchFilesDialog.on_addButton_clicked" ID="GitPatchFilesDialog.on_addButton_clicked"></a> |
161 </dl> |
|
162 <a NAME="GitPatchFilesDialog.on_addButton_clicked" ID="GitPatchFilesDialog.on_addButton_clicked"></a> |
130 <h4>GitPatchFilesDialog.on_addButton_clicked</h4> |
163 <h4>GitPatchFilesDialog.on_addButton_clicked</h4> |
131 <b>on_addButton_clicked</b>(<i></i>) |
164 <b>on_addButton_clicked</b>(<i></i>) |
|
165 |
132 <p> |
166 <p> |
133 Private slot to add patch files to the list. |
167 Private slot to add patch files to the list. |
134 </p><a NAME="GitPatchFilesDialog.on_deleteButton_clicked" ID="GitPatchFilesDialog.on_deleteButton_clicked"></a> |
168 </p> |
|
169 <a NAME="GitPatchFilesDialog.on_deleteButton_clicked" ID="GitPatchFilesDialog.on_deleteButton_clicked"></a> |
135 <h4>GitPatchFilesDialog.on_deleteButton_clicked</h4> |
170 <h4>GitPatchFilesDialog.on_deleteButton_clicked</h4> |
136 <b>on_deleteButton_clicked</b>(<i></i>) |
171 <b>on_deleteButton_clicked</b>(<i></i>) |
|
172 |
137 <p> |
173 <p> |
138 Private slot to delete the selected patch files. |
174 Private slot to delete the selected patch files. |
139 </p><a NAME="GitPatchFilesDialog.on_downButton_clicked" ID="GitPatchFilesDialog.on_downButton_clicked"></a> |
175 </p> |
|
176 <a NAME="GitPatchFilesDialog.on_downButton_clicked" ID="GitPatchFilesDialog.on_downButton_clicked"></a> |
140 <h4>GitPatchFilesDialog.on_downButton_clicked</h4> |
177 <h4>GitPatchFilesDialog.on_downButton_clicked</h4> |
141 <b>on_downButton_clicked</b>(<i></i>) |
178 <b>on_downButton_clicked</b>(<i></i>) |
|
179 |
142 <p> |
180 <p> |
143 Private slot to move an entry down in the list. |
181 Private slot to move an entry down in the list. |
144 </p><a NAME="GitPatchFilesDialog.on_patchFilesList_itemSelectionChanged" ID="GitPatchFilesDialog.on_patchFilesList_itemSelectionChanged"></a> |
182 </p> |
|
183 <a NAME="GitPatchFilesDialog.on_patchFilesList_itemSelectionChanged" ID="GitPatchFilesDialog.on_patchFilesList_itemSelectionChanged"></a> |
145 <h4>GitPatchFilesDialog.on_patchFilesList_itemSelectionChanged</h4> |
184 <h4>GitPatchFilesDialog.on_patchFilesList_itemSelectionChanged</h4> |
146 <b>on_patchFilesList_itemSelectionChanged</b>(<i></i>) |
185 <b>on_patchFilesList_itemSelectionChanged</b>(<i></i>) |
|
186 |
147 <p> |
187 <p> |
148 Private slot to enable button states depending on selection. |
188 Private slot to enable button states depending on selection. |
149 </p><a NAME="GitPatchFilesDialog.on_upButton_clicked" ID="GitPatchFilesDialog.on_upButton_clicked"></a> |
189 </p> |
|
190 <a NAME="GitPatchFilesDialog.on_upButton_clicked" ID="GitPatchFilesDialog.on_upButton_clicked"></a> |
150 <h4>GitPatchFilesDialog.on_upButton_clicked</h4> |
191 <h4>GitPatchFilesDialog.on_upButton_clicked</h4> |
151 <b>on_upButton_clicked</b>(<i></i>) |
192 <b>on_upButton_clicked</b>(<i></i>) |
|
193 |
152 <p> |
194 <p> |
153 Private slot to move an entry up in the list. |
195 Private slot to move an entry up in the list. |
154 </p> |
196 </p> |
155 <div align="right"><a href="#top">Up</a></div> |
197 <div align="right"><a href="#top">Up</a></div> |
156 <hr /> |
198 <hr /> |