Documentation/Source/eric6.Plugins.VcsPlugins.vcsGit.GitPatchFilesDialog.html

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

eric ide

mercurial