src/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsGit.GitPatchFilesDialog.html

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

eric ide

mercurial