|
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.HgCopyDialog</title> |
|
6 <style> |
|
7 body { |
|
8 background:white; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #4FA4FF; } |
|
14 h2 { color: white; background: #4FA4FF; } |
|
15 h3 { color: white; background: #00557F; } |
|
16 h4 { color: white; background: #00557F; } |
|
17 |
|
18 a { color: #AA5500; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric5.Plugins.VcsPlugins.vcsMercurial.HgCopyDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog to enter the data for a copy or rename operation. |
|
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="#HgCopyDialog">HgCopyDialog</a></td> |
|
35 <td>Class implementing a dialog to enter the data for a copy or rename operation.</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="HgCopyDialog" ID="HgCopyDialog"></a> |
|
44 <h2>HgCopyDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog to enter the data for a copy or rename operation. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_HgCopyDialog |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Methods</h3> |
|
55 <table> |
|
56 <tr> |
|
57 <td><a href="#HgCopyDialog.__init__">HgCopyDialog</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#HgCopyDialog.getData">getData</a></td> |
|
61 <td>Public method to retrieve the copy data.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#HgCopyDialog.on_dirButton_clicked">on_dirButton_clicked</a></td> |
|
64 <td>Private slot to handle the button press for selecting the target via a selection dialog.</td> |
|
65 </tr> |
|
66 </table> |
|
67 <a NAME="HgCopyDialog.__init__" ID="HgCopyDialog.__init__"></a> |
|
68 <h4>HgCopyDialog (Constructor)</h4> |
|
69 <b>HgCopyDialog</b>(<i>source, parent = None, move = False, force = False</i>) |
|
70 <p> |
|
71 Constructor |
|
72 </p><dl> |
|
73 <dt><i>source</i></dt> |
|
74 <dd> |
|
75 name of the source file/directory (string) |
|
76 </dd><dt><i>parent</i></dt> |
|
77 <dd> |
|
78 parent widget (QWidget) |
|
79 </dd><dt><i>move</i></dt> |
|
80 <dd> |
|
81 flag indicating a move operation |
|
82 </dd><dt><i>force</i></dt> |
|
83 <dd> |
|
84 flag indicating a forced operation (boolean) |
|
85 </dd> |
|
86 </dl><a NAME="HgCopyDialog.getData" ID="HgCopyDialog.getData"></a> |
|
87 <h4>HgCopyDialog.getData</h4> |
|
88 <b>getData</b>(<i></i>) |
|
89 <p> |
|
90 Public method to retrieve the copy data. |
|
91 </p><dl> |
|
92 <dt>Returns:</dt> |
|
93 <dd> |
|
94 the target name (string) and a flag indicating |
|
95 the operation should be enforced (boolean) |
|
96 </dd> |
|
97 </dl><a NAME="HgCopyDialog.on_dirButton_clicked" ID="HgCopyDialog.on_dirButton_clicked"></a> |
|
98 <h4>HgCopyDialog.on_dirButton_clicked</h4> |
|
99 <b>on_dirButton_clicked</b>(<i></i>) |
|
100 <p> |
|
101 Private slot to handle the button press for selecting the target via a |
|
102 selection dialog. |
|
103 </p> |
|
104 <div align="right"><a href="#top">Up</a></div> |
|
105 <hr /> |
|
106 </body></html> |