1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.VcsPlugins.vcsMercurial.FetchExtension.ProjectHelper</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>eric6.Plugins.VcsPlugins.vcsMercurial.FetchExtension.ProjectHelper</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing the fetch extension project helper. |
|
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="#FetchProjectHelper">FetchProjectHelper</a></td> |
|
39 <td>Class implementing the fetch extension project helper.</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="FetchProjectHelper" ID="FetchProjectHelper"></a> |
|
50 <h2>FetchProjectHelper</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing the fetch extension project helper. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 HgExtensionProjectHelper |
|
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="#FetchProjectHelper.__init__">FetchProjectHelper</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#FetchProjectHelper.__aboutToShowMenu">__aboutToShowMenu</a></td> |
|
77 <td>Private slot to handle the aboutToShow signal of the background menu.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#FetchProjectHelper.__hgFetch">__hgFetch</a></td> |
|
81 <td>Private slot used to fetch changes from a remote repository.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#FetchProjectHelper.initActions">initActions</a></td> |
|
85 <td>Public method to generate the action objects.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#FetchProjectHelper.initMenu">initMenu</a></td> |
|
89 <td>Public method to generate the extension menu.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#FetchProjectHelper.menuTitle">menuTitle</a></td> |
|
93 <td>Public method to get the menu title.</td> |
|
94 </tr> |
|
95 </table> |
|
96 <h3>Static Methods</h3> |
|
97 |
|
98 <table> |
|
99 <tr><td>None</td></tr> |
|
100 </table> |
|
101 |
|
102 <a NAME="FetchProjectHelper.__init__" ID="FetchProjectHelper.__init__"></a> |
|
103 <h4>FetchProjectHelper (Constructor)</h4> |
|
104 <b>FetchProjectHelper</b>(<i></i>) |
|
105 |
|
106 <p> |
|
107 Constructor |
|
108 </p> |
|
109 <a NAME="FetchProjectHelper.__aboutToShowMenu" ID="FetchProjectHelper.__aboutToShowMenu"></a> |
|
110 <h4>FetchProjectHelper.__aboutToShowMenu</h4> |
|
111 <b>__aboutToShowMenu</b>(<i></i>) |
|
112 |
|
113 <p> |
|
114 Private slot to handle the aboutToShow signal of the background menu. |
|
115 </p> |
|
116 <a NAME="FetchProjectHelper.__hgFetch" ID="FetchProjectHelper.__hgFetch"></a> |
|
117 <h4>FetchProjectHelper.__hgFetch</h4> |
|
118 <b>__hgFetch</b>(<i></i>) |
|
119 |
|
120 <p> |
|
121 Private slot used to fetch changes from a remote repository. |
|
122 </p> |
|
123 <a NAME="FetchProjectHelper.initActions" ID="FetchProjectHelper.initActions"></a> |
|
124 <h4>FetchProjectHelper.initActions</h4> |
|
125 <b>initActions</b>(<i></i>) |
|
126 |
|
127 <p> |
|
128 Public method to generate the action objects. |
|
129 </p> |
|
130 <a NAME="FetchProjectHelper.initMenu" ID="FetchProjectHelper.initMenu"></a> |
|
131 <h4>FetchProjectHelper.initMenu</h4> |
|
132 <b>initMenu</b>(<i>mainMenu</i>) |
|
133 |
|
134 <p> |
|
135 Public method to generate the extension menu. |
|
136 </p> |
|
137 <dl> |
|
138 |
|
139 <dt><i>mainMenu</i></dt> |
|
140 <dd> |
|
141 reference to the main menu (QMenu) |
|
142 </dd> |
|
143 </dl> |
|
144 <dl> |
|
145 <dt>Returns:</dt> |
|
146 <dd> |
|
147 populated menu (QMenu) |
|
148 </dd> |
|
149 </dl> |
|
150 <a NAME="FetchProjectHelper.menuTitle" ID="FetchProjectHelper.menuTitle"></a> |
|
151 <h4>FetchProjectHelper.menuTitle</h4> |
|
152 <b>menuTitle</b>(<i></i>) |
|
153 |
|
154 <p> |
|
155 Public method to get the menu title. |
|
156 </p> |
|
157 <dl> |
|
158 <dt>Returns:</dt> |
|
159 <dd> |
|
160 title of the menu (string) |
|
161 </dd> |
|
162 </dl> |
|
163 <div align="right"><a href="#top">Up</a></div> |
|
164 <hr /> |
|
165 </body></html> |
|