Documentation/Source/eric5.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesNewPatchDialog.html

changeset 1037
b547147ccb4b
child 1228
7afaf2fca55b
equal deleted inserted replaced
1036:1922b6ce2a57 1037:b547147ccb4b
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.HgQueuesNewPatchDialog</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.HgQueuesNewPatchDialog</h1>
24 <p>
25 Module implementing a dialog to get the data for a new 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="#HgQueuesNewPatchDialog">HgQueuesNewPatchDialog</a></td>
35 <td>Class implementing a dialog to get the data for a new 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="HgQueuesNewPatchDialog" ID="HgQueuesNewPatchDialog"></a>
44 <h2>HgQueuesNewPatchDialog</h2>
45 <p>
46 Class implementing a dialog to get the data for a new patch.
47 </p>
48 <h3>Derived from</h3>
49 QDialog, Ui_HgQueuesNewPatchDialog
50 <h3>Class Attributes</h3>
51 <table>
52 <tr><td>NEW_MODE</td></tr><tr><td>REFRESH_MODE</td></tr>
53 </table>
54 <h3>Methods</h3>
55 <table>
56 <tr>
57 <td><a href="#HgQueuesNewPatchDialog.__init__">HgQueuesNewPatchDialog</a></td>
58 <td>Constructor</td>
59 </tr><tr>
60 <td><a href="#HgQueuesNewPatchDialog.__updateUI">__updateUI</a></td>
61 <td>Private slot to update the UI.</td>
62 </tr><tr>
63 <td><a href="#HgQueuesNewPatchDialog.getData">getData</a></td>
64 <td>Public method to retrieve the entered data.</td>
65 </tr><tr>
66 <td><a href="#HgQueuesNewPatchDialog.on_currentUserCheckBox_toggled">on_currentUserCheckBox_toggled</a></td>
67 <td>Private slot to handle changes of the currentuser state.</td>
68 </tr><tr>
69 <td><a href="#HgQueuesNewPatchDialog.on_messageEdit_textChanged">on_messageEdit_textChanged</a></td>
70 <td>Private slot to handle changes of the patch message.</td>
71 </tr><tr>
72 <td><a href="#HgQueuesNewPatchDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td>
73 <td>Private slot to handle changes of the patch name.</td>
74 </tr><tr>
75 <td><a href="#HgQueuesNewPatchDialog.on_userEdit_textChanged">on_userEdit_textChanged</a></td>
76 <td>Private slot to handle changes of the user name.</td>
77 </tr><tr>
78 <td><a href="#HgQueuesNewPatchDialog.on_userGroup_toggled">on_userGroup_toggled</a></td>
79 <td>Private slot to handle changes of the user group state.</td>
80 </tr>
81 </table>
82 <a NAME="HgQueuesNewPatchDialog.__init__" ID="HgQueuesNewPatchDialog.__init__"></a>
83 <h4>HgQueuesNewPatchDialog (Constructor)</h4>
84 <b>HgQueuesNewPatchDialog</b>(<i>mode, message="", parent=None</i>)
85 <p>
86 Constructor
87 </p><dl>
88 <dt><i>mode</i></dt>
89 <dd>
90 mode of the dialog (HgQueuesNewPatchDialog.NEW_MODE,
91 HgQueuesNewPatchDialog.REFRESH_MODE)
92 </dd><dt><i>message</i></dt>
93 <dd>
94 text to set as the commit message (string)
95 </dd><dt><i>parent</i></dt>
96 <dd>
97 reference to the parent widget (QWidget)
98 </dd>
99 </dl><a NAME="HgQueuesNewPatchDialog.__updateUI" ID="HgQueuesNewPatchDialog.__updateUI"></a>
100 <h4>HgQueuesNewPatchDialog.__updateUI</h4>
101 <b>__updateUI</b>(<i></i>)
102 <p>
103 Private slot to update the UI.
104 </p><a NAME="HgQueuesNewPatchDialog.getData" ID="HgQueuesNewPatchDialog.getData"></a>
105 <h4>HgQueuesNewPatchDialog.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 giving the patch name and message, a tuple giving a
113 flag indicating to set the user, a flag indicating to use the
114 current user and the user name and another tuple giving a flag
115 indicating to set the date, a flag indicating to use the
116 current date and the date (string, string, (boolean, boolean, string),
117 (boolean, boolean, string))
118 </dd>
119 </dl><a NAME="HgQueuesNewPatchDialog.on_currentUserCheckBox_toggled" ID="HgQueuesNewPatchDialog.on_currentUserCheckBox_toggled"></a>
120 <h4>HgQueuesNewPatchDialog.on_currentUserCheckBox_toggled</h4>
121 <b>on_currentUserCheckBox_toggled</b>(<i>checked</i>)
122 <p>
123 Private slot to handle changes of the currentuser state.
124 </p><dl>
125 <dt><i>checked</i></dt>
126 <dd>
127 flag giving the checked state (boolean)
128 </dd>
129 </dl><a NAME="HgQueuesNewPatchDialog.on_messageEdit_textChanged" ID="HgQueuesNewPatchDialog.on_messageEdit_textChanged"></a>
130 <h4>HgQueuesNewPatchDialog.on_messageEdit_textChanged</h4>
131 <b>on_messageEdit_textChanged</b>(<i></i>)
132 <p>
133 Private slot to handle changes of the patch message.
134 </p><dl>
135 <dt><i>txt</i></dt>
136 <dd>
137 text of the edit (string)
138 </dd>
139 </dl><a NAME="HgQueuesNewPatchDialog.on_nameEdit_textChanged" ID="HgQueuesNewPatchDialog.on_nameEdit_textChanged"></a>
140 <h4>HgQueuesNewPatchDialog.on_nameEdit_textChanged</h4>
141 <b>on_nameEdit_textChanged</b>(<i>txt</i>)
142 <p>
143 Private slot to handle changes of the patch name.
144 </p><dl>
145 <dt><i>txt</i></dt>
146 <dd>
147 text of the edit (string)
148 </dd>
149 </dl><a NAME="HgQueuesNewPatchDialog.on_userEdit_textChanged" ID="HgQueuesNewPatchDialog.on_userEdit_textChanged"></a>
150 <h4>HgQueuesNewPatchDialog.on_userEdit_textChanged</h4>
151 <b>on_userEdit_textChanged</b>(<i>txt</i>)
152 <p>
153 Private slot to handle changes of the user name.
154 </p><dl>
155 <dt><i>txt</i></dt>
156 <dd>
157 text of the edit (string)
158 </dd>
159 </dl><a NAME="HgQueuesNewPatchDialog.on_userGroup_toggled" ID="HgQueuesNewPatchDialog.on_userGroup_toggled"></a>
160 <h4>HgQueuesNewPatchDialog.on_userGroup_toggled</h4>
161 <b>on_userGroup_toggled</b>(<i>checked</i>)
162 <p>
163 Private slot to handle changes of the user group state.
164 </p><dl>
165 <dt><i>checked</i></dt>
166 <dd>
167 flag giving the checked state (boolean)
168 </dd>
169 </dl>
170 <div align="right"><a href="#top">Up</a></div>
171 <hr />
172 </body></html>

eric ide

mercurial