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

changeset 1655
d2b583fdde1c
child 1990
7fee3661c4f9
equal deleted inserted replaced
1654:08264848be08 1655:d2b583fdde1c
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.HgGraftDialog</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.HgGraftDialog</h1>
24 <p>
25 Module implementing a dialog to enter the data for a graft session.
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="#HgGraftDialog">HgGraftDialog</a></td>
35 <td>Class implementing a dialog to enter the data for a graft session.</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="HgGraftDialog" ID="HgGraftDialog"></a>
44 <h2>HgGraftDialog</h2>
45 <p>
46 Class implementing a dialog to enter the data for a graft session.
47 </p>
48 <h3>Derived from</h3>
49 QDialog, Ui_HgGraftDialog
50 <h3>Class Attributes</h3>
51 <table>
52 <tr><td>None</td></tr>
53 </table>
54 <h3>Class Methods</h3>
55 <table>
56 <tr><td>None</td></tr>
57 </table>
58 <h3>Methods</h3>
59 <table>
60 <tr>
61 <td><a href="#HgGraftDialog.__init__">HgGraftDialog</a></td>
62 <td>Constructor</td>
63 </tr><tr>
64 <td><a href="#HgGraftDialog.__updateOk">__updateOk</a></td>
65 <td>Private slot to update the state of the OK button.</td>
66 </tr><tr>
67 <td><a href="#HgGraftDialog.getData">getData</a></td>
68 <td>Public method to retrieve the entered data.</td>
69 </tr><tr>
70 <td><a href="#HgGraftDialog.on_currentUserCheckBox_toggled">on_currentUserCheckBox_toggled</a></td>
71 <td>Private slot to handle changes of the currentuser state.</td>
72 </tr><tr>
73 <td><a href="#HgGraftDialog.on_revisionsEdit_textChanged">on_revisionsEdit_textChanged</a></td>
74 <td>Private slot to react upon changes of revisions.</td>
75 </tr><tr>
76 <td><a href="#HgGraftDialog.on_userEdit_textChanged">on_userEdit_textChanged</a></td>
77 <td>Private slot to handle changes of the user name.</td>
78 </tr><tr>
79 <td><a href="#HgGraftDialog.on_userGroup_toggled">on_userGroup_toggled</a></td>
80 <td>Private slot to handle changes of the user group state.</td>
81 </tr>
82 </table>
83 <h3>Static Methods</h3>
84 <table>
85 <tr><td>None</td></tr>
86 </table>
87 <a NAME="HgGraftDialog.__init__" ID="HgGraftDialog.__init__"></a>
88 <h4>HgGraftDialog (Constructor)</h4>
89 <b>HgGraftDialog</b>(<i>parent=None</i>)
90 <p>
91 Constructor
92 </p><dl>
93 <dt><i>parent</i></dt>
94 <dd>
95 reference to the parent widget (QWidget)
96 </dd>
97 </dl><a NAME="HgGraftDialog.__updateOk" ID="HgGraftDialog.__updateOk"></a>
98 <h4>HgGraftDialog.__updateOk</h4>
99 <b>__updateOk</b>(<i></i>)
100 <p>
101 Private slot to update the state of the OK button.
102 </p><a NAME="HgGraftDialog.getData" ID="HgGraftDialog.getData"></a>
103 <h4>HgGraftDialog.getData</h4>
104 <b>getData</b>(<i></i>)
105 <p>
106 Public method to retrieve the entered data.
107 </p><dl>
108 <dt>Returns:</dt>
109 <dd>
110 tuple with list of revisions, a tuple giving a
111 flag indicating to set the user, a flag indicating to use the
112 current user and the user name and another tuple giving a flag
113 indicating to set the date, a flag indicating to use the
114 current date and the date (list of strings, (boolean, boolean, string),
115 (boolean, boolean, string))
116 </dd>
117 </dl><a NAME="HgGraftDialog.on_currentUserCheckBox_toggled" ID="HgGraftDialog.on_currentUserCheckBox_toggled"></a>
118 <h4>HgGraftDialog.on_currentUserCheckBox_toggled</h4>
119 <b>on_currentUserCheckBox_toggled</b>(<i>checked</i>)
120 <p>
121 Private slot to handle changes of the currentuser state.
122 </p><dl>
123 <dt><i>checked</i></dt>
124 <dd>
125 flag giving the checked state (boolean)
126 </dd>
127 </dl><a NAME="HgGraftDialog.on_revisionsEdit_textChanged" ID="HgGraftDialog.on_revisionsEdit_textChanged"></a>
128 <h4>HgGraftDialog.on_revisionsEdit_textChanged</h4>
129 <b>on_revisionsEdit_textChanged</b>(<i></i>)
130 <p>
131 Private slot to react upon changes of revisions.
132 </p><a NAME="HgGraftDialog.on_userEdit_textChanged" ID="HgGraftDialog.on_userEdit_textChanged"></a>
133 <h4>HgGraftDialog.on_userEdit_textChanged</h4>
134 <b>on_userEdit_textChanged</b>(<i>txt</i>)
135 <p>
136 Private slot to handle changes of the user name.
137 </p><dl>
138 <dt><i>txt</i></dt>
139 <dd>
140 text of the edit (string)
141 </dd>
142 </dl><a NAME="HgGraftDialog.on_userGroup_toggled" ID="HgGraftDialog.on_userGroup_toggled"></a>
143 <h4>HgGraftDialog.on_userGroup_toggled</h4>
144 <b>on_userGroup_toggled</b>(<i>checked</i>)
145 <p>
146 Private slot to handle changes of the user group state.
147 </p><dl>
148 <dt><i>checked</i></dt>
149 <dd>
150 flag giving the checked state (boolean)
151 </dd>
152 </dl>
153 <div align="right"><a href="#top">Up</a></div>
154 <hr />
155 </body></html>

eric ide

mercurial