|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsMercurial.HgBookmarkRenameDialog</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.HgBookmarkRenameDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to get the data to rename a bookmark. |
|
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="#HgBookmarkRenameDialog">HgBookmarkRenameDialog</a></td> |
|
39 <td>Class implementing a dialog to get the data to rename a bookmark.</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="HgBookmarkRenameDialog" ID="HgBookmarkRenameDialog"></a> |
|
50 <h2>HgBookmarkRenameDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a dialog to get the data to rename a bookmark. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QDialog, Ui_HgBookmarkRenameDialog |
|
57 <h3>Class Attributes</h3> |
|
58 |
|
59 <table> |
|
60 <tr><td>None</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="#HgBookmarkRenameDialog.__init__">HgBookmarkRenameDialog</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#HgBookmarkRenameDialog.__updateUI">__updateUI</a></td> |
|
77 <td>Private slot to update the UI.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#HgBookmarkRenameDialog.getData">getData</a></td> |
|
81 <td>Public method to retrieve the entered data.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#HgBookmarkRenameDialog.on_bookmarkCombo_editTextChanged">on_bookmarkCombo_editTextChanged</a></td> |
|
85 <td>Private slot to handle changes of the selected bookmark.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#HgBookmarkRenameDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> |
|
89 <td>Private slot to handle changes of the bookmark name.</td> |
|
90 </tr> |
|
91 </table> |
|
92 <h3>Static Methods</h3> |
|
93 |
|
94 <table> |
|
95 <tr><td>None</td></tr> |
|
96 </table> |
|
97 |
|
98 <a NAME="HgBookmarkRenameDialog.__init__" ID="HgBookmarkRenameDialog.__init__"></a> |
|
99 <h4>HgBookmarkRenameDialog (Constructor)</h4> |
|
100 <b>HgBookmarkRenameDialog</b>(<i>bookmarksList, parent=None</i>) |
|
101 |
|
102 <p> |
|
103 Constructor |
|
104 </p> |
|
105 <dl> |
|
106 |
|
107 <dt><i>bookmarksList</i></dt> |
|
108 <dd> |
|
109 list of bookmarks (list of strings) |
|
110 </dd> |
|
111 <dt><i>parent</i></dt> |
|
112 <dd> |
|
113 reference to the parent widget (QWidget) |
|
114 </dd> |
|
115 </dl> |
|
116 <a NAME="HgBookmarkRenameDialog.__updateUI" ID="HgBookmarkRenameDialog.__updateUI"></a> |
|
117 <h4>HgBookmarkRenameDialog.__updateUI</h4> |
|
118 <b>__updateUI</b>(<i></i>) |
|
119 |
|
120 <p> |
|
121 Private slot to update the UI. |
|
122 </p> |
|
123 <a NAME="HgBookmarkRenameDialog.getData" ID="HgBookmarkRenameDialog.getData"></a> |
|
124 <h4>HgBookmarkRenameDialog.getData</h4> |
|
125 <b>getData</b>(<i></i>) |
|
126 |
|
127 <p> |
|
128 Public method to retrieve the entered data. |
|
129 </p> |
|
130 <dl> |
|
131 <dt>Return:</dt> |
|
132 <dd> |
|
133 tuple naming the old and new bookmark names |
|
134 (string, string) |
|
135 </dd> |
|
136 </dl> |
|
137 <a NAME="HgBookmarkRenameDialog.on_bookmarkCombo_editTextChanged" ID="HgBookmarkRenameDialog.on_bookmarkCombo_editTextChanged"></a> |
|
138 <h4>HgBookmarkRenameDialog.on_bookmarkCombo_editTextChanged</h4> |
|
139 <b>on_bookmarkCombo_editTextChanged</b>(<i>txt</i>) |
|
140 |
|
141 <p> |
|
142 Private slot to handle changes of the selected bookmark. |
|
143 </p> |
|
144 <dl> |
|
145 |
|
146 <dt><i>txt</i></dt> |
|
147 <dd> |
|
148 name of the selected bookmark (string) |
|
149 </dd> |
|
150 </dl> |
|
151 <a NAME="HgBookmarkRenameDialog.on_nameEdit_textChanged" ID="HgBookmarkRenameDialog.on_nameEdit_textChanged"></a> |
|
152 <h4>HgBookmarkRenameDialog.on_nameEdit_textChanged</h4> |
|
153 <b>on_nameEdit_textChanged</b>(<i>txt</i>) |
|
154 |
|
155 <p> |
|
156 Private slot to handle changes of the bookmark name. |
|
157 </p> |
|
158 <dl> |
|
159 |
|
160 <dt><i>txt</i></dt> |
|
161 <dd> |
|
162 text of the edit (string) |
|
163 </dd> |
|
164 </dl> |
|
165 <div align="right"><a href="#top">Up</a></div> |
|
166 <hr /> |
|
167 </body></html> |