|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsGit.GitAddRemoteDialog</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.vcsGit.GitAddRemoteDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to enter the data of a remote repository. |
|
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="#GitAddRemoteDialog">GitAddRemoteDialog</a></td> |
|
39 <td>Class implementing a dialog to enter the data of a remote repository.</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="GitAddRemoteDialog" ID="GitAddRemoteDialog"></a> |
|
50 <h2>GitAddRemoteDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a dialog to enter the data of a remote repository. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QDialog, Ui_GitAddRemoteDialog |
|
57 <h3>Class Attributes</h3> |
|
58 |
|
59 <table> |
|
60 <tr><td>None</td></tr> |
|
61 </table> |
|
62 <h3>Class Methods</h3> |
|
63 |
|
64 <table> |
|
65 <tr><td>None</td></tr> |
|
66 </table> |
|
67 <h3>Methods</h3> |
|
68 |
|
69 <table> |
|
70 |
|
71 <tr> |
|
72 <td><a href="#GitAddRemoteDialog.__init__">GitAddRemoteDialog</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#GitAddRemoteDialog.__updateOK">__updateOK</a></td> |
|
77 <td>Private method to update the status of the OK button.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#GitAddRemoteDialog.getData">getData</a></td> |
|
81 <td>Public method to get the entered data.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#GitAddRemoteDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> |
|
85 <td>Private slot handling changes of the entered name.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#GitAddRemoteDialog.on_urlEdit_textChanged">on_urlEdit_textChanged</a></td> |
|
89 <td>Private slot handling changes of the entered URL.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#GitAddRemoteDialog.on_userEdit_textChanged">on_userEdit_textChanged</a></td> |
|
93 <td>Private slot handling changes of the entered user name.</td> |
|
94 </tr> |
|
95 </table> |
|
96 <h3>Static Methods</h3> |
|
97 |
|
98 <table> |
|
99 <tr><td>None</td></tr> |
|
100 </table> |
|
101 |
|
102 <a NAME="GitAddRemoteDialog.__init__" ID="GitAddRemoteDialog.__init__"></a> |
|
103 <h4>GitAddRemoteDialog (Constructor)</h4> |
|
104 <b>GitAddRemoteDialog</b>(<i>parent=None</i>) |
|
105 |
|
106 <p> |
|
107 Constructor |
|
108 </p> |
|
109 <dl> |
|
110 |
|
111 <dt><i>parent</i> (QWidget)</dt> |
|
112 <dd> |
|
113 reference to the parent widget |
|
114 </dd> |
|
115 </dl> |
|
116 <a NAME="GitAddRemoteDialog.__updateOK" ID="GitAddRemoteDialog.__updateOK"></a> |
|
117 <h4>GitAddRemoteDialog.__updateOK</h4> |
|
118 <b>__updateOK</b>(<i></i>) |
|
119 |
|
120 <p> |
|
121 Private method to update the status of the OK button. |
|
122 </p> |
|
123 <a NAME="GitAddRemoteDialog.getData" ID="GitAddRemoteDialog.getData"></a> |
|
124 <h4>GitAddRemoteDialog.getData</h4> |
|
125 <b>getData</b>(<i></i>) |
|
126 |
|
127 <p> |
|
128 Public method to get the entered data. |
|
129 </p> |
|
130 <dl> |
|
131 <dt>Return:</dt> |
|
132 <dd> |
|
133 tuple with name and URL of the remote repository |
|
134 </dd> |
|
135 </dl> |
|
136 <dl> |
|
137 <dt>Return Type:</dt> |
|
138 <dd> |
|
139 tuple of (str, str) |
|
140 </dd> |
|
141 </dl> |
|
142 <a NAME="GitAddRemoteDialog.on_nameEdit_textChanged" ID="GitAddRemoteDialog.on_nameEdit_textChanged"></a> |
|
143 <h4>GitAddRemoteDialog.on_nameEdit_textChanged</h4> |
|
144 <b>on_nameEdit_textChanged</b>(<i>txt</i>) |
|
145 |
|
146 <p> |
|
147 Private slot handling changes of the entered name. |
|
148 </p> |
|
149 <dl> |
|
150 |
|
151 <dt><i>txt</i> (str)</dt> |
|
152 <dd> |
|
153 current text |
|
154 </dd> |
|
155 </dl> |
|
156 <a NAME="GitAddRemoteDialog.on_urlEdit_textChanged" ID="GitAddRemoteDialog.on_urlEdit_textChanged"></a> |
|
157 <h4>GitAddRemoteDialog.on_urlEdit_textChanged</h4> |
|
158 <b>on_urlEdit_textChanged</b>(<i>txt</i>) |
|
159 |
|
160 <p> |
|
161 Private slot handling changes of the entered URL. |
|
162 </p> |
|
163 <dl> |
|
164 |
|
165 <dt><i>txt</i> (str)</dt> |
|
166 <dd> |
|
167 current text |
|
168 </dd> |
|
169 </dl> |
|
170 <a NAME="GitAddRemoteDialog.on_userEdit_textChanged" ID="GitAddRemoteDialog.on_userEdit_textChanged"></a> |
|
171 <h4>GitAddRemoteDialog.on_userEdit_textChanged</h4> |
|
172 <b>on_userEdit_textChanged</b>(<i>txt</i>) |
|
173 |
|
174 <p> |
|
175 Private slot handling changes of the entered user name. |
|
176 </p> |
|
177 <dl> |
|
178 |
|
179 <dt><i>txt</i> (str)</dt> |
|
180 <dd> |
|
181 current text |
|
182 </dd> |
|
183 </dl> |
|
184 <div align="right"><a href="#top">Up</a></div> |
|
185 <hr /> |
|
186 </body></html> |