|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.VcsPlugins.vcsPySvn.SvnTagBranchListDialog</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.vcsPySvn.SvnTagBranchListDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to show a list of tags or branches. |
|
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="#SvnTagBranchListDialog">SvnTagBranchListDialog</a></td> |
|
34 <td>Class implementing a dialog to show a list of tags or branches.</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="SvnTagBranchListDialog" ID="SvnTagBranchListDialog"></a> |
|
43 <h2>SvnTagBranchListDialog</h2> |
|
44 <p> |
|
45 Class implementing a dialog to show a list of tags or branches. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, SvnDialogMixin, Ui_SvnTagBranchListDialog |
|
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="#SvnTagBranchListDialog.__init__">SvnTagBranchListDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#SvnTagBranchListDialog.__finish">__finish</a></td> |
|
64 <td>Private slot called when the process finished or the user pressed the button.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#SvnTagBranchListDialog.__generateItem">__generateItem</a></td> |
|
67 <td>Private method to generate a tag item in the taglist.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#SvnTagBranchListDialog.__resizeColumns">__resizeColumns</a></td> |
|
70 <td>Private method to resize the list columns.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#SvnTagBranchListDialog.__resort">__resort</a></td> |
|
73 <td>Private method to resort the tree.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#SvnTagBranchListDialog.__showError">__showError</a></td> |
|
76 <td>Private slot to show an error message.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#SvnTagBranchListDialog.getTagList">getTagList</a></td> |
|
79 <td>Public method to get the taglist of the last run.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#SvnTagBranchListDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
82 <td>Private slot called by a button of the button box clicked.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#SvnTagBranchListDialog.start">start</a></td> |
|
85 <td>Public slot to start the svn status command.</td> |
|
86 </tr> |
|
87 </table> |
|
88 <h3>Static Methods</h3> |
|
89 <table> |
|
90 <tr><td>None</td></tr> |
|
91 </table> |
|
92 <a NAME="SvnTagBranchListDialog.__init__" ID="SvnTagBranchListDialog.__init__"></a> |
|
93 <h4>SvnTagBranchListDialog (Constructor)</h4> |
|
94 <b>SvnTagBranchListDialog</b>(<i>vcs, parent=None</i>) |
|
95 <p> |
|
96 Constructor |
|
97 </p><dl> |
|
98 <dt><i>vcs</i></dt> |
|
99 <dd> |
|
100 reference to the vcs object |
|
101 </dd><dt><i>parent</i></dt> |
|
102 <dd> |
|
103 parent widget (QWidget) |
|
104 </dd> |
|
105 </dl><a NAME="SvnTagBranchListDialog.__finish" ID="SvnTagBranchListDialog.__finish"></a> |
|
106 <h4>SvnTagBranchListDialog.__finish</h4> |
|
107 <b>__finish</b>(<i></i>) |
|
108 <p> |
|
109 Private slot called when the process finished or the user pressed the |
|
110 button. |
|
111 </p><a NAME="SvnTagBranchListDialog.__generateItem" ID="SvnTagBranchListDialog.__generateItem"></a> |
|
112 <h4>SvnTagBranchListDialog.__generateItem</h4> |
|
113 <b>__generateItem</b>(<i>revision, author, date, name</i>) |
|
114 <p> |
|
115 Private method to generate a tag item in the taglist. |
|
116 </p><dl> |
|
117 <dt><i>revision</i></dt> |
|
118 <dd> |
|
119 revision number (integer) |
|
120 </dd><dt><i>author</i></dt> |
|
121 <dd> |
|
122 author of the tag (string) |
|
123 </dd><dt><i>date</i></dt> |
|
124 <dd> |
|
125 date of the tag (string) |
|
126 </dd><dt><i>name</i></dt> |
|
127 <dd> |
|
128 name (path) of the tag (string) |
|
129 </dd> |
|
130 </dl><a NAME="SvnTagBranchListDialog.__resizeColumns" ID="SvnTagBranchListDialog.__resizeColumns"></a> |
|
131 <h4>SvnTagBranchListDialog.__resizeColumns</h4> |
|
132 <b>__resizeColumns</b>(<i></i>) |
|
133 <p> |
|
134 Private method to resize the list columns. |
|
135 </p><a NAME="SvnTagBranchListDialog.__resort" ID="SvnTagBranchListDialog.__resort"></a> |
|
136 <h4>SvnTagBranchListDialog.__resort</h4> |
|
137 <b>__resort</b>(<i></i>) |
|
138 <p> |
|
139 Private method to resort the tree. |
|
140 </p><a NAME="SvnTagBranchListDialog.__showError" ID="SvnTagBranchListDialog.__showError"></a> |
|
141 <h4>SvnTagBranchListDialog.__showError</h4> |
|
142 <b>__showError</b>(<i>msg</i>) |
|
143 <p> |
|
144 Private slot to show an error message. |
|
145 </p><dl> |
|
146 <dt><i>msg</i></dt> |
|
147 <dd> |
|
148 error message to show (string) |
|
149 </dd> |
|
150 </dl><a NAME="SvnTagBranchListDialog.getTagList" ID="SvnTagBranchListDialog.getTagList"></a> |
|
151 <h4>SvnTagBranchListDialog.getTagList</h4> |
|
152 <b>getTagList</b>(<i></i>) |
|
153 <p> |
|
154 Public method to get the taglist of the last run. |
|
155 </p><dl> |
|
156 <dt>Returns:</dt> |
|
157 <dd> |
|
158 list of tags (list of strings) |
|
159 </dd> |
|
160 </dl><a NAME="SvnTagBranchListDialog.on_buttonBox_clicked" ID="SvnTagBranchListDialog.on_buttonBox_clicked"></a> |
|
161 <h4>SvnTagBranchListDialog.on_buttonBox_clicked</h4> |
|
162 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
163 <p> |
|
164 Private slot called by a button of the button box clicked. |
|
165 </p><dl> |
|
166 <dt><i>button</i></dt> |
|
167 <dd> |
|
168 button that was clicked (QAbstractButton) |
|
169 </dd> |
|
170 </dl><a NAME="SvnTagBranchListDialog.start" ID="SvnTagBranchListDialog.start"></a> |
|
171 <h4>SvnTagBranchListDialog.start</h4> |
|
172 <b>start</b>(<i>path, tags=True</i>) |
|
173 <p> |
|
174 Public slot to start the svn status command. |
|
175 </p><dl> |
|
176 <dt><i>path</i></dt> |
|
177 <dd> |
|
178 name of directory to be listed (string) |
|
179 </dd><dt><i>tags</i></dt> |
|
180 <dd> |
|
181 flag indicating a list of tags is requested |
|
182 (False = branches, True = tags) |
|
183 </dd> |
|
184 </dl><dl> |
|
185 <dt>Returns:</dt> |
|
186 <dd> |
|
187 flag indicating success (boolean) |
|
188 </dd> |
|
189 </dl> |
|
190 <div align="right"><a href="#top">Up</a></div> |
|
191 <hr /> |
|
192 </body></html> |