|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsGit.GitChangeRemoteUrlDialog</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.GitChangeRemoteUrlDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to change the URL of a remote git 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="#GitChangeRemoteUrlDialog">GitChangeRemoteUrlDialog</a></td> |
|
39 <td>Class implementing a dialog to change the URL of a remote git 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="GitChangeRemoteUrlDialog" ID="GitChangeRemoteUrlDialog"></a> |
|
50 <h2>GitChangeRemoteUrlDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a dialog to change the URL of a remote git repository. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QDialog, Ui_GitChangeRemoteUrlDialog |
|
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="#GitChangeRemoteUrlDialog.__init__">GitChangeRemoteUrlDialog</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#GitChangeRemoteUrlDialog.__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="#GitChangeRemoteUrlDialog.getData">getData</a></td> |
|
81 <td>Public method to get the entered data.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#GitChangeRemoteUrlDialog.on_newUrlEdit_textChanged">on_newUrlEdit_textChanged</a></td> |
|
85 <td>Private slot handling changes of the entered URL.</td> |
|
86 </tr> |
|
87 </table> |
|
88 <h3>Static Methods</h3> |
|
89 |
|
90 <table> |
|
91 <tr><td>None</td></tr> |
|
92 </table> |
|
93 |
|
94 <a NAME="GitChangeRemoteUrlDialog.__init__" ID="GitChangeRemoteUrlDialog.__init__"></a> |
|
95 <h4>GitChangeRemoteUrlDialog (Constructor)</h4> |
|
96 <b>GitChangeRemoteUrlDialog</b>(<i>remoteName, remoteUrl, parent=None</i>) |
|
97 |
|
98 <p> |
|
99 Constructor |
|
100 </p> |
|
101 <dl> |
|
102 |
|
103 <dt><i>remoteName</i> (str)</dt> |
|
104 <dd> |
|
105 name of the remote repository |
|
106 </dd> |
|
107 <dt><i>remoteUrl</i> (str)</dt> |
|
108 <dd> |
|
109 URL of the remote repository |
|
110 </dd> |
|
111 <dt><i>parent</i> (QWidget)</dt> |
|
112 <dd> |
|
113 reference to the parent widget |
|
114 </dd> |
|
115 </dl> |
|
116 <a NAME="GitChangeRemoteUrlDialog.__updateOK" ID="GitChangeRemoteUrlDialog.__updateOK"></a> |
|
117 <h4>GitChangeRemoteUrlDialog.__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="GitChangeRemoteUrlDialog.getData" ID="GitChangeRemoteUrlDialog.getData"></a> |
|
124 <h4>GitChangeRemoteUrlDialog.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 new 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="GitChangeRemoteUrlDialog.on_newUrlEdit_textChanged" ID="GitChangeRemoteUrlDialog.on_newUrlEdit_textChanged"></a> |
|
143 <h4>GitChangeRemoteUrlDialog.on_newUrlEdit_textChanged</h4> |
|
144 <b>on_newUrlEdit_textChanged</b>(<i>txt</i>) |
|
145 |
|
146 <p> |
|
147 Private slot handling changes of the entered URL. |
|
148 </p> |
|
149 <dl> |
|
150 |
|
151 <dt><i>txt</i> (str)</dt> |
|
152 <dd> |
|
153 current text |
|
154 </dd> |
|
155 </dl> |
|
156 <div align="right"><a href="#top">Up</a></div> |
|
157 <hr /> |
|
158 </body></html> |