|
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.vcsMercurial.HgTagDialog</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>eric5.Plugins.VcsPlugins.vcsMercurial.HgTagDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog to enter the data for a tagging operation. |
|
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="#HgTagDialog">HgTagDialog</a></td> |
|
35 <td>Class implementing a dialog to enter the data for a tagging operation.</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="HgTagDialog" ID="HgTagDialog"></a> |
|
44 <h2>HgTagDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog to enter the data for a tagging operation. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_HgTagDialog |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>CreateBranch</td></tr><tr><td>CreateLocalTag</td></tr><tr><td>CreateRegularTag</td></tr><tr><td>DeleteTag</td></tr> |
|
53 </table> |
|
54 <h3>Methods</h3> |
|
55 <table> |
|
56 <tr> |
|
57 <td><a href="#HgTagDialog.__init__">HgTagDialog</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#HgTagDialog.getParameters">getParameters</a></td> |
|
61 <td>Public method to retrieve the tag data.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#HgTagDialog.on_tagCombo_editTextChanged">on_tagCombo_editTextChanged</a></td> |
|
64 <td>Private method used to enable/disable the OK-button.</td> |
|
65 </tr> |
|
66 </table> |
|
67 <a NAME="HgTagDialog.__init__" ID="HgTagDialog.__init__"></a> |
|
68 <h4>HgTagDialog (Constructor)</h4> |
|
69 <b>HgTagDialog</b>(<i>taglist, parent = None</i>) |
|
70 <p> |
|
71 Constructor |
|
72 </p><dl> |
|
73 <dt><i>taglist</i></dt> |
|
74 <dd> |
|
75 list of previously entered tags (list of strings) |
|
76 </dd><dt><i>parent</i></dt> |
|
77 <dd> |
|
78 parent widget (QWidget) |
|
79 </dd> |
|
80 </dl><a NAME="HgTagDialog.getParameters" ID="HgTagDialog.getParameters"></a> |
|
81 <h4>HgTagDialog.getParameters</h4> |
|
82 <b>getParameters</b>(<i></i>) |
|
83 <p> |
|
84 Public method to retrieve the tag data. |
|
85 </p><dl> |
|
86 <dt>Returns:</dt> |
|
87 <dd> |
|
88 tuple of string and int (tag, tag operation) |
|
89 </dd> |
|
90 </dl><a NAME="HgTagDialog.on_tagCombo_editTextChanged" ID="HgTagDialog.on_tagCombo_editTextChanged"></a> |
|
91 <h4>HgTagDialog.on_tagCombo_editTextChanged</h4> |
|
92 <b>on_tagCombo_editTextChanged</b>(<i>text</i>) |
|
93 <p> |
|
94 Private method used to enable/disable the OK-button. |
|
95 </p><dl> |
|
96 <dt><i>text</i></dt> |
|
97 <dd> |
|
98 tag name entered in the combo (string) |
|
99 </dd> |
|
100 </dl> |
|
101 <div align="right"><a href="#top">Up</a></div> |
|
102 <hr /> |
|
103 </body></html> |