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