16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.Plugins.VcsPlugins.vcsGit.GitAddRemoteDialog</h1> |
23 <h1>eric6.Plugins.VcsPlugins.vcsGit.GitAddRemoteDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a dialog to enter the data of a remote repository. |
26 Module implementing a dialog to enter the data of a remote repository. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
|
34 |
31 <table> |
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#GitAddRemoteDialog">GitAddRemoteDialog</a></td> |
38 <td><a href="#GitAddRemoteDialog">GitAddRemoteDialog</a></td> |
34 <td>Class implementing a dialog to enter the data of a remote repository.</td> |
39 <td>Class implementing a dialog to enter the data of a remote repository.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
|
43 |
38 <table> |
44 <table> |
39 <tr><td>None</td></tr> |
45 <tr><td>None</td></tr> |
40 </table> |
46 </table> |
41 <hr /><hr /> |
47 <hr /> |
|
48 <hr /> |
42 <a NAME="GitAddRemoteDialog" ID="GitAddRemoteDialog"></a> |
49 <a NAME="GitAddRemoteDialog" ID="GitAddRemoteDialog"></a> |
43 <h2>GitAddRemoteDialog</h2> |
50 <h2>GitAddRemoteDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a dialog to enter the data of a remote repository. |
53 Class implementing a dialog to enter the data of a remote repository. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 QDialog, Ui_GitAddRemoteDialog |
56 QDialog, Ui_GitAddRemoteDialog |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
|
68 |
58 <table> |
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#GitAddRemoteDialog.__init__">GitAddRemoteDialog</a></td> |
72 <td><a href="#GitAddRemoteDialog.__init__">GitAddRemoteDialog</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#GitAddRemoteDialog.__updateOK">__updateOK</a></td> |
76 <td><a href="#GitAddRemoteDialog.__updateOK">__updateOK</a></td> |
64 <td>Private method to update the status of the OK button.</td> |
77 <td>Private method to update the status of the OK button.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#GitAddRemoteDialog.getData">getData</a></td> |
80 <td><a href="#GitAddRemoteDialog.getData">getData</a></td> |
67 <td>Public method to get the entered data.</td> |
81 <td>Public method to get the entered data.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#GitAddRemoteDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> |
84 <td><a href="#GitAddRemoteDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> |
70 <td>Private slot handling changes of the entered name.</td> |
85 <td>Private slot handling changes of the entered name.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#GitAddRemoteDialog.on_urlEdit_textChanged">on_urlEdit_textChanged</a></td> |
88 <td><a href="#GitAddRemoteDialog.on_urlEdit_textChanged">on_urlEdit_textChanged</a></td> |
73 <td>Private slot handling changes of the entered URL.</td> |
89 <td>Private slot handling changes of the entered URL.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#GitAddRemoteDialog.on_userEdit_textChanged">on_userEdit_textChanged</a></td> |
92 <td><a href="#GitAddRemoteDialog.on_userEdit_textChanged">on_userEdit_textChanged</a></td> |
76 <td>Private slot handling changes of the entered user name.</td> |
93 <td>Private slot handling changes of the entered user name.</td> |
77 </tr> |
94 </tr> |
78 </table> |
95 </table> |
79 <h3>Static Methods</h3> |
96 <h3>Static Methods</h3> |
|
97 |
80 <table> |
98 <table> |
81 <tr><td>None</td></tr> |
99 <tr><td>None</td></tr> |
82 </table> |
100 </table> |
|
101 |
83 <a NAME="GitAddRemoteDialog.__init__" ID="GitAddRemoteDialog.__init__"></a> |
102 <a NAME="GitAddRemoteDialog.__init__" ID="GitAddRemoteDialog.__init__"></a> |
84 <h4>GitAddRemoteDialog (Constructor)</h4> |
103 <h4>GitAddRemoteDialog (Constructor)</h4> |
85 <b>GitAddRemoteDialog</b>(<i>parent=None</i>) |
104 <b>GitAddRemoteDialog</b>(<i>parent=None</i>) |
|
105 |
86 <p> |
106 <p> |
87 Constructor |
107 Constructor |
88 </p><dl> |
108 </p> |
|
109 <dl> |
|
110 |
89 <dt><i>parent</i> (QWidget)</dt> |
111 <dt><i>parent</i> (QWidget)</dt> |
90 <dd> |
112 <dd> |
91 reference to the parent widget |
113 reference to the parent widget |
92 </dd> |
114 </dd> |
93 </dl><a NAME="GitAddRemoteDialog.__updateOK" ID="GitAddRemoteDialog.__updateOK"></a> |
115 </dl> |
|
116 <a NAME="GitAddRemoteDialog.__updateOK" ID="GitAddRemoteDialog.__updateOK"></a> |
94 <h4>GitAddRemoteDialog.__updateOK</h4> |
117 <h4>GitAddRemoteDialog.__updateOK</h4> |
95 <b>__updateOK</b>(<i></i>) |
118 <b>__updateOK</b>(<i></i>) |
|
119 |
96 <p> |
120 <p> |
97 Private method to update the status of the OK button. |
121 Private method to update the status of the OK button. |
98 </p><a NAME="GitAddRemoteDialog.getData" ID="GitAddRemoteDialog.getData"></a> |
122 </p> |
|
123 <a NAME="GitAddRemoteDialog.getData" ID="GitAddRemoteDialog.getData"></a> |
99 <h4>GitAddRemoteDialog.getData</h4> |
124 <h4>GitAddRemoteDialog.getData</h4> |
100 <b>getData</b>(<i></i>) |
125 <b>getData</b>(<i></i>) |
|
126 |
101 <p> |
127 <p> |
102 Public method to get the entered data. |
128 Public method to get the entered data. |
103 </p><dl> |
129 </p> |
|
130 <dl> |
104 <dt>Returns:</dt> |
131 <dt>Returns:</dt> |
105 <dd> |
132 <dd> |
106 tuple with name and URL of the remote repository |
133 tuple with name and URL of the remote repository |
107 </dd> |
134 </dd> |
108 </dl><dl> |
135 </dl> |
|
136 <dl> |
109 <dt>Return Type:</dt> |
137 <dt>Return Type:</dt> |
110 <dd> |
138 <dd> |
111 tuple of (str, str) |
139 tuple of (str, str) |
112 </dd> |
140 </dd> |
113 </dl><a NAME="GitAddRemoteDialog.on_nameEdit_textChanged" ID="GitAddRemoteDialog.on_nameEdit_textChanged"></a> |
141 </dl> |
|
142 <a NAME="GitAddRemoteDialog.on_nameEdit_textChanged" ID="GitAddRemoteDialog.on_nameEdit_textChanged"></a> |
114 <h4>GitAddRemoteDialog.on_nameEdit_textChanged</h4> |
143 <h4>GitAddRemoteDialog.on_nameEdit_textChanged</h4> |
115 <b>on_nameEdit_textChanged</b>(<i>txt</i>) |
144 <b>on_nameEdit_textChanged</b>(<i>txt</i>) |
|
145 |
116 <p> |
146 <p> |
117 Private slot handling changes of the entered name. |
147 Private slot handling changes of the entered name. |
118 </p><dl> |
148 </p> |
|
149 <dl> |
|
150 |
119 <dt><i>txt</i> (str)</dt> |
151 <dt><i>txt</i> (str)</dt> |
120 <dd> |
152 <dd> |
121 current text |
153 current text |
122 </dd> |
154 </dd> |
123 </dl><a NAME="GitAddRemoteDialog.on_urlEdit_textChanged" ID="GitAddRemoteDialog.on_urlEdit_textChanged"></a> |
155 </dl> |
|
156 <a NAME="GitAddRemoteDialog.on_urlEdit_textChanged" ID="GitAddRemoteDialog.on_urlEdit_textChanged"></a> |
124 <h4>GitAddRemoteDialog.on_urlEdit_textChanged</h4> |
157 <h4>GitAddRemoteDialog.on_urlEdit_textChanged</h4> |
125 <b>on_urlEdit_textChanged</b>(<i>txt</i>) |
158 <b>on_urlEdit_textChanged</b>(<i>txt</i>) |
|
159 |
126 <p> |
160 <p> |
127 Private slot handling changes of the entered URL. |
161 Private slot handling changes of the entered URL. |
128 </p><dl> |
162 </p> |
|
163 <dl> |
|
164 |
129 <dt><i>txt</i> (str)</dt> |
165 <dt><i>txt</i> (str)</dt> |
130 <dd> |
166 <dd> |
131 current text |
167 current text |
132 </dd> |
168 </dd> |
133 </dl><a NAME="GitAddRemoteDialog.on_userEdit_textChanged" ID="GitAddRemoteDialog.on_userEdit_textChanged"></a> |
169 </dl> |
|
170 <a NAME="GitAddRemoteDialog.on_userEdit_textChanged" ID="GitAddRemoteDialog.on_userEdit_textChanged"></a> |
134 <h4>GitAddRemoteDialog.on_userEdit_textChanged</h4> |
171 <h4>GitAddRemoteDialog.on_userEdit_textChanged</h4> |
135 <b>on_userEdit_textChanged</b>(<i>txt</i>) |
172 <b>on_userEdit_textChanged</b>(<i>txt</i>) |
|
173 |
136 <p> |
174 <p> |
137 Private slot handling changes of the entered user name. |
175 Private slot handling changes of the entered user name. |
138 </p><dl> |
176 </p> |
|
177 <dl> |
|
178 |
139 <dt><i>txt</i> (str)</dt> |
179 <dt><i>txt</i> (str)</dt> |
140 <dd> |
180 <dd> |
141 current text |
181 current text |
142 </dd> |
182 </dd> |
143 </dl> |
183 </dl> |