|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.VcsPlugins.vcsMercurial.HgTagDialog</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.vcsMercurial.HgTagDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to enter the data for a tagging operation. |
|
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="#HgTagDialog">HgTagDialog</a></td> |
|
34 <td>Class implementing a dialog to enter the data for a tagging operation.</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="HgTagDialog" ID="HgTagDialog"></a> |
|
43 <h2>HgTagDialog</h2> |
|
44 <p> |
|
45 Class implementing a dialog to enter the data for a tagging operation. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_HgTagDialog |
|
49 <h3>Class Attributes</h3> |
|
50 <table> |
|
51 <tr><td>CreateGlobalTag</td></tr><tr><td>CreateLocalTag</td></tr><tr><td>DeleteGlobalTag</td></tr><tr><td>DeleteLocalTag</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="#HgTagDialog.__init__">HgTagDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#HgTagDialog.getParameters">getParameters</a></td> |
|
64 <td>Public method to retrieve the tag data.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#HgTagDialog.on_tagCombo_currentIndexChanged">on_tagCombo_currentIndexChanged</a></td> |
|
67 <td>Private slot setting the local status of the selected entry.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#HgTagDialog.on_tagCombo_editTextChanged">on_tagCombo_editTextChanged</a></td> |
|
70 <td>Private method used to enable/disable the OK-button.</td> |
|
71 </tr> |
|
72 </table> |
|
73 <h3>Static Methods</h3> |
|
74 <table> |
|
75 <tr><td>None</td></tr> |
|
76 </table> |
|
77 <a NAME="HgTagDialog.__init__" ID="HgTagDialog.__init__"></a> |
|
78 <h4>HgTagDialog (Constructor)</h4> |
|
79 <b>HgTagDialog</b>(<i>taglist, revision=None, tagName=None, parent=None</i>) |
|
80 <p> |
|
81 Constructor |
|
82 </p><dl> |
|
83 <dt><i>taglist</i></dt> |
|
84 <dd> |
|
85 list of previously entered tags (list of strings) |
|
86 </dd><dt><i>revision</i></dt> |
|
87 <dd> |
|
88 revision to set tag for (string) |
|
89 </dd><dt><i>tagName</i></dt> |
|
90 <dd> |
|
91 name of the tag (string) |
|
92 </dd><dt><i>parent</i></dt> |
|
93 <dd> |
|
94 parent widget (QWidget) |
|
95 </dd> |
|
96 </dl><a NAME="HgTagDialog.getParameters" ID="HgTagDialog.getParameters"></a> |
|
97 <h4>HgTagDialog.getParameters</h4> |
|
98 <b>getParameters</b>(<i></i>) |
|
99 <p> |
|
100 Public method to retrieve the tag data. |
|
101 </p><dl> |
|
102 <dt>Returns:</dt> |
|
103 <dd> |
|
104 tuple of two strings and int (tag, revision, tag operation) |
|
105 </dd> |
|
106 </dl><a NAME="HgTagDialog.on_tagCombo_currentIndexChanged" ID="HgTagDialog.on_tagCombo_currentIndexChanged"></a> |
|
107 <h4>HgTagDialog.on_tagCombo_currentIndexChanged</h4> |
|
108 <b>on_tagCombo_currentIndexChanged</b>(<i>index</i>) |
|
109 <p> |
|
110 Private slot setting the local status of the selected entry. |
|
111 </p><dl> |
|
112 <dt><i>index</i></dt> |
|
113 <dd> |
|
114 index of the selected entrie (integer) |
|
115 </dd> |
|
116 </dl><a NAME="HgTagDialog.on_tagCombo_editTextChanged" ID="HgTagDialog.on_tagCombo_editTextChanged"></a> |
|
117 <h4>HgTagDialog.on_tagCombo_editTextChanged</h4> |
|
118 <b>on_tagCombo_editTextChanged</b>(<i>text</i>) |
|
119 <p> |
|
120 Private method used to enable/disable the OK-button. |
|
121 </p><dl> |
|
122 <dt><i>text</i></dt> |
|
123 <dd> |
|
124 tag name entered in the combo (string) |
|
125 </dd> |
|
126 </dl> |
|
127 <div align="right"><a href="#top">Up</a></div> |
|
128 <hr /> |
|
129 </body></html> |