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

changeset 6942
2602857055c5
parent 4602
48cc4820e2c2
child 7273
391d6b7b1eff
equal deleted inserted replaced
6941:f99d60d6b59b 6942:2602857055c5
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Plugins.VcsPlugins.vcsMercurial.HgAddSubrepositoryDialog</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.vcsMercurial.HgAddSubrepositoryDialog</h1>
23 <p>
24 Module implementing a dialog to add a sub-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="#HgAddSubrepositoryDialog">HgAddSubrepositoryDialog</a></td>
34 <td>Class implementing a dialog to add a sub-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="HgAddSubrepositoryDialog" ID="HgAddSubrepositoryDialog"></a>
43 <h2>HgAddSubrepositoryDialog</h2>
44 <p>
45 Class implementing a dialog to add a sub-repository.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_HgAddSubrepositoryDialog
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="#HgAddSubrepositoryDialog.__init__">HgAddSubrepositoryDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#HgAddSubrepositoryDialog.__updateOk">__updateOk</a></td>
64 <td>Private slot to update the state of the OK button.</td>
65 </tr><tr>
66 <td><a href="#HgAddSubrepositoryDialog.getData">getData</a></td>
67 <td>Public method to get the data.</td>
68 </tr><tr>
69 <td><a href="#HgAddSubrepositoryDialog.on_pathPicker_pathSelected">on_pathPicker_pathSelected</a></td>
70 <td>Private slot handling the selection of a subrepository path.</td>
71 </tr><tr>
72 <td><a href="#HgAddSubrepositoryDialog.on_pathPicker_textChanged">on_pathPicker_textChanged</a></td>
73 <td>Private slot to handle the update of the path.</td>
74 </tr><tr>
75 <td><a href="#HgAddSubrepositoryDialog.on_urlEdit_textChanged">on_urlEdit_textChanged</a></td>
76 <td>Private slot to handle the update of the URL.</td>
77 </tr>
78 </table>
79 <h3>Static Methods</h3>
80 <table>
81 <tr><td>None</td></tr>
82 </table>
83 <a NAME="HgAddSubrepositoryDialog.__init__" ID="HgAddSubrepositoryDialog.__init__"></a>
84 <h4>HgAddSubrepositoryDialog (Constructor)</h4>
85 <b>HgAddSubrepositoryDialog</b>(<i>projectPath, parent=None</i>)
86 <p>
87 Constructor
88 </p><dl>
89 <dt><i>projectPath</i></dt>
90 <dd>
91 project directory name (string)
92 </dd><dt><i>parent</i></dt>
93 <dd>
94 reference to the parent widget (QWidget)
95 </dd>
96 </dl><a NAME="HgAddSubrepositoryDialog.__updateOk" ID="HgAddSubrepositoryDialog.__updateOk"></a>
97 <h4>HgAddSubrepositoryDialog.__updateOk</h4>
98 <b>__updateOk</b>(<i></i>)
99 <p>
100 Private slot to update the state of the OK button.
101 </p><a NAME="HgAddSubrepositoryDialog.getData" ID="HgAddSubrepositoryDialog.getData"></a>
102 <h4>HgAddSubrepositoryDialog.getData</h4>
103 <b>getData</b>(<i></i>)
104 <p>
105 Public method to get the data.
106 </p><dl>
107 <dt>Returns:</dt>
108 <dd>
109 tuple containing the relative path within the project, the
110 sub-repository type and the sub-repository URL (string, string,
111 string)
112 </dd>
113 </dl><a NAME="HgAddSubrepositoryDialog.on_pathPicker_pathSelected" ID="HgAddSubrepositoryDialog.on_pathPicker_pathSelected"></a>
114 <h4>HgAddSubrepositoryDialog.on_pathPicker_pathSelected</h4>
115 <b>on_pathPicker_pathSelected</b>(<i>path</i>)
116 <p>
117 Private slot handling the selection of a subrepository path.
118 </p><dl>
119 <dt><i>path</i> (str)</dt>
120 <dd>
121 path of the subrepository
122 </dd>
123 </dl><a NAME="HgAddSubrepositoryDialog.on_pathPicker_textChanged" ID="HgAddSubrepositoryDialog.on_pathPicker_textChanged"></a>
124 <h4>HgAddSubrepositoryDialog.on_pathPicker_textChanged</h4>
125 <b>on_pathPicker_textChanged</b>(<i>p0</i>)
126 <p>
127 Private slot to handle the update of the path.
128 </p><dl>
129 <dt><i>p0</i></dt>
130 <dd>
131 text of the path edit (string)
132 </dd>
133 </dl><a NAME="HgAddSubrepositoryDialog.on_urlEdit_textChanged" ID="HgAddSubrepositoryDialog.on_urlEdit_textChanged"></a>
134 <h4>HgAddSubrepositoryDialog.on_urlEdit_textChanged</h4>
135 <b>on_urlEdit_textChanged</b>(<i>p0</i>)
136 <p>
137 Private slot to handle the update of the URL.
138 </p><dl>
139 <dt><i>p0</i></dt>
140 <dd>
141 text of the URL edit (string)
142 </dd>
143 </dl>
144 <div align="right"><a href="#top">Up</a></div>
145 <hr />
146 </body></html>

eric ide

mercurial