Documentation/Source/eric5.Plugins.VcsPlugins.vcsMercurial.BookmarksExtension.HgBookmarkRenameDialog.html

changeset 1020
adf7e95f05e7
child 1228
7afaf2fca55b
equal deleted inserted replaced
1019:d8a9697f78d1 1020:adf7e95f05e7
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
4 <html><head>
5 <title>eric5.Plugins.VcsPlugins.vcsMercurial.BookmarksExtension.HgBookmarkRenameDialog</title>
6 <style>
7 body {
8 background: #EDECE6;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #85774A; }
14 h2 { color: white; background: #85774A; }
15 h3 { color: white; background: #9D936E; }
16 h4 { color: white; background: #9D936E; }
17
18 a { color: #BA6D36; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.Plugins.VcsPlugins.vcsMercurial.BookmarksExtension.HgBookmarkRenameDialog</h1>
24 <p>
25 Module implementing a dialog to get the data to rename a bookmark.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>None</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#HgBookmarkRenameDialog">HgBookmarkRenameDialog</a></td>
35 <td>Class implementing a dialog to get the data to rename a bookmark.</td>
36 </tr>
37 </table>
38 <h3>Functions</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <hr /><hr />
43 <a NAME="HgBookmarkRenameDialog" ID="HgBookmarkRenameDialog"></a>
44 <h2>HgBookmarkRenameDialog</h2>
45 <p>
46 Class implementing a dialog to get the data to rename a bookmark.
47 </p>
48 <h3>Derived from</h3>
49 QDialog, Ui_HgBookmarkRenameDialog
50 <h3>Class Attributes</h3>
51 <table>
52 <tr><td>None</td></tr>
53 </table>
54 <h3>Methods</h3>
55 <table>
56 <tr>
57 <td><a href="#HgBookmarkRenameDialog.__init__">HgBookmarkRenameDialog</a></td>
58 <td>Constructor</td>
59 </tr><tr>
60 <td><a href="#HgBookmarkRenameDialog.__updateUI">__updateUI</a></td>
61 <td>Private slot to update the UI.</td>
62 </tr><tr>
63 <td><a href="#HgBookmarkRenameDialog.getData">getData</a></td>
64 <td>Public method to retrieve the entered data.</td>
65 </tr><tr>
66 <td><a href="#HgBookmarkRenameDialog.on_bookmarkCombo_editTextChanged">on_bookmarkCombo_editTextChanged</a></td>
67 <td>Private slot to handle changes of the selected bookmark.</td>
68 </tr><tr>
69 <td><a href="#HgBookmarkRenameDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td>
70 <td>Private slot to handle changes of the bookmark name.</td>
71 </tr>
72 </table>
73 <a NAME="HgBookmarkRenameDialog.__init__" ID="HgBookmarkRenameDialog.__init__"></a>
74 <h4>HgBookmarkRenameDialog (Constructor)</h4>
75 <b>HgBookmarkRenameDialog</b>(<i>bookmarksList, parent=None</i>)
76 <p>
77 Constructor
78 </p><dl>
79 <dt><i>bookmarksList</i></dt>
80 <dd>
81 list of bookmarks (list of strings)
82 </dd><dt><i>parent</i></dt>
83 <dd>
84 reference to the parent widget (QWidget)
85 </dd>
86 </dl><a NAME="HgBookmarkRenameDialog.__updateUI" ID="HgBookmarkRenameDialog.__updateUI"></a>
87 <h4>HgBookmarkRenameDialog.__updateUI</h4>
88 <b>__updateUI</b>(<i></i>)
89 <p>
90 Private slot to update the UI.
91 </p><a NAME="HgBookmarkRenameDialog.getData" ID="HgBookmarkRenameDialog.getData"></a>
92 <h4>HgBookmarkRenameDialog.getData</h4>
93 <b>getData</b>(<i></i>)
94 <p>
95 Public method to retrieve the entered data.
96 </p><dl>
97 <dt>Returns:</dt>
98 <dd>
99 tuple naming the new and old bookmark names
100 (string, string)
101 </dd>
102 </dl><a NAME="HgBookmarkRenameDialog.on_bookmarkCombo_editTextChanged" ID="HgBookmarkRenameDialog.on_bookmarkCombo_editTextChanged"></a>
103 <h4>HgBookmarkRenameDialog.on_bookmarkCombo_editTextChanged</h4>
104 <b>on_bookmarkCombo_editTextChanged</b>(<i>txt</i>)
105 <p>
106 Private slot to handle changes of the selected bookmark.
107 </p><dl>
108 <dt><i>txt</i></dt>
109 <dd>
110 name of the selected bookmark (string)
111 </dd>
112 </dl><a NAME="HgBookmarkRenameDialog.on_nameEdit_textChanged" ID="HgBookmarkRenameDialog.on_nameEdit_textChanged"></a>
113 <h4>HgBookmarkRenameDialog.on_nameEdit_textChanged</h4>
114 <b>on_nameEdit_textChanged</b>(<i>txt</i>)
115 <p>
116 Private slot to handle changes of the bookmark name.
117 </p><dl>
118 <dt><i>txt</i></dt>
119 <dd>
120 text of the edit (string)
121 </dd>
122 </dl>
123 <div align="right"><a href="#top">Up</a></div>
124 <hr />
125 </body></html>

eric ide

mercurial