Documentation/Source/eric5.VCS.StatusMonitorLed.html

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3349
2a034a7f1f54
equal deleted inserted replaced
3456:96232974dcdb 3484:645c12de6b0c
45 <p> 45 <p>
46 Class implementing a LED to indicate the status of the VCS status monitor 46 Class implementing a LED to indicate the status of the VCS status monitor
47 thread. 47 thread.
48 </p> 48 </p>
49 <h3>Derived from</h3> 49 <h3>Derived from</h3>
50 E5Led 50 E5ClickableLed
51 <h3>Class Attributes</h3> 51 <h3>Class Attributes</h3>
52 <table> 52 <table>
53 <tr><td>None</td></tr> 53 <tr><td>None</td></tr>
54 </table> 54 </table>
55 <h3>Class Methods</h3> 55 <h3>Class Methods</h3>
66 <td>Private method to set the enabled status of the context menu actions.</td> 66 <td>Private method to set the enabled status of the context menu actions.</td>
67 </tr><tr> 67 </tr><tr>
68 <td><a href="#StatusMonitorLed.__checkStatus">__checkStatus</a></td> 68 <td><a href="#StatusMonitorLed.__checkStatus">__checkStatus</a></td>
69 <td>Private slot to initiate a new status check.</td> 69 <td>Private slot to initiate a new status check.</td>
70 </tr><tr> 70 </tr><tr>
71 <td><a href="#StatusMonitorLed.__ledClicked">__ledClicked</a></td>
72 <td>Private slot to react upon clicks on the LED.</td>
73 </tr><tr>
71 <td><a href="#StatusMonitorLed.__projectVcsMonitorStatus">__projectVcsMonitorStatus</a></td> 74 <td><a href="#StatusMonitorLed.__projectVcsMonitorStatus">__projectVcsMonitorStatus</a></td>
72 <td>Private method to receive the status monitor status.</td> 75 <td>Private method to receive the status monitor status.</td>
73 </tr><tr> 76 </tr><tr>
74 <td><a href="#StatusMonitorLed.__setInterval">__setInterval</a></td> 77 <td><a href="#StatusMonitorLed.__setInterval">__setInterval</a></td>
75 <td>Private slot to change the status check interval.</td> 78 <td>Private slot to change the status check interval.</td>
77 <td><a href="#StatusMonitorLed.__switchOff">__switchOff</a></td> 80 <td><a href="#StatusMonitorLed.__switchOff">__switchOff</a></td>
78 <td>Private slot to switch the status monitor thread to Off.</td> 81 <td>Private slot to switch the status monitor thread to Off.</td>
79 </tr><tr> 82 </tr><tr>
80 <td><a href="#StatusMonitorLed.__switchOn">__switchOn</a></td> 83 <td><a href="#StatusMonitorLed.__switchOn">__switchOn</a></td>
81 <td>Private slot to switch the status monitor thread to On.</td> 84 <td>Private slot to switch the status monitor thread to On.</td>
85 </tr><tr>
86 <td><a href="#StatusMonitorLed.__vcsStateChanged">__vcsStateChanged</a></td>
87 <td>Private slot to handle a change in the vcs state.</td>
82 </tr><tr> 88 </tr><tr>
83 <td><a href="#StatusMonitorLed._showContextMenu">_showContextMenu</a></td> 89 <td><a href="#StatusMonitorLed._showContextMenu">_showContextMenu</a></td>
84 <td>Protected slot to show the context menu.</td> 90 <td>Protected slot to show the context menu.</td>
85 </tr> 91 </tr>
86 </table> 92 </table>
109 </p><a NAME="StatusMonitorLed.__checkStatus" ID="StatusMonitorLed.__checkStatus"></a> 115 </p><a NAME="StatusMonitorLed.__checkStatus" ID="StatusMonitorLed.__checkStatus"></a>
110 <h4>StatusMonitorLed.__checkStatus</h4> 116 <h4>StatusMonitorLed.__checkStatus</h4>
111 <b>__checkStatus</b>(<i></i>) 117 <b>__checkStatus</b>(<i></i>)
112 <p> 118 <p>
113 Private slot to initiate a new status check. 119 Private slot to initiate a new status check.
114 </p><a NAME="StatusMonitorLed.__projectVcsMonitorStatus" ID="StatusMonitorLed.__projectVcsMonitorStatus"></a> 120 </p><a NAME="StatusMonitorLed.__ledClicked" ID="StatusMonitorLed.__ledClicked"></a>
121 <h4>StatusMonitorLed.__ledClicked</h4>
122 <b>__ledClicked</b>(<i>pos</i>)
123 <p>
124 Private slot to react upon clicks on the LED.
125 </p><dl>
126 <dt><i>pos</i></dt>
127 <dd>
128 position of the click (QPoint)
129 </dd>
130 </dl><a NAME="StatusMonitorLed.__projectVcsMonitorStatus" ID="StatusMonitorLed.__projectVcsMonitorStatus"></a>
115 <h4>StatusMonitorLed.__projectVcsMonitorStatus</h4> 131 <h4>StatusMonitorLed.__projectVcsMonitorStatus</h4>
116 <b>__projectVcsMonitorStatus</b>(<i>status, statusMsg</i>) 132 <b>__projectVcsMonitorStatus</b>(<i>status, statusMsg</i>)
117 <p> 133 <p>
118 Private method to receive the status monitor status. 134 Private method to receive the status monitor status.
119 </p><dl> 135 </p><dl>
137 </p><a NAME="StatusMonitorLed.__switchOn" ID="StatusMonitorLed.__switchOn"></a> 153 </p><a NAME="StatusMonitorLed.__switchOn" ID="StatusMonitorLed.__switchOn"></a>
138 <h4>StatusMonitorLed.__switchOn</h4> 154 <h4>StatusMonitorLed.__switchOn</h4>
139 <b>__switchOn</b>(<i></i>) 155 <b>__switchOn</b>(<i></i>)
140 <p> 156 <p>
141 Private slot to switch the status monitor thread to On. 157 Private slot to switch the status monitor thread to On.
142 </p><a NAME="StatusMonitorLed._showContextMenu" ID="StatusMonitorLed._showContextMenu"></a> 158 </p><a NAME="StatusMonitorLed.__vcsStateChanged" ID="StatusMonitorLed.__vcsStateChanged"></a>
159 <h4>StatusMonitorLed.__vcsStateChanged</h4>
160 <b>__vcsStateChanged</b>(<i>state</i>)
161 <p>
162 Private slot to handle a change in the vcs state.
163 </p><dl>
164 <dt><i>state</i></dt>
165 <dd>
166 new vcs state (string)
167 </dd>
168 </dl><a NAME="StatusMonitorLed._showContextMenu" ID="StatusMonitorLed._showContextMenu"></a>
143 <h4>StatusMonitorLed._showContextMenu</h4> 169 <h4>StatusMonitorLed._showContextMenu</h4>
144 <b>_showContextMenu</b>(<i>coord</i>) 170 <b>_showContextMenu</b>(<i>coord</i>)
145 <p> 171 <p>
146 Protected slot to show the context menu. 172 Protected slot to show the context menu.
147 </p><dl> 173 </p><dl>

eric ide

mercurial