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.GitChangeRemoteUrlDialog</h1> |
23 <h1>eric6.Plugins.VcsPlugins.vcsGit.GitChangeRemoteUrlDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a dialog to change the URL of a remote git repository. |
26 Module implementing a dialog to change the URL of a remote git 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="#GitChangeRemoteUrlDialog">GitChangeRemoteUrlDialog</a></td> |
38 <td><a href="#GitChangeRemoteUrlDialog">GitChangeRemoteUrlDialog</a></td> |
34 <td>Class implementing a dialog to change the URL of a remote git repository.</td> |
39 <td>Class implementing a dialog to change the URL of a remote git 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="GitChangeRemoteUrlDialog" ID="GitChangeRemoteUrlDialog"></a> |
49 <a NAME="GitChangeRemoteUrlDialog" ID="GitChangeRemoteUrlDialog"></a> |
43 <h2>GitChangeRemoteUrlDialog</h2> |
50 <h2>GitChangeRemoteUrlDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a dialog to change the URL of a remote git repository. |
53 Class implementing a dialog to change the URL of a remote git repository. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 QDialog, Ui_GitChangeRemoteUrlDialog |
56 QDialog, Ui_GitChangeRemoteUrlDialog |
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="#GitChangeRemoteUrlDialog.__init__">GitChangeRemoteUrlDialog</a></td> |
72 <td><a href="#GitChangeRemoteUrlDialog.__init__">GitChangeRemoteUrlDialog</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#GitChangeRemoteUrlDialog.__updateOK">__updateOK</a></td> |
76 <td><a href="#GitChangeRemoteUrlDialog.__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="#GitChangeRemoteUrlDialog.getData">getData</a></td> |
80 <td><a href="#GitChangeRemoteUrlDialog.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="#GitChangeRemoteUrlDialog.on_newUrlEdit_textChanged">on_newUrlEdit_textChanged</a></td> |
84 <td><a href="#GitChangeRemoteUrlDialog.on_newUrlEdit_textChanged">on_newUrlEdit_textChanged</a></td> |
70 <td>Private slot handling changes of the entered URL.</td> |
85 <td>Private slot handling changes of the entered URL.</td> |
71 </tr> |
86 </tr> |
72 </table> |
87 </table> |
73 <h3>Static Methods</h3> |
88 <h3>Static Methods</h3> |
|
89 |
74 <table> |
90 <table> |
75 <tr><td>None</td></tr> |
91 <tr><td>None</td></tr> |
76 </table> |
92 </table> |
|
93 |
77 <a NAME="GitChangeRemoteUrlDialog.__init__" ID="GitChangeRemoteUrlDialog.__init__"></a> |
94 <a NAME="GitChangeRemoteUrlDialog.__init__" ID="GitChangeRemoteUrlDialog.__init__"></a> |
78 <h4>GitChangeRemoteUrlDialog (Constructor)</h4> |
95 <h4>GitChangeRemoteUrlDialog (Constructor)</h4> |
79 <b>GitChangeRemoteUrlDialog</b>(<i>remoteName, remoteUrl, parent=None</i>) |
96 <b>GitChangeRemoteUrlDialog</b>(<i>remoteName, remoteUrl, parent=None</i>) |
|
97 |
80 <p> |
98 <p> |
81 Constructor |
99 Constructor |
82 </p><dl> |
100 </p> |
|
101 <dl> |
|
102 |
83 <dt><i>remoteName</i> (str)</dt> |
103 <dt><i>remoteName</i> (str)</dt> |
84 <dd> |
104 <dd> |
85 name of the remote repository |
105 name of the remote repository |
86 </dd><dt><i>remoteUrl</i> (str)</dt> |
106 </dd> |
|
107 <dt><i>remoteUrl</i> (str)</dt> |
87 <dd> |
108 <dd> |
88 URL of the remote repository |
109 URL of the remote repository |
89 </dd><dt><i>parent</i> (QWidget)</dt> |
110 </dd> |
|
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="GitChangeRemoteUrlDialog.__updateOK" ID="GitChangeRemoteUrlDialog.__updateOK"></a> |
115 </dl> |
|
116 <a NAME="GitChangeRemoteUrlDialog.__updateOK" ID="GitChangeRemoteUrlDialog.__updateOK"></a> |
94 <h4>GitChangeRemoteUrlDialog.__updateOK</h4> |
117 <h4>GitChangeRemoteUrlDialog.__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="GitChangeRemoteUrlDialog.getData" ID="GitChangeRemoteUrlDialog.getData"></a> |
122 </p> |
|
123 <a NAME="GitChangeRemoteUrlDialog.getData" ID="GitChangeRemoteUrlDialog.getData"></a> |
99 <h4>GitChangeRemoteUrlDialog.getData</h4> |
124 <h4>GitChangeRemoteUrlDialog.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 new URL of the remote repository |
133 tuple with name and new 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="GitChangeRemoteUrlDialog.on_newUrlEdit_textChanged" ID="GitChangeRemoteUrlDialog.on_newUrlEdit_textChanged"></a> |
141 </dl> |
|
142 <a NAME="GitChangeRemoteUrlDialog.on_newUrlEdit_textChanged" ID="GitChangeRemoteUrlDialog.on_newUrlEdit_textChanged"></a> |
114 <h4>GitChangeRemoteUrlDialog.on_newUrlEdit_textChanged</h4> |
143 <h4>GitChangeRemoteUrlDialog.on_newUrlEdit_textChanged</h4> |
115 <b>on_newUrlEdit_textChanged</b>(<i>txt</i>) |
144 <b>on_newUrlEdit_textChanged</b>(<i>txt</i>) |
|
145 |
116 <p> |
146 <p> |
117 Private slot handling changes of the entered URL. |
147 Private slot handling changes of the entered URL. |
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> |
155 </dl> |