eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgGraftDialog.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.HgGraftDialog</h1> 23 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.HgGraftDialog</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog to enter the data for a graft session. 26 Module implementing a dialog to enter the data for a graft session.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#HgGraftDialog">HgGraftDialog</a></td> 38 <td><a href="#HgGraftDialog">HgGraftDialog</a></td>
34 <td>Class implementing a dialog to enter the data for a graft session.</td> 39 <td>Class implementing a dialog to enter the data for a graft session.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
38 <table> 43
39 <tr><td>None</td></tr> 44 <table>
40 </table> 45 <tr><td>None</td></tr>
41 <hr /><hr /> 46 </table>
47 <hr />
48 <hr />
42 <a NAME="HgGraftDialog" ID="HgGraftDialog"></a> 49 <a NAME="HgGraftDialog" ID="HgGraftDialog"></a>
43 <h2>HgGraftDialog</h2> 50 <h2>HgGraftDialog</h2>
51
44 <p> 52 <p>
45 Class implementing a dialog to enter the data for a graft session. 53 Class implementing a dialog to enter the data for a graft session.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 QDialog, Ui_HgGraftDialog 56 QDialog, Ui_HgGraftDialog
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>None</td></tr> 60 <tr><td>None</td></tr>
52 </table> 61 </table>
53 <h3>Class Methods</h3> 62 <h3>Class Methods</h3>
63
54 <table> 64 <table>
55 <tr><td>None</td></tr> 65 <tr><td>None</td></tr>
56 </table> 66 </table>
57 <h3>Methods</h3> 67 <h3>Methods</h3>
58 <table> 68
69 <table>
70
59 <tr> 71 <tr>
60 <td><a href="#HgGraftDialog.__init__">HgGraftDialog</a></td> 72 <td><a href="#HgGraftDialog.__init__">HgGraftDialog</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#HgGraftDialog.__updateOk">__updateOk</a></td> 76 <td><a href="#HgGraftDialog.__updateOk">__updateOk</a></td>
64 <td>Private slot to update the state of the OK button.</td> 77 <td>Private slot to update the state of the OK button.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#HgGraftDialog.getData">getData</a></td> 80 <td><a href="#HgGraftDialog.getData">getData</a></td>
67 <td>Public method to retrieve the entered data.</td> 81 <td>Public method to retrieve the entered data.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#HgGraftDialog.on_currentUserCheckBox_toggled">on_currentUserCheckBox_toggled</a></td> 84 <td><a href="#HgGraftDialog.on_currentUserCheckBox_toggled">on_currentUserCheckBox_toggled</a></td>
70 <td>Private slot to handle changes of the current user state.</td> 85 <td>Private slot to handle changes of the current user state.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#HgGraftDialog.on_revisionsEdit_textChanged">on_revisionsEdit_textChanged</a></td> 88 <td><a href="#HgGraftDialog.on_revisionsEdit_textChanged">on_revisionsEdit_textChanged</a></td>
73 <td>Private slot to react upon changes of revisions.</td> 89 <td>Private slot to react upon changes of revisions.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#HgGraftDialog.on_userEdit_textChanged">on_userEdit_textChanged</a></td> 92 <td><a href="#HgGraftDialog.on_userEdit_textChanged">on_userEdit_textChanged</a></td>
76 <td>Private slot to handle changes of the user name.</td> 93 <td>Private slot to handle changes of the user name.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#HgGraftDialog.on_userGroup_toggled">on_userGroup_toggled</a></td> 96 <td><a href="#HgGraftDialog.on_userGroup_toggled">on_userGroup_toggled</a></td>
79 <td>Private slot to handle changes of the user group state.</td> 97 <td>Private slot to handle changes of the user group state.</td>
80 </tr> 98 </tr>
81 </table> 99 </table>
82 <h3>Static Methods</h3> 100 <h3>Static Methods</h3>
83 <table> 101
84 <tr><td>None</td></tr> 102 <table>
85 </table> 103 <tr><td>None</td></tr>
104 </table>
105
86 <a NAME="HgGraftDialog.__init__" ID="HgGraftDialog.__init__"></a> 106 <a NAME="HgGraftDialog.__init__" ID="HgGraftDialog.__init__"></a>
87 <h4>HgGraftDialog (Constructor)</h4> 107 <h4>HgGraftDialog (Constructor)</h4>
88 <b>HgGraftDialog</b>(<i>vcs, revs=None, parent=None</i>) 108 <b>HgGraftDialog</b>(<i>vcs, revs=None, parent=None</i>)
109
89 <p> 110 <p>
90 Constructor 111 Constructor
91 </p><dl> 112 </p>
113 <dl>
114
92 <dt><i>vcs</i> (Hg)</dt> 115 <dt><i>vcs</i> (Hg)</dt>
93 <dd> 116 <dd>
94 reference to the VCS object 117 reference to the VCS object
95 </dd><dt><i>revs</i> (list of str)</dt> 118 </dd>
119 <dt><i>revs</i> (list of str)</dt>
96 <dd> 120 <dd>
97 list of revisions to show in the revisions pane 121 list of revisions to show in the revisions pane
98 </dd><dt><i>parent</i> (QWidget)</dt> 122 </dd>
123 <dt><i>parent</i> (QWidget)</dt>
99 <dd> 124 <dd>
100 reference to the parent widget 125 reference to the parent widget
101 </dd> 126 </dd>
102 </dl><a NAME="HgGraftDialog.__updateOk" ID="HgGraftDialog.__updateOk"></a> 127 </dl>
128 <a NAME="HgGraftDialog.__updateOk" ID="HgGraftDialog.__updateOk"></a>
103 <h4>HgGraftDialog.__updateOk</h4> 129 <h4>HgGraftDialog.__updateOk</h4>
104 <b>__updateOk</b>(<i></i>) 130 <b>__updateOk</b>(<i></i>)
131
105 <p> 132 <p>
106 Private slot to update the state of the OK button. 133 Private slot to update the state of the OK button.
107 </p><a NAME="HgGraftDialog.getData" ID="HgGraftDialog.getData"></a> 134 </p>
135 <a NAME="HgGraftDialog.getData" ID="HgGraftDialog.getData"></a>
108 <h4>HgGraftDialog.getData</h4> 136 <h4>HgGraftDialog.getData</h4>
109 <b>getData</b>(<i></i>) 137 <b>getData</b>(<i></i>)
138
110 <p> 139 <p>
111 Public method to retrieve the entered data. 140 Public method to retrieve the entered data.
112 </p><dl> 141 </p>
142 <dl>
113 <dt>Returns:</dt> 143 <dt>Returns:</dt>
114 <dd> 144 <dd>
115 tuple with list of revisions, a tuple giving a 145 tuple with list of revisions, a tuple giving a
116 flag indicating to set the user, a flag indicating to use the 146 flag indicating to set the user, a flag indicating to use the
117 current user and the user name, another tuple giving a flag 147 current user and the user name, another tuple giving a flag
118 indicating to set the date, a flag indicating to use the 148 indicating to set the date, a flag indicating to use the
119 current date and the date, a flag indicating to append graft info 149 current date and the date, a flag indicating to append graft info
120 to the log message, a flag indicating a dry-run and a flag 150 to the log message, a flag indicating a dry-run and a flag
121 indicating to not commit the copied changesets 151 indicating to not commit the copied changesets
122 </dd> 152 </dd>
123 </dl><dl> 153 </dl>
154 <dl>
124 <dt>Return Type:</dt> 155 <dt>Return Type:</dt>
125 <dd> 156 <dd>
126 tuple of (list of str, (bool, bool, str), (bool, bool, str), 157 tuple of (list of str, (bool, bool, str), (bool, bool, str),
127 bool, bool, bool) 158 bool, bool, bool)
128 </dd> 159 </dd>
129 </dl><a NAME="HgGraftDialog.on_currentUserCheckBox_toggled" ID="HgGraftDialog.on_currentUserCheckBox_toggled"></a> 160 </dl>
161 <a NAME="HgGraftDialog.on_currentUserCheckBox_toggled" ID="HgGraftDialog.on_currentUserCheckBox_toggled"></a>
130 <h4>HgGraftDialog.on_currentUserCheckBox_toggled</h4> 162 <h4>HgGraftDialog.on_currentUserCheckBox_toggled</h4>
131 <b>on_currentUserCheckBox_toggled</b>(<i>checked</i>) 163 <b>on_currentUserCheckBox_toggled</b>(<i>checked</i>)
164
132 <p> 165 <p>
133 Private slot to handle changes of the current user state. 166 Private slot to handle changes of the current user state.
134 </p><dl> 167 </p>
168 <dl>
169
135 <dt><i>checked</i> (bool)</dt> 170 <dt><i>checked</i> (bool)</dt>
136 <dd> 171 <dd>
137 flag giving the checked state 172 flag giving the checked state
138 </dd> 173 </dd>
139 </dl><a NAME="HgGraftDialog.on_revisionsEdit_textChanged" ID="HgGraftDialog.on_revisionsEdit_textChanged"></a> 174 </dl>
175 <a NAME="HgGraftDialog.on_revisionsEdit_textChanged" ID="HgGraftDialog.on_revisionsEdit_textChanged"></a>
140 <h4>HgGraftDialog.on_revisionsEdit_textChanged</h4> 176 <h4>HgGraftDialog.on_revisionsEdit_textChanged</h4>
141 <b>on_revisionsEdit_textChanged</b>(<i></i>) 177 <b>on_revisionsEdit_textChanged</b>(<i></i>)
178
142 <p> 179 <p>
143 Private slot to react upon changes of revisions. 180 Private slot to react upon changes of revisions.
144 </p><a NAME="HgGraftDialog.on_userEdit_textChanged" ID="HgGraftDialog.on_userEdit_textChanged"></a> 181 </p>
182 <a NAME="HgGraftDialog.on_userEdit_textChanged" ID="HgGraftDialog.on_userEdit_textChanged"></a>
145 <h4>HgGraftDialog.on_userEdit_textChanged</h4> 183 <h4>HgGraftDialog.on_userEdit_textChanged</h4>
146 <b>on_userEdit_textChanged</b>(<i>txt</i>) 184 <b>on_userEdit_textChanged</b>(<i>txt</i>)
185
147 <p> 186 <p>
148 Private slot to handle changes of the user name. 187 Private slot to handle changes of the user name.
149 </p><dl> 188 </p>
189 <dl>
190
150 <dt><i>txt</i></dt> 191 <dt><i>txt</i></dt>
151 <dd> 192 <dd>
152 text of the edit (string) 193 text of the edit (string)
153 </dd> 194 </dd>
154 </dl><a NAME="HgGraftDialog.on_userGroup_toggled" ID="HgGraftDialog.on_userGroup_toggled"></a> 195 </dl>
196 <a NAME="HgGraftDialog.on_userGroup_toggled" ID="HgGraftDialog.on_userGroup_toggled"></a>
155 <h4>HgGraftDialog.on_userGroup_toggled</h4> 197 <h4>HgGraftDialog.on_userGroup_toggled</h4>
156 <b>on_userGroup_toggled</b>(<i>checked</i>) 198 <b>on_userGroup_toggled</b>(<i>checked</i>)
199
157 <p> 200 <p>
158 Private slot to handle changes of the user group state. 201 Private slot to handle changes of the user group state.
159 </p><dl> 202 </p>
203 <dl>
204
160 <dt><i>checked</i> (bool)</dt> 205 <dt><i>checked</i> (bool)</dt>
161 <dd> 206 <dd>
162 flag giving the checked state 207 flag giving the checked state
163 </dd> 208 </dd>
164 </dl> 209 </dl>

eric ide

mercurial