|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.VcsPlugins.vcsMercurial.HgCopyDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.HgCopyDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to enter the data for a copy or rename operation. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#HgCopyDialog">HgCopyDialog</a></td> |
|
34 <td>Class implementing a dialog to enter the data for a copy or rename operation.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr><td>None</td></tr> |
|
40 </table> |
|
41 <hr /><hr /> |
|
42 <a NAME="HgCopyDialog" ID="HgCopyDialog"></a> |
|
43 <h2>HgCopyDialog</h2> |
|
44 <p> |
|
45 Class implementing a dialog to enter the data for a copy or rename |
|
46 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>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="#HgCopyDialog.__init__">HgCopyDialog</a></td> |
|
62 <td>Constructor</td> |
|
63 </tr><tr> |
|
64 <td><a href="#HgCopyDialog.getData">getData</a></td> |
|
65 <td>Public method to retrieve the copy data.</td> |
|
66 </tr><tr> |
|
67 <td><a href="#HgCopyDialog.on_dirButton_clicked">on_dirButton_clicked</a></td> |
|
68 <td>Private slot to handle the button press for selecting the target via a selection dialog.</td> |
|
69 </tr><tr> |
|
70 <td><a href="#HgCopyDialog.on_targetEdit_textChanged">on_targetEdit_textChanged</a></td> |
|
71 <td>Private slot to handle changes of the target.</td> |
|
72 </tr> |
|
73 </table> |
|
74 <h3>Static Methods</h3> |
|
75 <table> |
|
76 <tr><td>None</td></tr> |
|
77 </table> |
|
78 <a NAME="HgCopyDialog.__init__" ID="HgCopyDialog.__init__"></a> |
|
79 <h4>HgCopyDialog (Constructor)</h4> |
|
80 <b>HgCopyDialog</b>(<i>source, parent=None, move=False</i>) |
|
81 <p> |
|
82 Constructor |
|
83 </p><dl> |
|
84 <dt><i>source</i></dt> |
|
85 <dd> |
|
86 name of the source file/directory (string) |
|
87 </dd><dt><i>parent</i></dt> |
|
88 <dd> |
|
89 parent widget (QWidget) |
|
90 </dd><dt><i>move</i></dt> |
|
91 <dd> |
|
92 flag indicating a move operation (boolean) |
|
93 </dd> |
|
94 </dl><a NAME="HgCopyDialog.getData" ID="HgCopyDialog.getData"></a> |
|
95 <h4>HgCopyDialog.getData</h4> |
|
96 <b>getData</b>(<i></i>) |
|
97 <p> |
|
98 Public method to retrieve the copy data. |
|
99 </p><dl> |
|
100 <dt>Returns:</dt> |
|
101 <dd> |
|
102 the target name (string) and a flag indicating |
|
103 the operation should be enforced (boolean) |
|
104 </dd> |
|
105 </dl><a NAME="HgCopyDialog.on_dirButton_clicked" ID="HgCopyDialog.on_dirButton_clicked"></a> |
|
106 <h4>HgCopyDialog.on_dirButton_clicked</h4> |
|
107 <b>on_dirButton_clicked</b>(<i></i>) |
|
108 <p> |
|
109 Private slot to handle the button press for selecting the target via a |
|
110 selection dialog. |
|
111 </p><a NAME="HgCopyDialog.on_targetEdit_textChanged" ID="HgCopyDialog.on_targetEdit_textChanged"></a> |
|
112 <h4>HgCopyDialog.on_targetEdit_textChanged</h4> |
|
113 <b>on_targetEdit_textChanged</b>(<i>txt</i>) |
|
114 <p> |
|
115 Private slot to handle changes of the target. |
|
116 </p><dl> |
|
117 <dt><i>txt</i></dt> |
|
118 <dd> |
|
119 contents of the target edit (string) |
|
120 </dd> |
|
121 </dl> |
|
122 <div align="right"><a href="#top">Up</a></div> |
|
123 <hr /> |
|
124 </body></html> |