Documentation/Source/eric6.Plugins.VcsPlugins.vcsGit.GitChangeRemoteUrlDialog.html

changeset 6324
b11c36cba2a1
equal deleted inserted replaced
6323:610b676336be 6324:b11c36cba2a1
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.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><a NAME="top" ID="top"></a>
22 <h1>eric6.Plugins.VcsPlugins.vcsGit.GitChangeRemoteUrlDialog</h1>
23 <p>
24 Module implementing a dialog to change the URL of a remote git repository.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#GitChangeRemoteUrlDialog">GitChangeRemoteUrlDialog</a></td>
34 <td>Class implementing a dialog to change the URL of a remote git repository.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="GitChangeRemoteUrlDialog" ID="GitChangeRemoteUrlDialog"></a>
43 <h2>GitChangeRemoteUrlDialog</h2>
44 <p>
45 Class implementing a dialog to change the URL of a remote git repository.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_GitChangeRemoteUrlDialog
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#GitChangeRemoteUrlDialog.__init__">GitChangeRemoteUrlDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#GitChangeRemoteUrlDialog.__updateOK">__updateOK</a></td>
64 <td>Private method to update the status of the OK button.</td>
65 </tr><tr>
66 <td><a href="#GitChangeRemoteUrlDialog.getData">getData</a></td>
67 <td>Public method to get the entered data.</td>
68 </tr><tr>
69 <td><a href="#GitChangeRemoteUrlDialog.on_newUrlEdit_textChanged">on_newUrlEdit_textChanged</a></td>
70 <td>Private slot handling changes of the entered URL.</td>
71 </tr>
72 </table>
73 <h3>Static Methods</h3>
74 <table>
75 <tr><td>None</td></tr>
76 </table>
77 <a NAME="GitChangeRemoteUrlDialog.__init__" ID="GitChangeRemoteUrlDialog.__init__"></a>
78 <h4>GitChangeRemoteUrlDialog (Constructor)</h4>
79 <b>GitChangeRemoteUrlDialog</b>(<i>remoteName, remoteUrl, parent=None</i>)
80 <p>
81 Constructor
82 </p><dl>
83 <dt><i>remoteName</i> (str)</dt>
84 <dd>
85 name of the remote repository
86 </dd><dt><i>remoteUrl</i> (str)</dt>
87 <dd>
88 URL of the remote repository
89 </dd><dt><i>parent</i> (QWidget)</dt>
90 <dd>
91 reference to the parent widget
92 </dd>
93 </dl><a NAME="GitChangeRemoteUrlDialog.__updateOK" ID="GitChangeRemoteUrlDialog.__updateOK"></a>
94 <h4>GitChangeRemoteUrlDialog.__updateOK</h4>
95 <b>__updateOK</b>(<i></i>)
96 <p>
97 Private method to update the status of the OK button.
98 </p><a NAME="GitChangeRemoteUrlDialog.getData" ID="GitChangeRemoteUrlDialog.getData"></a>
99 <h4>GitChangeRemoteUrlDialog.getData</h4>
100 <b>getData</b>(<i></i>)
101 <p>
102 Public method to get the entered data.
103 </p><dl>
104 <dt>Returns:</dt>
105 <dd>
106 tuple with name and new URL of the remote repository
107 </dd>
108 </dl><dl>
109 <dt>Return Type:</dt>
110 <dd>
111 tuple of (str, str)
112 </dd>
113 </dl><a NAME="GitChangeRemoteUrlDialog.on_newUrlEdit_textChanged" ID="GitChangeRemoteUrlDialog.on_newUrlEdit_textChanged"></a>
114 <h4>GitChangeRemoteUrlDialog.on_newUrlEdit_textChanged</h4>
115 <b>on_newUrlEdit_textChanged</b>(<i>txt</i>)
116 <p>
117 Private slot handling changes of the entered URL.
118 </p><dl>
119 <dt><i>txt</i> (str)</dt>
120 <dd>
121 current text
122 </dd>
123 </dl>
124 <div align="right"><a href="#top">Up</a></div>
125 <hr />
126 </body></html>

eric ide

mercurial