|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.HgBookmarkRenameDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to get the data to rename a bookmark. |
|
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="#HgBookmarkRenameDialog">HgBookmarkRenameDialog</a></td> |
|
34 <td>Class implementing a dialog to get the data to rename a bookmark.</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="HgBookmarkRenameDialog" ID="HgBookmarkRenameDialog"></a> |
|
43 <h2>HgBookmarkRenameDialog</h2> |
|
44 <p> |
|
45 Class implementing a dialog to get the data to rename a bookmark. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_HgBookmarkRenameDialog |
|
49 <h3>Class Attributes</h3> |
|
50 <table> |
|
51 <tr><td>None</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="#HgBookmarkRenameDialog.__init__">HgBookmarkRenameDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#HgBookmarkRenameDialog.__updateUI">__updateUI</a></td> |
|
64 <td>Private slot to update the UI.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#HgBookmarkRenameDialog.getData">getData</a></td> |
|
67 <td>Public method to retrieve the entered data.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#HgBookmarkRenameDialog.on_bookmarkCombo_editTextChanged">on_bookmarkCombo_editTextChanged</a></td> |
|
70 <td>Private slot to handle changes of the selected bookmark.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#HgBookmarkRenameDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> |
|
73 <td>Private slot to handle changes of the bookmark name.</td> |
|
74 </tr> |
|
75 </table> |
|
76 <h3>Static Methods</h3> |
|
77 <table> |
|
78 <tr><td>None</td></tr> |
|
79 </table> |
|
80 <a NAME="HgBookmarkRenameDialog.__init__" ID="HgBookmarkRenameDialog.__init__"></a> |
|
81 <h4>HgBookmarkRenameDialog (Constructor)</h4> |
|
82 <b>HgBookmarkRenameDialog</b>(<i>bookmarksList, parent=None</i>) |
|
83 <p> |
|
84 Constructor |
|
85 </p><dl> |
|
86 <dt><i>bookmarksList</i></dt> |
|
87 <dd> |
|
88 list of bookmarks (list of strings) |
|
89 </dd><dt><i>parent</i></dt> |
|
90 <dd> |
|
91 reference to the parent widget (QWidget) |
|
92 </dd> |
|
93 </dl><a NAME="HgBookmarkRenameDialog.__updateUI" ID="HgBookmarkRenameDialog.__updateUI"></a> |
|
94 <h4>HgBookmarkRenameDialog.__updateUI</h4> |
|
95 <b>__updateUI</b>(<i></i>) |
|
96 <p> |
|
97 Private slot to update the UI. |
|
98 </p><a NAME="HgBookmarkRenameDialog.getData" ID="HgBookmarkRenameDialog.getData"></a> |
|
99 <h4>HgBookmarkRenameDialog.getData</h4> |
|
100 <b>getData</b>(<i></i>) |
|
101 <p> |
|
102 Public method to retrieve the entered data. |
|
103 </p><dl> |
|
104 <dt>Returns:</dt> |
|
105 <dd> |
|
106 tuple naming the new and old bookmark names |
|
107 (string, string) |
|
108 </dd> |
|
109 </dl><a NAME="HgBookmarkRenameDialog.on_bookmarkCombo_editTextChanged" ID="HgBookmarkRenameDialog.on_bookmarkCombo_editTextChanged"></a> |
|
110 <h4>HgBookmarkRenameDialog.on_bookmarkCombo_editTextChanged</h4> |
|
111 <b>on_bookmarkCombo_editTextChanged</b>(<i>txt</i>) |
|
112 <p> |
|
113 Private slot to handle changes of the selected bookmark. |
|
114 </p><dl> |
|
115 <dt><i>txt</i></dt> |
|
116 <dd> |
|
117 name of the selected bookmark (string) |
|
118 </dd> |
|
119 </dl><a NAME="HgBookmarkRenameDialog.on_nameEdit_textChanged" ID="HgBookmarkRenameDialog.on_nameEdit_textChanged"></a> |
|
120 <h4>HgBookmarkRenameDialog.on_nameEdit_textChanged</h4> |
|
121 <b>on_nameEdit_textChanged</b>(<i>txt</i>) |
|
122 <p> |
|
123 Private slot to handle changes of the bookmark name. |
|
124 </p><dl> |
|
125 <dt><i>txt</i></dt> |
|
126 <dd> |
|
127 text of the edit (string) |
|
128 </dd> |
|
129 </dl> |
|
130 <div align="right"><a href="#top">Up</a></div> |
|
131 <hr /> |
|
132 </body></html> |