|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.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> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgTagDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to enter the data for a tagging operation. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#HgTagDialog">HgTagDialog</a></td> |
|
39 <td>Class implementing a dialog to enter the data for a tagging operation.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
|
49 <a NAME="HgTagDialog" ID="HgTagDialog"></a> |
|
50 <h2>HgTagDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a dialog to enter the data for a tagging operation. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QDialog, Ui_HgTagDialog |
|
57 <h3>Class Attributes</h3> |
|
58 |
|
59 <table> |
|
60 <tr><td>CreateGlobalTag</td></tr><tr><td>CreateLocalTag</td></tr><tr><td>DeleteGlobalTag</td></tr><tr><td>DeleteLocalTag</td></tr> |
|
61 </table> |
|
62 <h3>Class Methods</h3> |
|
63 |
|
64 <table> |
|
65 <tr><td>None</td></tr> |
|
66 </table> |
|
67 <h3>Methods</h3> |
|
68 |
|
69 <table> |
|
70 |
|
71 <tr> |
|
72 <td><a href="#HgTagDialog.__init__">HgTagDialog</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#HgTagDialog.getParameters">getParameters</a></td> |
|
77 <td>Public method to retrieve the tag data.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#HgTagDialog.on_tagCombo_currentIndexChanged">on_tagCombo_currentIndexChanged</a></td> |
|
81 <td>Private slot setting the local status of the selected entry.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#HgTagDialog.on_tagCombo_editTextChanged">on_tagCombo_editTextChanged</a></td> |
|
85 <td>Private method used to enable/disable the OK-button.</td> |
|
86 </tr> |
|
87 </table> |
|
88 <h3>Static Methods</h3> |
|
89 |
|
90 <table> |
|
91 <tr><td>None</td></tr> |
|
92 </table> |
|
93 |
|
94 <a NAME="HgTagDialog.__init__" ID="HgTagDialog.__init__"></a> |
|
95 <h4>HgTagDialog (Constructor)</h4> |
|
96 <b>HgTagDialog</b>(<i>taglist, revision=None, tagName=None, parent=None</i>) |
|
97 |
|
98 <p> |
|
99 Constructor |
|
100 </p> |
|
101 <dl> |
|
102 |
|
103 <dt><i>taglist</i></dt> |
|
104 <dd> |
|
105 list of previously entered tags (list of strings) |
|
106 </dd> |
|
107 <dt><i>revision</i></dt> |
|
108 <dd> |
|
109 revision to set tag for (string) |
|
110 </dd> |
|
111 <dt><i>tagName</i></dt> |
|
112 <dd> |
|
113 name of the tag (string) |
|
114 </dd> |
|
115 <dt><i>parent</i></dt> |
|
116 <dd> |
|
117 parent widget (QWidget) |
|
118 </dd> |
|
119 </dl> |
|
120 <a NAME="HgTagDialog.getParameters" ID="HgTagDialog.getParameters"></a> |
|
121 <h4>HgTagDialog.getParameters</h4> |
|
122 <b>getParameters</b>(<i></i>) |
|
123 |
|
124 <p> |
|
125 Public method to retrieve the tag data. |
|
126 </p> |
|
127 <dl> |
|
128 <dt>Return:</dt> |
|
129 <dd> |
|
130 tuple containing the tag, revision, tag operation and a flag |
|
131 indicating to enforce the operation |
|
132 </dd> |
|
133 </dl> |
|
134 <dl> |
|
135 <dt>Return Type:</dt> |
|
136 <dd> |
|
137 tuple of str, str, int,bool |
|
138 </dd> |
|
139 </dl> |
|
140 <a NAME="HgTagDialog.on_tagCombo_currentIndexChanged" ID="HgTagDialog.on_tagCombo_currentIndexChanged"></a> |
|
141 <h4>HgTagDialog.on_tagCombo_currentIndexChanged</h4> |
|
142 <b>on_tagCombo_currentIndexChanged</b>(<i>index</i>) |
|
143 |
|
144 <p> |
|
145 Private slot setting the local status of the selected entry. |
|
146 </p> |
|
147 <dl> |
|
148 |
|
149 <dt><i>index</i></dt> |
|
150 <dd> |
|
151 index of the selected entrie (integer) |
|
152 </dd> |
|
153 </dl> |
|
154 <a NAME="HgTagDialog.on_tagCombo_editTextChanged" ID="HgTagDialog.on_tagCombo_editTextChanged"></a> |
|
155 <h4>HgTagDialog.on_tagCombo_editTextChanged</h4> |
|
156 <b>on_tagCombo_editTextChanged</b>(<i>text</i>) |
|
157 |
|
158 <p> |
|
159 Private method used to enable/disable the OK-button. |
|
160 </p> |
|
161 <dl> |
|
162 |
|
163 <dt><i>text</i></dt> |
|
164 <dd> |
|
165 tag name entered in the combo (string) |
|
166 </dd> |
|
167 </dl> |
|
168 <div align="right"><a href="#top">Up</a></div> |
|
169 <hr /> |
|
170 </body></html> |