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