Documentation/Source/eric5.Plugins.VcsPlugins.vcsMercurial.HgAddSubrepositoryDialog.html

changeset 1908
7b40bf154fdc
child 2367
78f6c8193d37
equal deleted inserted replaced
1907:44d593ab5b40 1908:7b40bf154fdc
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
4 <html><head>
5 <title>eric5.Plugins.VcsPlugins.vcsMercurial.HgAddSubrepositoryDialog</title>
6 <style>
7 body {
8 background: #EDECE6;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #85774A; }
14 h2 { color: white; background: #85774A; }
15 h3 { color: white; background: #9D936E; }
16 h4 { color: white; background: #9D936E; }
17
18 a { color: #BA6D36; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.Plugins.VcsPlugins.vcsMercurial.HgAddSubrepositoryDialog</h1>
24 <p>
25 Module implementing a dialog to add a sub-repository.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>None</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#HgAddSubrepositoryDialog">HgAddSubrepositoryDialog</a></td>
35 <td>Class implementing a dialog to add a sub-repository.</td>
36 </tr>
37 </table>
38 <h3>Functions</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <hr /><hr />
43 <a NAME="HgAddSubrepositoryDialog" ID="HgAddSubrepositoryDialog"></a>
44 <h2>HgAddSubrepositoryDialog</h2>
45 <p>
46 Class implementing a dialog to add a sub-repository.
47 </p>
48 <h3>Derived from</h3>
49 QDialog, Ui_HgAddSubrepositoryDialog
50 <h3>Class Attributes</h3>
51 <table>
52 <tr><td>None</td></tr>
53 </table>
54 <h3>Class Methods</h3>
55 <table>
56 <tr><td>None</td></tr>
57 </table>
58 <h3>Methods</h3>
59 <table>
60 <tr>
61 <td><a href="#HgAddSubrepositoryDialog.__init__">HgAddSubrepositoryDialog</a></td>
62 <td>Constructor</td>
63 </tr><tr>
64 <td><a href="#HgAddSubrepositoryDialog.__updateOk">__updateOk</a></td>
65 <td>Private slot to update the state of the OK button.</td>
66 </tr><tr>
67 <td><a href="#HgAddSubrepositoryDialog.getData">getData</a></td>
68 <td>Public method to get the data.</td>
69 </tr><tr>
70 <td><a href="#HgAddSubrepositoryDialog.on_pathButton_clicked">on_pathButton_clicked</a></td>
71 <td>Private slot to handle the path selection via a directory selection dialog.</td>
72 </tr><tr>
73 <td><a href="#HgAddSubrepositoryDialog.on_pathEdit_textChanged">on_pathEdit_textChanged</a></td>
74 <td>Private slot to handle the update of the path.</td>
75 </tr><tr>
76 <td><a href="#HgAddSubrepositoryDialog.on_urlEdit_textChanged">on_urlEdit_textChanged</a></td>
77 <td>Private slot to handle the update of the URL.</td>
78 </tr>
79 </table>
80 <h3>Static Methods</h3>
81 <table>
82 <tr><td>None</td></tr>
83 </table>
84 <a NAME="HgAddSubrepositoryDialog.__init__" ID="HgAddSubrepositoryDialog.__init__"></a>
85 <h4>HgAddSubrepositoryDialog (Constructor)</h4>
86 <b>HgAddSubrepositoryDialog</b>(<i>projectPath, parent=None</i>)
87 <p>
88 Constructor
89 </p><dl>
90 <dt><i>parent</i></dt>
91 <dd>
92 reference to the parent widget (QWidget)
93 </dd>
94 </dl><a NAME="HgAddSubrepositoryDialog.__updateOk" ID="HgAddSubrepositoryDialog.__updateOk"></a>
95 <h4>HgAddSubrepositoryDialog.__updateOk</h4>
96 <b>__updateOk</b>(<i></i>)
97 <p>
98 Private slot to update the state of the OK button.
99 </p><a NAME="HgAddSubrepositoryDialog.getData" ID="HgAddSubrepositoryDialog.getData"></a>
100 <h4>HgAddSubrepositoryDialog.getData</h4>
101 <b>getData</b>(<i></i>)
102 <p>
103 Public method to get the data.
104 </p><dl>
105 <dt>Returns:</dt>
106 <dd>
107 tuple containing the relative path within the project, the sub-repository
108 type and the sub-repository URL (string, string, string)
109 </dd>
110 </dl><a NAME="HgAddSubrepositoryDialog.on_pathButton_clicked" ID="HgAddSubrepositoryDialog.on_pathButton_clicked"></a>
111 <h4>HgAddSubrepositoryDialog.on_pathButton_clicked</h4>
112 <b>on_pathButton_clicked</b>(<i></i>)
113 <p>
114 Private slot to handle the path selection via a directory selection dialog.
115 </p><a NAME="HgAddSubrepositoryDialog.on_pathEdit_textChanged" ID="HgAddSubrepositoryDialog.on_pathEdit_textChanged"></a>
116 <h4>HgAddSubrepositoryDialog.on_pathEdit_textChanged</h4>
117 <b>on_pathEdit_textChanged</b>(<i>p0</i>)
118 <p>
119 Private slot to handle the update of the path.
120 </p><dl>
121 <dt><i>p0</i></dt>
122 <dd>
123 text of the path edit (string)
124 </dd>
125 </dl><a NAME="HgAddSubrepositoryDialog.on_urlEdit_textChanged" ID="HgAddSubrepositoryDialog.on_urlEdit_textChanged"></a>
126 <h4>HgAddSubrepositoryDialog.on_urlEdit_textChanged</h4>
127 <b>on_urlEdit_textChanged</b>(<i>p0</i>)
128 <p>
129 Private slot to handle the update of the URL.
130 </p><dl>
131 <dt><i>p0</i></dt>
132 <dd>
133 text of the URL edit (string)
134 </dd>
135 </dl>
136 <div align="right"><a href="#top">Up</a></div>
137 <hr />
138 </body></html>

eric ide

mercurial