5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgAddSubrepositoryDialog</h1> |
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgAddSubrepositoryDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to add a sub-repository. |
11 Module implementing a dialog to add a sub-repository. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#HgAddSubrepositoryDialog">HgAddSubrepositoryDialog</a></td> |
22 <td><a href="#HgAddSubrepositoryDialog">HgAddSubrepositoryDialog</a></td> |
25 <td>Class implementing a dialog to add a sub-repository.</td> |
23 <td>Class implementing a dialog to add a sub-repository.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="HgAddSubrepositoryDialog" ID="HgAddSubrepositoryDialog"></a> |
34 <a NAME="HgAddSubrepositoryDialog" ID="HgAddSubrepositoryDialog"></a> |
36 <h2>HgAddSubrepositoryDialog</h2> |
35 <h2>HgAddSubrepositoryDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a dialog to add a sub-repository. |
37 Class implementing a dialog to add a sub-repository. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QDialog, Ui_HgAddSubrepositoryDialog |
41 QDialog, Ui_HgAddSubrepositoryDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
|
45 <table> |
43 <table> |
46 <tr><td>None</td></tr> |
44 <tr><td>None</td></tr> |
47 </table> |
45 </table> |
|
46 |
48 <h3>Class Methods</h3> |
47 <h3>Class Methods</h3> |
49 |
|
50 <table> |
48 <table> |
51 <tr><td>None</td></tr> |
49 <tr><td>None</td></tr> |
52 </table> |
50 </table> |
|
51 |
53 <h3>Methods</h3> |
52 <h3>Methods</h3> |
54 |
|
55 <table> |
53 <table> |
56 |
|
57 <tr> |
54 <tr> |
58 <td><a href="#HgAddSubrepositoryDialog.__init__">HgAddSubrepositoryDialog</a></td> |
55 <td><a href="#HgAddSubrepositoryDialog.__init__">HgAddSubrepositoryDialog</a></td> |
59 <td>Constructor</td> |
56 <td>Constructor</td> |
60 </tr> |
57 </tr> |
61 <tr> |
58 <tr> |
77 <tr> |
74 <tr> |
78 <td><a href="#HgAddSubrepositoryDialog.on_urlEdit_textChanged">on_urlEdit_textChanged</a></td> |
75 <td><a href="#HgAddSubrepositoryDialog.on_urlEdit_textChanged">on_urlEdit_textChanged</a></td> |
79 <td>Private slot to handle the update of the URL.</td> |
76 <td>Private slot to handle the update of the URL.</td> |
80 </tr> |
77 </tr> |
81 </table> |
78 </table> |
|
79 |
82 <h3>Static Methods</h3> |
80 <h3>Static Methods</h3> |
83 |
|
84 <table> |
81 <table> |
85 <tr><td>None</td></tr> |
82 <tr><td>None</td></tr> |
86 </table> |
83 </table> |
87 |
84 |
|
85 |
88 <a NAME="HgAddSubrepositoryDialog.__init__" ID="HgAddSubrepositoryDialog.__init__"></a> |
86 <a NAME="HgAddSubrepositoryDialog.__init__" ID="HgAddSubrepositoryDialog.__init__"></a> |
89 <h4>HgAddSubrepositoryDialog (Constructor)</h4> |
87 <h4>HgAddSubrepositoryDialog (Constructor)</h4> |
90 <b>HgAddSubrepositoryDialog</b>(<i>projectPath, parent=None</i>) |
88 <b>HgAddSubrepositoryDialog</b>(<i>projectPath, parent=None</i>) |
91 |
|
92 <p> |
89 <p> |
93 Constructor |
90 Constructor |
94 </p> |
91 </p> |
|
92 |
95 <dl> |
93 <dl> |
96 |
94 |
97 <dt><i>projectPath</i> (str)</dt> |
95 <dt><i>projectPath</i> (str)</dt> |
98 <dd> |
96 <dd> |
99 project directory name |
97 project directory name |
104 </dd> |
102 </dd> |
105 </dl> |
103 </dl> |
106 <a NAME="HgAddSubrepositoryDialog.__updateOk" ID="HgAddSubrepositoryDialog.__updateOk"></a> |
104 <a NAME="HgAddSubrepositoryDialog.__updateOk" ID="HgAddSubrepositoryDialog.__updateOk"></a> |
107 <h4>HgAddSubrepositoryDialog.__updateOk</h4> |
105 <h4>HgAddSubrepositoryDialog.__updateOk</h4> |
108 <b>__updateOk</b>(<i></i>) |
106 <b>__updateOk</b>(<i></i>) |
109 |
|
110 <p> |
107 <p> |
111 Private slot to update the state of the OK button. |
108 Private slot to update the state of the OK button. |
112 </p> |
109 </p> |
|
110 |
113 <a NAME="HgAddSubrepositoryDialog.getData" ID="HgAddSubrepositoryDialog.getData"></a> |
111 <a NAME="HgAddSubrepositoryDialog.getData" ID="HgAddSubrepositoryDialog.getData"></a> |
114 <h4>HgAddSubrepositoryDialog.getData</h4> |
112 <h4>HgAddSubrepositoryDialog.getData</h4> |
115 <b>getData</b>(<i></i>) |
113 <b>getData</b>(<i></i>) |
116 |
|
117 <p> |
114 <p> |
118 Public method to get the data. |
115 Public method to get the data. |
119 </p> |
116 </p> |
|
117 |
120 <dl> |
118 <dl> |
121 <dt>Return:</dt> |
119 <dt>Return:</dt> |
122 <dd> |
120 <dd> |
123 tuple containing the relative path within the project, the |
121 tuple containing the relative path within the project, the |
124 sub-repository type and the sub-repository URL |
122 sub-repository type and the sub-repository URL |
131 </dd> |
129 </dd> |
132 </dl> |
130 </dl> |
133 <a NAME="HgAddSubrepositoryDialog.on_pathPicker_pathSelected" ID="HgAddSubrepositoryDialog.on_pathPicker_pathSelected"></a> |
131 <a NAME="HgAddSubrepositoryDialog.on_pathPicker_pathSelected" ID="HgAddSubrepositoryDialog.on_pathPicker_pathSelected"></a> |
134 <h4>HgAddSubrepositoryDialog.on_pathPicker_pathSelected</h4> |
132 <h4>HgAddSubrepositoryDialog.on_pathPicker_pathSelected</h4> |
135 <b>on_pathPicker_pathSelected</b>(<i>path</i>) |
133 <b>on_pathPicker_pathSelected</b>(<i>path</i>) |
136 |
|
137 <p> |
134 <p> |
138 Private slot handling the selection of a subrepository path. |
135 Private slot handling the selection of a subrepository path. |
139 </p> |
136 </p> |
|
137 |
140 <dl> |
138 <dl> |
141 |
139 |
142 <dt><i>path</i> (str)</dt> |
140 <dt><i>path</i> (str)</dt> |
143 <dd> |
141 <dd> |
144 path of the subrepository |
142 path of the subrepository |
145 </dd> |
143 </dd> |
146 </dl> |
144 </dl> |
147 <a NAME="HgAddSubrepositoryDialog.on_pathPicker_textChanged" ID="HgAddSubrepositoryDialog.on_pathPicker_textChanged"></a> |
145 <a NAME="HgAddSubrepositoryDialog.on_pathPicker_textChanged" ID="HgAddSubrepositoryDialog.on_pathPicker_textChanged"></a> |
148 <h4>HgAddSubrepositoryDialog.on_pathPicker_textChanged</h4> |
146 <h4>HgAddSubrepositoryDialog.on_pathPicker_textChanged</h4> |
149 <b>on_pathPicker_textChanged</b>(<i>p0</i>) |
147 <b>on_pathPicker_textChanged</b>(<i>p0</i>) |
150 |
|
151 <p> |
148 <p> |
152 Private slot to handle the update of the path. |
149 Private slot to handle the update of the path. |
153 </p> |
150 </p> |
|
151 |
154 <dl> |
152 <dl> |
155 |
153 |
156 <dt><i>p0</i> (str)</dt> |
154 <dt><i>p0</i> (str)</dt> |
157 <dd> |
155 <dd> |
158 text of the path edit |
156 text of the path edit |
159 </dd> |
157 </dd> |
160 </dl> |
158 </dl> |
161 <a NAME="HgAddSubrepositoryDialog.on_urlEdit_textChanged" ID="HgAddSubrepositoryDialog.on_urlEdit_textChanged"></a> |
159 <a NAME="HgAddSubrepositoryDialog.on_urlEdit_textChanged" ID="HgAddSubrepositoryDialog.on_urlEdit_textChanged"></a> |
162 <h4>HgAddSubrepositoryDialog.on_urlEdit_textChanged</h4> |
160 <h4>HgAddSubrepositoryDialog.on_urlEdit_textChanged</h4> |
163 <b>on_urlEdit_textChanged</b>(<i>p0</i>) |
161 <b>on_urlEdit_textChanged</b>(<i>p0</i>) |
164 |
|
165 <p> |
162 <p> |
166 Private slot to handle the update of the URL. |
163 Private slot to handle the update of the URL. |
167 </p> |
164 </p> |
|
165 |
168 <dl> |
166 <dl> |
169 |
167 |
170 <dt><i>p0</i> (str)</dt> |
168 <dt><i>p0</i> (str)</dt> |
171 <dd> |
169 <dd> |
172 text of the URL edit |
170 text of the URL edit |