|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric4.Plugins.VcsPlugins.vcsPySvn.SvnTagBranchListDialog</title> |
|
6 <style> |
|
7 body { |
|
8 background:white; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #4FA4FF; } |
|
14 h2 { color: white; background: #4FA4FF; } |
|
15 h3 { color: white; background: #00557F; } |
|
16 h4 { color: white; background: #00557F; } |
|
17 |
|
18 a { color: #AA5500; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric4.Plugins.VcsPlugins.vcsPySvn.SvnTagBranchListDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog to show a list of tags or branches. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#SvnTagBranchListDialog">SvnTagBranchListDialog</a></td> |
|
35 <td>Class implementing a dialog to show a list of tags or branches.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="SvnTagBranchListDialog" ID="SvnTagBranchListDialog"></a> |
|
44 <h2>SvnTagBranchListDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog to show a list of tags or branches. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, SvnDialogMixin, Ui_SvnTagBranchListDialog |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Methods</h3> |
|
55 <table> |
|
56 <tr> |
|
57 <td><a href="#SvnTagBranchListDialog.__init__">SvnTagBranchListDialog</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#SvnTagBranchListDialog.__finish">__finish</a></td> |
|
61 <td>Private slot called when the process finished or the user pressed the button.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#SvnTagBranchListDialog.__generateItem">__generateItem</a></td> |
|
64 <td>Private method to generate a tag item in the taglist.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#SvnTagBranchListDialog.__resizeColumns">__resizeColumns</a></td> |
|
67 <td>Private method to resize the list columns.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#SvnTagBranchListDialog.__resort">__resort</a></td> |
|
70 <td>Private method to resort the tree.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#SvnTagBranchListDialog.__showError">__showError</a></td> |
|
73 <td>Private slot to show an error message.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#SvnTagBranchListDialog.getTagList">getTagList</a></td> |
|
76 <td>Public method to get the taglist of the last run.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#SvnTagBranchListDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
79 <td>Private slot called by a button of the button box clicked.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#SvnTagBranchListDialog.start">start</a></td> |
|
82 <td>Public slot to start the svn status command.</td> |
|
83 </tr> |
|
84 </table> |
|
85 <a NAME="SvnTagBranchListDialog.__init__" ID="SvnTagBranchListDialog.__init__"></a> |
|
86 <h4>SvnTagBranchListDialog (Constructor)</h4> |
|
87 <b>SvnTagBranchListDialog</b>(<i>vcs, parent = None</i>) |
|
88 <p> |
|
89 Constructor |
|
90 </p><dl> |
|
91 <dt><i>vcs</i></dt> |
|
92 <dd> |
|
93 reference to the vcs object |
|
94 </dd><dt><i>parent</i></dt> |
|
95 <dd> |
|
96 parent widget (QWidget) |
|
97 </dd> |
|
98 </dl><a NAME="SvnTagBranchListDialog.__finish" ID="SvnTagBranchListDialog.__finish"></a> |
|
99 <h4>SvnTagBranchListDialog.__finish</h4> |
|
100 <b>__finish</b>(<i></i>) |
|
101 <p> |
|
102 Private slot called when the process finished or the user pressed the button. |
|
103 </p><a NAME="SvnTagBranchListDialog.__generateItem" ID="SvnTagBranchListDialog.__generateItem"></a> |
|
104 <h4>SvnTagBranchListDialog.__generateItem</h4> |
|
105 <b>__generateItem</b>(<i>revision, author, date, name</i>) |
|
106 <p> |
|
107 Private method to generate a tag item in the taglist. |
|
108 </p><dl> |
|
109 <dt><i>revision</i></dt> |
|
110 <dd> |
|
111 revision number (integer) |
|
112 </dd><dt><i>author</i></dt> |
|
113 <dd> |
|
114 author of the tag (string) |
|
115 </dd><dt><i>date</i></dt> |
|
116 <dd> |
|
117 date of the tag (string) |
|
118 </dd><dt><i>name</i></dt> |
|
119 <dd> |
|
120 name (path) of the tag (string) |
|
121 </dd> |
|
122 </dl><a NAME="SvnTagBranchListDialog.__resizeColumns" ID="SvnTagBranchListDialog.__resizeColumns"></a> |
|
123 <h4>SvnTagBranchListDialog.__resizeColumns</h4> |
|
124 <b>__resizeColumns</b>(<i></i>) |
|
125 <p> |
|
126 Private method to resize the list columns. |
|
127 </p><a NAME="SvnTagBranchListDialog.__resort" ID="SvnTagBranchListDialog.__resort"></a> |
|
128 <h4>SvnTagBranchListDialog.__resort</h4> |
|
129 <b>__resort</b>(<i></i>) |
|
130 <p> |
|
131 Private method to resort the tree. |
|
132 </p><a NAME="SvnTagBranchListDialog.__showError" ID="SvnTagBranchListDialog.__showError"></a> |
|
133 <h4>SvnTagBranchListDialog.__showError</h4> |
|
134 <b>__showError</b>(<i>msg</i>) |
|
135 <p> |
|
136 Private slot to show an error message. |
|
137 </p><dl> |
|
138 <dt><i>msg</i></dt> |
|
139 <dd> |
|
140 error message to show (string) |
|
141 </dd> |
|
142 </dl><a NAME="SvnTagBranchListDialog.getTagList" ID="SvnTagBranchListDialog.getTagList"></a> |
|
143 <h4>SvnTagBranchListDialog.getTagList</h4> |
|
144 <b>getTagList</b>(<i></i>) |
|
145 <p> |
|
146 Public method to get the taglist of the last run. |
|
147 </p><dl> |
|
148 <dt>Returns:</dt> |
|
149 <dd> |
|
150 list of tags (list of strings) |
|
151 </dd> |
|
152 </dl><a NAME="SvnTagBranchListDialog.on_buttonBox_clicked" ID="SvnTagBranchListDialog.on_buttonBox_clicked"></a> |
|
153 <h4>SvnTagBranchListDialog.on_buttonBox_clicked</h4> |
|
154 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
155 <p> |
|
156 Private slot called by a button of the button box clicked. |
|
157 </p><dl> |
|
158 <dt><i>button</i></dt> |
|
159 <dd> |
|
160 button that was clicked (QAbstractButton) |
|
161 </dd> |
|
162 </dl><a NAME="SvnTagBranchListDialog.start" ID="SvnTagBranchListDialog.start"></a> |
|
163 <h4>SvnTagBranchListDialog.start</h4> |
|
164 <b>start</b>(<i>path, tags = True</i>) |
|
165 <p> |
|
166 Public slot to start the svn status command. |
|
167 </p><dl> |
|
168 <dt><i>path</i></dt> |
|
169 <dd> |
|
170 name of directory to be listed (string) |
|
171 </dd><dt><i>tags</i></dt> |
|
172 <dd> |
|
173 flag indicating a list of tags is requested |
|
174 (False = branches, True = tags) |
|
175 </dd> |
|
176 </dl> |
|
177 <div align="right"><a href="#top">Up</a></div> |
|
178 <hr /> |
|
179 </body></html> |