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

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
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.GitPatchStatisticsDialog</h1> 23 <h1>eric6.Plugins.VcsPlugins.vcsGit.GitPatchStatisticsDialog</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog to show some patch file statistics. 26 Module implementing a dialog to show some patch file statistics.
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="#GitPatchStatisticsDialog">GitPatchStatisticsDialog</a></td> 38 <td><a href="#GitPatchStatisticsDialog">GitPatchStatisticsDialog</a></td>
34 <td>Class implementing a dialog to show some patch file statistics.</td> 39 <td>Class implementing a dialog to show some patch file statistics.</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="GitPatchStatisticsDialog" ID="GitPatchStatisticsDialog"></a> 49 <a NAME="GitPatchStatisticsDialog" ID="GitPatchStatisticsDialog"></a>
43 <h2>GitPatchStatisticsDialog</h2> 50 <h2>GitPatchStatisticsDialog</h2>
51
44 <p> 52 <p>
45 Class implementing a dialog to show some patch file statistics. 53 Class implementing a dialog to show some patch file statistics.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 QDialog, Ui_GitPatchStatisticsDialog 56 QDialog, Ui_GitPatchStatisticsDialog
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="#GitPatchStatisticsDialog.__init__">GitPatchStatisticsDialog</a></td> 72 <td><a href="#GitPatchStatisticsDialog.__init__">GitPatchStatisticsDialog</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#GitPatchStatisticsDialog.__createStatisticsItem">__createStatisticsItem</a></td> 76 <td><a href="#GitPatchStatisticsDialog.__createStatisticsItem">__createStatisticsItem</a></td>
64 <td>Private method to create a file statistics entry.</td> 77 <td>Private method to create a file statistics entry.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#GitPatchStatisticsDialog.__resizeColumns">__resizeColumns</a></td> 80 <td><a href="#GitPatchStatisticsDialog.__resizeColumns">__resizeColumns</a></td>
67 <td>Private method to resize the list columns.</td> 81 <td>Private method to resize the list columns.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#GitPatchStatisticsDialog.getData">getData</a></td> 84 <td><a href="#GitPatchStatisticsDialog.getData">getData</a></td>
70 <td>Public method to get the data used to generate the statistics.</td> 85 <td>Public method to get the data used to generate the statistics.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#GitPatchStatisticsDialog.start">start</a></td> 88 <td><a href="#GitPatchStatisticsDialog.start">start</a></td>
73 <td>Public method to start the statistics process.</td> 89 <td>Public method to start the statistics process.</td>
74 </tr> 90 </tr>
75 </table> 91 </table>
76 <h3>Static Methods</h3> 92 <h3>Static Methods</h3>
93
77 <table> 94 <table>
78 <tr><td>None</td></tr> 95 <tr><td>None</td></tr>
79 </table> 96 </table>
97
80 <a NAME="GitPatchStatisticsDialog.__init__" ID="GitPatchStatisticsDialog.__init__"></a> 98 <a NAME="GitPatchStatisticsDialog.__init__" ID="GitPatchStatisticsDialog.__init__"></a>
81 <h4>GitPatchStatisticsDialog (Constructor)</h4> 99 <h4>GitPatchStatisticsDialog (Constructor)</h4>
82 <b>GitPatchStatisticsDialog</b>(<i>vcs, parent=None</i>) 100 <b>GitPatchStatisticsDialog</b>(<i>vcs, parent=None</i>)
101
83 <p> 102 <p>
84 Constructor 103 Constructor
85 </p><dl> 104 </p>
105 <dl>
106
86 <dt><i>vcs</i></dt> 107 <dt><i>vcs</i></dt>
87 <dd> 108 <dd>
88 reference to the VCS object (Git) 109 reference to the VCS object (Git)
89 </dd><dt><i>parent</i></dt> 110 </dd>
111 <dt><i>parent</i></dt>
90 <dd> 112 <dd>
91 reference to the parent widget (QWidget) 113 reference to the parent widget (QWidget)
92 </dd> 114 </dd>
93 </dl><a NAME="GitPatchStatisticsDialog.__createStatisticsItem" ID="GitPatchStatisticsDialog.__createStatisticsItem"></a> 115 </dl>
116 <a NAME="GitPatchStatisticsDialog.__createStatisticsItem" ID="GitPatchStatisticsDialog.__createStatisticsItem"></a>
94 <h4>GitPatchStatisticsDialog.__createStatisticsItem</h4> 117 <h4>GitPatchStatisticsDialog.__createStatisticsItem</h4>
95 <b>__createStatisticsItem</b>(<i>line</i>) 118 <b>__createStatisticsItem</b>(<i>line</i>)
119
96 <p> 120 <p>
97 Private method to create a file statistics entry. 121 Private method to create a file statistics entry.
98 </p><dl> 122 </p>
123 <dl>
124
99 <dt><i>line</i></dt> 125 <dt><i>line</i></dt>
100 <dd> 126 <dd>
101 string with file statistics data (string) 127 string with file statistics data (string)
102 </dd> 128 </dd>
103 </dl><a NAME="GitPatchStatisticsDialog.__resizeColumns" ID="GitPatchStatisticsDialog.__resizeColumns"></a> 129 </dl>
130 <a NAME="GitPatchStatisticsDialog.__resizeColumns" ID="GitPatchStatisticsDialog.__resizeColumns"></a>
104 <h4>GitPatchStatisticsDialog.__resizeColumns</h4> 131 <h4>GitPatchStatisticsDialog.__resizeColumns</h4>
105 <b>__resizeColumns</b>(<i></i>) 132 <b>__resizeColumns</b>(<i></i>)
133
106 <p> 134 <p>
107 Private method to resize the list columns. 135 Private method to resize the list columns.
108 </p><a NAME="GitPatchStatisticsDialog.getData" ID="GitPatchStatisticsDialog.getData"></a> 136 </p>
137 <a NAME="GitPatchStatisticsDialog.getData" ID="GitPatchStatisticsDialog.getData"></a>
109 <h4>GitPatchStatisticsDialog.getData</h4> 138 <h4>GitPatchStatisticsDialog.getData</h4>
110 <b>getData</b>(<i></i>) 139 <b>getData</b>(<i></i>)
140
111 <p> 141 <p>
112 Public method to get the data used to generate the statistics. 142 Public method to get the data used to generate the statistics.
113 </p><dl> 143 </p>
144 <dl>
114 <dt>Returns:</dt> 145 <dt>Returns:</dt>
115 <dd> 146 <dd>
116 tuple of list of patch files, strip count, flag indicating 147 tuple of list of patch files, strip count, flag indicating
117 that the patch has inaccurate end-of-file marker and a flag 148 that the patch has inaccurate end-of-file marker and a flag
118 indicating to not trust the line count information 149 indicating to not trust the line count information
119 (list of string, integer, boolean, boolean) 150 (list of string, integer, boolean, boolean)
120 </dd> 151 </dd>
121 </dl><a NAME="GitPatchStatisticsDialog.start" ID="GitPatchStatisticsDialog.start"></a> 152 </dl>
153 <a NAME="GitPatchStatisticsDialog.start" ID="GitPatchStatisticsDialog.start"></a>
122 <h4>GitPatchStatisticsDialog.start</h4> 154 <h4>GitPatchStatisticsDialog.start</h4>
123 <b>start</b>(<i>projectDir, patchCheckData</i>) 155 <b>start</b>(<i>projectDir, patchCheckData</i>)
156
124 <p> 157 <p>
125 Public method to start the statistics process. 158 Public method to start the statistics process.
126 </p><dl> 159 </p>
160 <dl>
161
127 <dt><i>projectDir</i></dt> 162 <dt><i>projectDir</i></dt>
128 <dd> 163 <dd>
129 directory name of the project (string) 164 directory name of the project (string)
130 </dd><dt><i>patchCheckData</i></dt> 165 </dd>
166 <dt><i>patchCheckData</i></dt>
131 <dd> 167 <dd>
132 tuple of data as returned by the 168 tuple of data as returned by the
133 GitPatchFilesDialog.getData() method 169 GitPatchFilesDialog.getData() method
134 </dd> 170 </dd>
135 </dl> 171 </dl>

eric ide

mercurial