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