eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesNewPatchDialog.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.QueuesExtension.HgQueuesNewPatchDialog</h1> 23 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesNewPatchDialog</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog to get the data for a new patch. 26 Module implementing a dialog to get the data for a new patch.
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="#HgQueuesNewPatchDialog">HgQueuesNewPatchDialog</a></td> 38 <td><a href="#HgQueuesNewPatchDialog">HgQueuesNewPatchDialog</a></td>
34 <td>Class implementing a dialog to get the data for a new patch.</td> 39 <td>Class implementing a dialog to get the data for a new patch.</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="HgQueuesNewPatchDialog" ID="HgQueuesNewPatchDialog"></a> 49 <a NAME="HgQueuesNewPatchDialog" ID="HgQueuesNewPatchDialog"></a>
43 <h2>HgQueuesNewPatchDialog</h2> 50 <h2>HgQueuesNewPatchDialog</h2>
51
44 <p> 52 <p>
45 Class implementing a dialog to get the data for a new patch. 53 Class implementing a dialog to get the data for a new patch.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 QDialog, Ui_HgQueuesNewPatchDialog 56 QDialog, Ui_HgQueuesNewPatchDialog
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>NEW_MODE</td></tr><tr><td>REFRESH_MODE</td></tr> 60 <tr><td>NEW_MODE</td></tr><tr><td>REFRESH_MODE</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="#HgQueuesNewPatchDialog.__init__">HgQueuesNewPatchDialog</a></td> 72 <td><a href="#HgQueuesNewPatchDialog.__init__">HgQueuesNewPatchDialog</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#HgQueuesNewPatchDialog.__updateUI">__updateUI</a></td> 76 <td><a href="#HgQueuesNewPatchDialog.__updateUI">__updateUI</a></td>
64 <td>Private slot to update the UI.</td> 77 <td>Private slot to update the UI.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#HgQueuesNewPatchDialog.getData">getData</a></td> 80 <td><a href="#HgQueuesNewPatchDialog.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="#HgQueuesNewPatchDialog.on_currentUserCheckBox_toggled">on_currentUserCheckBox_toggled</a></td> 84 <td><a href="#HgQueuesNewPatchDialog.on_currentUserCheckBox_toggled">on_currentUserCheckBox_toggled</a></td>
70 <td>Private slot to handle changes of the currentuser state.</td> 85 <td>Private slot to handle changes of the currentuser state.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#HgQueuesNewPatchDialog.on_messageEdit_textChanged">on_messageEdit_textChanged</a></td> 88 <td><a href="#HgQueuesNewPatchDialog.on_messageEdit_textChanged">on_messageEdit_textChanged</a></td>
73 <td>Private slot to handle changes of the patch message.</td> 89 <td>Private slot to handle changes of the patch message.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#HgQueuesNewPatchDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> 92 <td><a href="#HgQueuesNewPatchDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td>
76 <td>Private slot to handle changes of the patch name.</td> 93 <td>Private slot to handle changes of the patch name.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#HgQueuesNewPatchDialog.on_userEdit_textChanged">on_userEdit_textChanged</a></td> 96 <td><a href="#HgQueuesNewPatchDialog.on_userEdit_textChanged">on_userEdit_textChanged</a></td>
79 <td>Private slot to handle changes of the user name.</td> 97 <td>Private slot to handle changes of the user name.</td>
80 </tr><tr> 98 </tr>
99 <tr>
81 <td><a href="#HgQueuesNewPatchDialog.on_userGroup_toggled">on_userGroup_toggled</a></td> 100 <td><a href="#HgQueuesNewPatchDialog.on_userGroup_toggled">on_userGroup_toggled</a></td>
82 <td>Private slot to handle changes of the user group state.</td> 101 <td>Private slot to handle changes of the user group state.</td>
83 </tr> 102 </tr>
84 </table> 103 </table>
85 <h3>Static Methods</h3> 104 <h3>Static Methods</h3>
86 <table> 105
87 <tr><td>None</td></tr> 106 <table>
88 </table> 107 <tr><td>None</td></tr>
108 </table>
109
89 <a NAME="HgQueuesNewPatchDialog.__init__" ID="HgQueuesNewPatchDialog.__init__"></a> 110 <a NAME="HgQueuesNewPatchDialog.__init__" ID="HgQueuesNewPatchDialog.__init__"></a>
90 <h4>HgQueuesNewPatchDialog (Constructor)</h4> 111 <h4>HgQueuesNewPatchDialog (Constructor)</h4>
91 <b>HgQueuesNewPatchDialog</b>(<i>mode, message="", parent=None</i>) 112 <b>HgQueuesNewPatchDialog</b>(<i>mode, message="", parent=None</i>)
113
92 <p> 114 <p>
93 Constructor 115 Constructor
94 </p><dl> 116 </p>
117 <dl>
118
95 <dt><i>mode</i></dt> 119 <dt><i>mode</i></dt>
96 <dd> 120 <dd>
97 mode of the dialog (HgQueuesNewPatchDialog.NEW_MODE, 121 mode of the dialog (HgQueuesNewPatchDialog.NEW_MODE,
98 HgQueuesNewPatchDialog.REFRESH_MODE) 122 HgQueuesNewPatchDialog.REFRESH_MODE)
99 </dd><dt><i>message</i></dt> 123 </dd>
124 <dt><i>message</i></dt>
100 <dd> 125 <dd>
101 text to set as the commit message (string) 126 text to set as the commit message (string)
102 </dd><dt><i>parent</i></dt> 127 </dd>
128 <dt><i>parent</i></dt>
103 <dd> 129 <dd>
104 reference to the parent widget (QWidget) 130 reference to the parent widget (QWidget)
105 </dd> 131 </dd>
106 </dl><dl> 132 </dl>
133 <dl>
134
107 <dt>Raises <b>ValueError</b>:</dt> 135 <dt>Raises <b>ValueError</b>:</dt>
108 <dd> 136 <dd>
109 raised to indicate an invalid dialog mode 137 raised to indicate an invalid dialog mode
110 </dd> 138 </dd>
111 </dl><a NAME="HgQueuesNewPatchDialog.__updateUI" ID="HgQueuesNewPatchDialog.__updateUI"></a> 139 </dl>
140 <a NAME="HgQueuesNewPatchDialog.__updateUI" ID="HgQueuesNewPatchDialog.__updateUI"></a>
112 <h4>HgQueuesNewPatchDialog.__updateUI</h4> 141 <h4>HgQueuesNewPatchDialog.__updateUI</h4>
113 <b>__updateUI</b>(<i></i>) 142 <b>__updateUI</b>(<i></i>)
143
114 <p> 144 <p>
115 Private slot to update the UI. 145 Private slot to update the UI.
116 </p><a NAME="HgQueuesNewPatchDialog.getData" ID="HgQueuesNewPatchDialog.getData"></a> 146 </p>
147 <a NAME="HgQueuesNewPatchDialog.getData" ID="HgQueuesNewPatchDialog.getData"></a>
117 <h4>HgQueuesNewPatchDialog.getData</h4> 148 <h4>HgQueuesNewPatchDialog.getData</h4>
118 <b>getData</b>(<i></i>) 149 <b>getData</b>(<i></i>)
150
119 <p> 151 <p>
120 Public method to retrieve the entered data. 152 Public method to retrieve the entered data.
121 </p><dl> 153 </p>
154 <dl>
122 <dt>Returns:</dt> 155 <dt>Returns:</dt>
123 <dd> 156 <dd>
124 tuple giving the patch name and message, a tuple giving a 157 tuple giving the patch name and message, a tuple giving a
125 flag indicating to set the user, a flag indicating to use the 158 flag indicating to set the user, a flag indicating to use the
126 current user and the user name and another tuple giving a flag 159 current user and the user name and another tuple giving a flag
127 indicating to set the date, a flag indicating to use the 160 indicating to set the date, a flag indicating to use the
128 current date and the date (string, string, (boolean, boolean, 161 current date and the date (string, string, (boolean, boolean,
129 string), (boolean, boolean, string)) 162 string), (boolean, boolean, string))
130 </dd> 163 </dd>
131 </dl><a NAME="HgQueuesNewPatchDialog.on_currentUserCheckBox_toggled" ID="HgQueuesNewPatchDialog.on_currentUserCheckBox_toggled"></a> 164 </dl>
165 <a NAME="HgQueuesNewPatchDialog.on_currentUserCheckBox_toggled" ID="HgQueuesNewPatchDialog.on_currentUserCheckBox_toggled"></a>
132 <h4>HgQueuesNewPatchDialog.on_currentUserCheckBox_toggled</h4> 166 <h4>HgQueuesNewPatchDialog.on_currentUserCheckBox_toggled</h4>
133 <b>on_currentUserCheckBox_toggled</b>(<i>checked</i>) 167 <b>on_currentUserCheckBox_toggled</b>(<i>checked</i>)
168
134 <p> 169 <p>
135 Private slot to handle changes of the currentuser state. 170 Private slot to handle changes of the currentuser state.
136 </p><dl> 171 </p>
172 <dl>
173
137 <dt><i>checked</i></dt> 174 <dt><i>checked</i></dt>
138 <dd> 175 <dd>
139 flag giving the checked state (boolean) 176 flag giving the checked state (boolean)
140 </dd> 177 </dd>
141 </dl><a NAME="HgQueuesNewPatchDialog.on_messageEdit_textChanged" ID="HgQueuesNewPatchDialog.on_messageEdit_textChanged"></a> 178 </dl>
179 <a NAME="HgQueuesNewPatchDialog.on_messageEdit_textChanged" ID="HgQueuesNewPatchDialog.on_messageEdit_textChanged"></a>
142 <h4>HgQueuesNewPatchDialog.on_messageEdit_textChanged</h4> 180 <h4>HgQueuesNewPatchDialog.on_messageEdit_textChanged</h4>
143 <b>on_messageEdit_textChanged</b>(<i></i>) 181 <b>on_messageEdit_textChanged</b>(<i></i>)
182
144 <p> 183 <p>
145 Private slot to handle changes of the patch message. 184 Private slot to handle changes of the patch message.
146 </p><a NAME="HgQueuesNewPatchDialog.on_nameEdit_textChanged" ID="HgQueuesNewPatchDialog.on_nameEdit_textChanged"></a> 185 </p>
186 <a NAME="HgQueuesNewPatchDialog.on_nameEdit_textChanged" ID="HgQueuesNewPatchDialog.on_nameEdit_textChanged"></a>
147 <h4>HgQueuesNewPatchDialog.on_nameEdit_textChanged</h4> 187 <h4>HgQueuesNewPatchDialog.on_nameEdit_textChanged</h4>
148 <b>on_nameEdit_textChanged</b>(<i>txt</i>) 188 <b>on_nameEdit_textChanged</b>(<i>txt</i>)
189
149 <p> 190 <p>
150 Private slot to handle changes of the patch name. 191 Private slot to handle changes of the patch name.
151 </p><dl> 192 </p>
193 <dl>
194
152 <dt><i>txt</i></dt> 195 <dt><i>txt</i></dt>
153 <dd> 196 <dd>
154 text of the edit (string) 197 text of the edit (string)
155 </dd> 198 </dd>
156 </dl><a NAME="HgQueuesNewPatchDialog.on_userEdit_textChanged" ID="HgQueuesNewPatchDialog.on_userEdit_textChanged"></a> 199 </dl>
200 <a NAME="HgQueuesNewPatchDialog.on_userEdit_textChanged" ID="HgQueuesNewPatchDialog.on_userEdit_textChanged"></a>
157 <h4>HgQueuesNewPatchDialog.on_userEdit_textChanged</h4> 201 <h4>HgQueuesNewPatchDialog.on_userEdit_textChanged</h4>
158 <b>on_userEdit_textChanged</b>(<i>txt</i>) 202 <b>on_userEdit_textChanged</b>(<i>txt</i>)
203
159 <p> 204 <p>
160 Private slot to handle changes of the user name. 205 Private slot to handle changes of the user name.
161 </p><dl> 206 </p>
207 <dl>
208
162 <dt><i>txt</i></dt> 209 <dt><i>txt</i></dt>
163 <dd> 210 <dd>
164 text of the edit (string) 211 text of the edit (string)
165 </dd> 212 </dd>
166 </dl><a NAME="HgQueuesNewPatchDialog.on_userGroup_toggled" ID="HgQueuesNewPatchDialog.on_userGroup_toggled"></a> 213 </dl>
214 <a NAME="HgQueuesNewPatchDialog.on_userGroup_toggled" ID="HgQueuesNewPatchDialog.on_userGroup_toggled"></a>
167 <h4>HgQueuesNewPatchDialog.on_userGroup_toggled</h4> 215 <h4>HgQueuesNewPatchDialog.on_userGroup_toggled</h4>
168 <b>on_userGroup_toggled</b>(<i>checked</i>) 216 <b>on_userGroup_toggled</b>(<i>checked</i>)
217
169 <p> 218 <p>
170 Private slot to handle changes of the user group state. 219 Private slot to handle changes of the user group state.
171 </p><dl> 220 </p>
221 <dl>
222
172 <dt><i>checked</i></dt> 223 <dt><i>checked</i></dt>
173 <dd> 224 <dd>
174 flag giving the checked state (boolean) 225 flag giving the checked state (boolean)
175 </dd> 226 </dd>
176 </dl> 227 </dl>

eric ide

mercurial