|
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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.FetchExtension.ProjectHelper</h1> |
|
23 <p> |
|
24 Module implementing the fetch extension project helper. |
|
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="#FetchProjectHelper">FetchProjectHelper</a></td> |
|
34 <td>Class implementing the fetch extension project helper.</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="FetchProjectHelper" ID="FetchProjectHelper"></a> |
|
43 <h2>FetchProjectHelper</h2> |
|
44 <p> |
|
45 Class implementing the fetch extension project helper. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 HgExtensionProjectHelper |
|
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="#FetchProjectHelper.__init__">FetchProjectHelper</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#FetchProjectHelper.__aboutToShowMenu">__aboutToShowMenu</a></td> |
|
64 <td>Private slot to handle the aboutToShow signal of the background menu.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#FetchProjectHelper.__hgFetch">__hgFetch</a></td> |
|
67 <td>Private slot used to fetch changes from a remote repository.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#FetchProjectHelper.initActions">initActions</a></td> |
|
70 <td>Public method to generate the action objects.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#FetchProjectHelper.initMenu">initMenu</a></td> |
|
73 <td>Public method to generate the extension menu.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#FetchProjectHelper.menuTitle">menuTitle</a></td> |
|
76 <td>Public method to get the menu title.</td> |
|
77 </tr> |
|
78 </table> |
|
79 <h3>Static Methods</h3> |
|
80 <table> |
|
81 <tr><td>None</td></tr> |
|
82 </table> |
|
83 <a NAME="FetchProjectHelper.__init__" ID="FetchProjectHelper.__init__"></a> |
|
84 <h4>FetchProjectHelper (Constructor)</h4> |
|
85 <b>FetchProjectHelper</b>(<i></i>) |
|
86 <p> |
|
87 Constructor |
|
88 </p><a NAME="FetchProjectHelper.__aboutToShowMenu" ID="FetchProjectHelper.__aboutToShowMenu"></a> |
|
89 <h4>FetchProjectHelper.__aboutToShowMenu</h4> |
|
90 <b>__aboutToShowMenu</b>(<i></i>) |
|
91 <p> |
|
92 Private slot to handle the aboutToShow signal of the background menu. |
|
93 </p><a NAME="FetchProjectHelper.__hgFetch" ID="FetchProjectHelper.__hgFetch"></a> |
|
94 <h4>FetchProjectHelper.__hgFetch</h4> |
|
95 <b>__hgFetch</b>(<i></i>) |
|
96 <p> |
|
97 Private slot used to fetch changes from a remote repository. |
|
98 </p><a NAME="FetchProjectHelper.initActions" ID="FetchProjectHelper.initActions"></a> |
|
99 <h4>FetchProjectHelper.initActions</h4> |
|
100 <b>initActions</b>(<i></i>) |
|
101 <p> |
|
102 Public method to generate the action objects. |
|
103 </p><a NAME="FetchProjectHelper.initMenu" ID="FetchProjectHelper.initMenu"></a> |
|
104 <h4>FetchProjectHelper.initMenu</h4> |
|
105 <b>initMenu</b>(<i>mainMenu</i>) |
|
106 <p> |
|
107 Public method to generate the extension menu. |
|
108 </p><dl> |
|
109 <dt><i>mainMenu</i></dt> |
|
110 <dd> |
|
111 reference to the main menu (QMenu) |
|
112 </dd> |
|
113 </dl><dl> |
|
114 <dt>Returns:</dt> |
|
115 <dd> |
|
116 populated menu (QMenu) |
|
117 </dd> |
|
118 </dl><a NAME="FetchProjectHelper.menuTitle" ID="FetchProjectHelper.menuTitle"></a> |
|
119 <h4>FetchProjectHelper.menuTitle</h4> |
|
120 <b>menuTitle</b>(<i></i>) |
|
121 <p> |
|
122 Public method to get the menu title. |
|
123 </p><dl> |
|
124 <dt>Returns:</dt> |
|
125 <dd> |
|
126 title of the menu (string) |
|
127 </dd> |
|
128 </dl> |
|
129 <div align="right"><a href="#top">Up</a></div> |
|
130 <hr /> |
|
131 </body></html> |