|
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.QueuesExtension.HgQueuesRenamePatchDialog</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.QueuesExtension.HgQueuesRenamePatchDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog to enter the data to rename a patch. |
|
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="#HgQueuesRenamePatchDialog">HgQueuesRenamePatchDialog</a></td> |
|
35 <td>Class implementing a dialog to enter the data to rename a patch.</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="HgQueuesRenamePatchDialog" ID="HgQueuesRenamePatchDialog"></a> |
|
44 <h2>HgQueuesRenamePatchDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog to enter the data to rename a patch. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_HgQueuesRenamePatchDialog |
|
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="#HgQueuesRenamePatchDialog.__init__">HgQueuesRenamePatchDialog</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#HgQueuesRenamePatchDialog.__updateUI">__updateUI</a></td> |
|
61 <td>Private slot to update the UI.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#HgQueuesRenamePatchDialog.getData">getData</a></td> |
|
64 <td>Public method to retrieve the entered data.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged">on_nameCombo_currentIndexChanged</a></td> |
|
67 <td>Private slot to handle changes of the selected patch name.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#HgQueuesRenamePatchDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> |
|
70 <td>Private slot to handle changes of the new name.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#HgQueuesRenamePatchDialog.on_namedButton_toggled">on_namedButton_toggled</a></td> |
|
73 <td>Private slot to handle changes of the selection method.</td> |
|
74 </tr> |
|
75 </table> |
|
76 <a NAME="HgQueuesRenamePatchDialog.__init__" ID="HgQueuesRenamePatchDialog.__init__"></a> |
|
77 <h4>HgQueuesRenamePatchDialog (Constructor)</h4> |
|
78 <b>HgQueuesRenamePatchDialog</b>(<i>currentPatch, patchesList, parent=None</i>) |
|
79 <p> |
|
80 Constructor |
|
81 </p><dl> |
|
82 <dt><i>currentPatch</i></dt> |
|
83 <dd> |
|
84 name of the current patch (string) |
|
85 </dd><dt><i>patchesList</i></dt> |
|
86 <dd> |
|
87 list of patches to select from (list of strings) |
|
88 </dd><dt><i>parent</i></dt> |
|
89 <dd> |
|
90 reference to the parent widget (QWidget) |
|
91 </dd> |
|
92 </dl><a NAME="HgQueuesRenamePatchDialog.__updateUI" ID="HgQueuesRenamePatchDialog.__updateUI"></a> |
|
93 <h4>HgQueuesRenamePatchDialog.__updateUI</h4> |
|
94 <b>__updateUI</b>(<i></i>) |
|
95 <p> |
|
96 Private slot to update the UI. |
|
97 </p><a NAME="HgQueuesRenamePatchDialog.getData" ID="HgQueuesRenamePatchDialog.getData"></a> |
|
98 <h4>HgQueuesRenamePatchDialog.getData</h4> |
|
99 <b>getData</b>(<i></i>) |
|
100 <p> |
|
101 Public method to retrieve the entered data. |
|
102 </p><dl> |
|
103 <dt>Returns:</dt> |
|
104 <dd> |
|
105 tuple of new name and selected patch (string, string) |
|
106 </dd> |
|
107 </dl><a NAME="HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged" ID="HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged"></a> |
|
108 <h4>HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged</h4> |
|
109 <b>on_nameCombo_currentIndexChanged</b>(<i>txt</i>) |
|
110 <p> |
|
111 Private slot to handle changes of the selected patch name. |
|
112 </p><dl> |
|
113 <dt><i>txt</i></dt> |
|
114 <dd> |
|
115 selected patch name (string) |
|
116 </dd> |
|
117 </dl><a NAME="HgQueuesRenamePatchDialog.on_nameEdit_textChanged" ID="HgQueuesRenamePatchDialog.on_nameEdit_textChanged"></a> |
|
118 <h4>HgQueuesRenamePatchDialog.on_nameEdit_textChanged</h4> |
|
119 <b>on_nameEdit_textChanged</b>(<i>txt</i>) |
|
120 <p> |
|
121 Private slot to handle changes of the new name. |
|
122 </p><dl> |
|
123 <dt><i>txt</i></dt> |
|
124 <dd> |
|
125 text of the edit (string) |
|
126 </dd> |
|
127 </dl><a NAME="HgQueuesRenamePatchDialog.on_namedButton_toggled" ID="HgQueuesRenamePatchDialog.on_namedButton_toggled"></a> |
|
128 <h4>HgQueuesRenamePatchDialog.on_namedButton_toggled</h4> |
|
129 <b>on_namedButton_toggled</b>(<i>checked</i>) |
|
130 <p> |
|
131 Private slot to handle changes of the selection method. |
|
132 </p><dl> |
|
133 <dt><i>checked</i></dt> |
|
134 <dd> |
|
135 state of the check box (boolean) |
|
136 </dd> |
|
137 </dl> |
|
138 <div align="right"><a href="#top">Up</a></div> |
|
139 <hr /> |
|
140 </body></html> |