|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.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> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgCopyDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to enter the data for a copy or rename operation. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#HgCopyDialog">HgCopyDialog</a></td> |
|
39 <td>Class implementing a dialog to enter the data for a copy or rename operation.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
|
49 <a NAME="HgCopyDialog" ID="HgCopyDialog"></a> |
|
50 <h2>HgCopyDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a dialog to enter the data for a copy or rename |
|
54 operation. |
|
55 </p> |
|
56 <h3>Derived from</h3> |
|
57 QDialog, Ui_HgCopyDialog |
|
58 <h3>Class Attributes</h3> |
|
59 |
|
60 <table> |
|
61 <tr><td>None</td></tr> |
|
62 </table> |
|
63 <h3>Class Methods</h3> |
|
64 |
|
65 <table> |
|
66 <tr><td>None</td></tr> |
|
67 </table> |
|
68 <h3>Methods</h3> |
|
69 |
|
70 <table> |
|
71 |
|
72 <tr> |
|
73 <td><a href="#HgCopyDialog.__init__">HgCopyDialog</a></td> |
|
74 <td>Constructor</td> |
|
75 </tr> |
|
76 <tr> |
|
77 <td><a href="#HgCopyDialog.getData">getData</a></td> |
|
78 <td>Public method to retrieve the copy data.</td> |
|
79 </tr> |
|
80 <tr> |
|
81 <td><a href="#HgCopyDialog.on_targetPicker_textChanged">on_targetPicker_textChanged</a></td> |
|
82 <td>Private slot to handle changes of the target.</td> |
|
83 </tr> |
|
84 </table> |
|
85 <h3>Static Methods</h3> |
|
86 |
|
87 <table> |
|
88 <tr><td>None</td></tr> |
|
89 </table> |
|
90 |
|
91 <a NAME="HgCopyDialog.__init__" ID="HgCopyDialog.__init__"></a> |
|
92 <h4>HgCopyDialog (Constructor)</h4> |
|
93 <b>HgCopyDialog</b>(<i>source, parent=None, move=False</i>) |
|
94 |
|
95 <p> |
|
96 Constructor |
|
97 </p> |
|
98 <dl> |
|
99 |
|
100 <dt><i>source</i></dt> |
|
101 <dd> |
|
102 name of the source file/directory (string) |
|
103 </dd> |
|
104 <dt><i>parent</i></dt> |
|
105 <dd> |
|
106 parent widget (QWidget) |
|
107 </dd> |
|
108 <dt><i>move</i></dt> |
|
109 <dd> |
|
110 flag indicating a move operation (boolean) |
|
111 </dd> |
|
112 </dl> |
|
113 <a NAME="HgCopyDialog.getData" ID="HgCopyDialog.getData"></a> |
|
114 <h4>HgCopyDialog.getData</h4> |
|
115 <b>getData</b>(<i></i>) |
|
116 |
|
117 <p> |
|
118 Public method to retrieve the copy data. |
|
119 </p> |
|
120 <dl> |
|
121 <dt>Return:</dt> |
|
122 <dd> |
|
123 the target name (string) and a flag indicating |
|
124 the operation should be enforced (boolean) |
|
125 </dd> |
|
126 </dl> |
|
127 <a NAME="HgCopyDialog.on_targetPicker_textChanged" ID="HgCopyDialog.on_targetPicker_textChanged"></a> |
|
128 <h4>HgCopyDialog.on_targetPicker_textChanged</h4> |
|
129 <b>on_targetPicker_textChanged</b>(<i>txt</i>) |
|
130 |
|
131 <p> |
|
132 Private slot to handle changes of the target. |
|
133 </p> |
|
134 <dl> |
|
135 |
|
136 <dt><i>txt</i></dt> |
|
137 <dd> |
|
138 contents of the target edit (string) |
|
139 </dd> |
|
140 </dl> |
|
141 <div align="right"><a href="#top">Up</a></div> |
|
142 <hr /> |
|
143 </body></html> |