5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgTagDialog</h1> |
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgTagDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to enter the data for a tagging operation. |
11 Module implementing a dialog to enter the data for a tagging operation. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#HgTagDialog">HgTagDialog</a></td> |
22 <td><a href="#HgTagDialog">HgTagDialog</a></td> |
25 <td>Class implementing a dialog to enter the data for a tagging operation.</td> |
23 <td>Class implementing a dialog to enter the data for a tagging operation.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="HgTagDialog" ID="HgTagDialog"></a> |
34 <a NAME="HgTagDialog" ID="HgTagDialog"></a> |
36 <h2>HgTagDialog</h2> |
35 <h2>HgTagDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a dialog to enter the data for a tagging operation. |
37 Class implementing a dialog to enter the data for a tagging operation. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QDialog, Ui_HgTagDialog |
41 QDialog, Ui_HgTagDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
|
43 <table> |
|
44 <tr><td>CreateGlobalTag</td></tr> |
|
45 <tr><td>CreateLocalTag</td></tr> |
|
46 <tr><td>DeleteGlobalTag</td></tr> |
|
47 <tr><td>DeleteLocalTag</td></tr> |
|
48 </table> |
44 |
49 |
45 <table> |
|
46 <tr><td>CreateGlobalTag</td></tr><tr><td>CreateLocalTag</td></tr><tr><td>DeleteGlobalTag</td></tr><tr><td>DeleteLocalTag</td></tr> |
|
47 </table> |
|
48 <h3>Class Methods</h3> |
50 <h3>Class Methods</h3> |
49 |
|
50 <table> |
51 <table> |
51 <tr><td>None</td></tr> |
52 <tr><td>None</td></tr> |
52 </table> |
53 </table> |
|
54 |
53 <h3>Methods</h3> |
55 <h3>Methods</h3> |
54 |
|
55 <table> |
56 <table> |
56 |
|
57 <tr> |
57 <tr> |
58 <td><a href="#HgTagDialog.__init__">HgTagDialog</a></td> |
58 <td><a href="#HgTagDialog.__init__">HgTagDialog</a></td> |
59 <td>Constructor</td> |
59 <td>Constructor</td> |
60 </tr> |
60 </tr> |
61 <tr> |
61 <tr> |
69 <tr> |
69 <tr> |
70 <td><a href="#HgTagDialog.on_tagCombo_editTextChanged">on_tagCombo_editTextChanged</a></td> |
70 <td><a href="#HgTagDialog.on_tagCombo_editTextChanged">on_tagCombo_editTextChanged</a></td> |
71 <td>Private method used to enable/disable the OK-button.</td> |
71 <td>Private method used to enable/disable the OK-button.</td> |
72 </tr> |
72 </tr> |
73 </table> |
73 </table> |
|
74 |
74 <h3>Static Methods</h3> |
75 <h3>Static Methods</h3> |
75 |
|
76 <table> |
76 <table> |
77 <tr><td>None</td></tr> |
77 <tr><td>None</td></tr> |
78 </table> |
78 </table> |
79 |
79 |
|
80 |
80 <a NAME="HgTagDialog.__init__" ID="HgTagDialog.__init__"></a> |
81 <a NAME="HgTagDialog.__init__" ID="HgTagDialog.__init__"></a> |
81 <h4>HgTagDialog (Constructor)</h4> |
82 <h4>HgTagDialog (Constructor)</h4> |
82 <b>HgTagDialog</b>(<i>taglist, revision=None, tagName=None, parent=None</i>) |
83 <b>HgTagDialog</b>(<i>taglist, revision=None, tagName=None, parent=None</i>) |
83 |
|
84 <p> |
84 <p> |
85 Constructor |
85 Constructor |
86 </p> |
86 </p> |
|
87 |
87 <dl> |
88 <dl> |
88 |
89 |
89 <dt><i>taglist</i> (list of str)</dt> |
90 <dt><i>taglist</i> (list of str)</dt> |
90 <dd> |
91 <dd> |
91 list of previously entered tags |
92 list of previously entered tags |
104 </dd> |
105 </dd> |
105 </dl> |
106 </dl> |
106 <a NAME="HgTagDialog.getParameters" ID="HgTagDialog.getParameters"></a> |
107 <a NAME="HgTagDialog.getParameters" ID="HgTagDialog.getParameters"></a> |
107 <h4>HgTagDialog.getParameters</h4> |
108 <h4>HgTagDialog.getParameters</h4> |
108 <b>getParameters</b>(<i></i>) |
109 <b>getParameters</b>(<i></i>) |
109 |
|
110 <p> |
110 <p> |
111 Public method to retrieve the tag data. |
111 Public method to retrieve the tag data. |
112 </p> |
112 </p> |
|
113 |
113 <dl> |
114 <dl> |
114 <dt>Return:</dt> |
115 <dt>Return:</dt> |
115 <dd> |
116 <dd> |
116 tuple containing the tag, revision, tag operation and a flag |
117 tuple containing the tag, revision, tag operation and a flag |
117 indicating to enforce the operation |
118 indicating to enforce the operation |
124 </dd> |
125 </dd> |
125 </dl> |
126 </dl> |
126 <a NAME="HgTagDialog.on_tagCombo_currentIndexChanged" ID="HgTagDialog.on_tagCombo_currentIndexChanged"></a> |
127 <a NAME="HgTagDialog.on_tagCombo_currentIndexChanged" ID="HgTagDialog.on_tagCombo_currentIndexChanged"></a> |
127 <h4>HgTagDialog.on_tagCombo_currentIndexChanged</h4> |
128 <h4>HgTagDialog.on_tagCombo_currentIndexChanged</h4> |
128 <b>on_tagCombo_currentIndexChanged</b>(<i>index</i>) |
129 <b>on_tagCombo_currentIndexChanged</b>(<i>index</i>) |
129 |
|
130 <p> |
130 <p> |
131 Private slot setting the local status of the selected entry. |
131 Private slot setting the local status of the selected entry. |
132 </p> |
132 </p> |
|
133 |
133 <dl> |
134 <dl> |
134 |
135 |
135 <dt><i>index</i> (int)</dt> |
136 <dt><i>index</i> (int)</dt> |
136 <dd> |
137 <dd> |
137 index of the selected entrie |
138 index of the selected entrie |
138 </dd> |
139 </dd> |
139 </dl> |
140 </dl> |
140 <a NAME="HgTagDialog.on_tagCombo_editTextChanged" ID="HgTagDialog.on_tagCombo_editTextChanged"></a> |
141 <a NAME="HgTagDialog.on_tagCombo_editTextChanged" ID="HgTagDialog.on_tagCombo_editTextChanged"></a> |
141 <h4>HgTagDialog.on_tagCombo_editTextChanged</h4> |
142 <h4>HgTagDialog.on_tagCombo_editTextChanged</h4> |
142 <b>on_tagCombo_editTextChanged</b>(<i>text</i>) |
143 <b>on_tagCombo_editTextChanged</b>(<i>text</i>) |
143 |
|
144 <p> |
144 <p> |
145 Private method used to enable/disable the OK-button. |
145 Private method used to enable/disable the OK-button. |
146 </p> |
146 </p> |
|
147 |
147 <dl> |
148 <dl> |
148 |
149 |
149 <dt><i>text</i> (str)</dt> |
150 <dt><i>text</i> (str)</dt> |
150 <dd> |
151 <dd> |
151 tag name entered in the combo |
152 tag name entered in the combo |