1
<?xml version="1.0" encoding="utf-8"?>
2
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
5
<title>eric4.VCS.StatusMonitorLed</title>
9
margin: 0em 1em 10em 1em;
13
h1 { color: white; background: #4FA4FF; }
14
h2 { color: white; background: #4FA4FF; }
15
h3 { color: white; background: #00557F; }
16
h4 { color: white; background: #00557F; }
22
<body><a NAME="top" ID="top"></a>
23
<h1>eric4.VCS.StatusMonitorLed</h1>
25
Module implementing a LED to indicate the status of the VCS status monitor thread.
30
<td><a href="#StatusMonitorLed">StatusMonitorLed</a></td>
31
<td>Class implementing a LED to indicate the status of the VCS status monitor thread.</td>
36
<tr><td>None</td></tr>
39
<a NAME="StatusMonitorLed" ID="StatusMonitorLed"></a>
40
<h2>StatusMonitorLed</h2>
42
Class implementing a LED to indicate the status of the VCS status monitor thread.
49
<td><a href="#StatusMonitorLed.__init__">StatusMonitorLed</a></td>
52
<td><a href="#StatusMonitorLed.__checkActions">__checkActions</a></td>
53
<td>Private method to set the enabled status of the context menu actions.</td>
55
<td><a href="#StatusMonitorLed.__checkStatus">__checkStatus</a></td>
56
<td>Private slot to initiate a new status check.</td>
58
<td><a href="#StatusMonitorLed.__projectVcsMonitorStatus">__projectVcsMonitorStatus</a></td>
59
<td>Private method to receive the status monitor status.</td>
61
<td><a href="#StatusMonitorLed.__setInterval">__setInterval</a></td>
62
<td>Private slot to change the status check interval.</td>
64
<td><a href="#StatusMonitorLed.__switchOff">__switchOff</a></td>
65
<td>Private slot to switch the status monitor thread to Off.</td>
67
<td><a href="#StatusMonitorLed.__switchOn">__switchOn</a></td>
68
<td>Private slot to switch the status monitor thread to On.</td>
70
<td><a href="#StatusMonitorLed._showContextMenu">_showContextMenu</a></td>
71
<td>Protected slot to show the context menu.</td>
74
<p><a NAME="StatusMonitorLed.__init__" ID="StatusMonitorLed.__init__"></a>
75
<h4>StatusMonitorLed (Constructor)</h4>
76
<b>StatusMonitorLed</b>(<i>project, parent</i>)
80
<dt><i>project</i></dt>
82
reference to the project object (Project.Project)
83
</dd><dt><i>parent</i></dt>
85
reference to the parent object (QWidget)
87
</dl><a NAME="StatusMonitorLed.__checkActions" ID="StatusMonitorLed.__checkActions"></a>
88
<h4>StatusMonitorLed.__checkActions</h4>
89
<b>__checkActions</b>(<i></i>)
91
Private method to set the enabled status of the context menu actions.
92
</p><a NAME="StatusMonitorLed.__checkStatus" ID="StatusMonitorLed.__checkStatus"></a>
93
<h4>StatusMonitorLed.__checkStatus</h4>
94
<b>__checkStatus</b>(<i></i>)
96
Private slot to initiate a new status check.
97
</p><a NAME="StatusMonitorLed.__projectVcsMonitorStatus" ID="StatusMonitorLed.__projectVcsMonitorStatus"></a>
98
<h4>StatusMonitorLed.__projectVcsMonitorStatus</h4>
99
<b>__projectVcsMonitorStatus</b>(<i>status, statusMsg</i>)
101
Private method to receive the status monitor status.
103
<dt><i>status</i></dt>
105
status of the monitoring thread (QString, ok, nok or off)
106
</dd><dt><i>statusMsg</i></dt>
108
explanotory text for the signaled status (QString)
110
</dl><a NAME="StatusMonitorLed.__setInterval" ID="StatusMonitorLed.__setInterval"></a>
111
<h4>StatusMonitorLed.__setInterval</h4>
112
<b>__setInterval</b>(<i></i>)
114
Private slot to change the status check interval.
115
</p><a NAME="StatusMonitorLed.__switchOff" ID="StatusMonitorLed.__switchOff"></a>
116
<h4>StatusMonitorLed.__switchOff</h4>
117
<b>__switchOff</b>(<i></i>)
119
Private slot to switch the status monitor thread to Off.
120
</p><a NAME="StatusMonitorLed.__switchOn" ID="StatusMonitorLed.__switchOn"></a>
121
<h4>StatusMonitorLed.__switchOn</h4>
122
<b>__switchOn</b>(<i></i>)
124
Private slot to switch the status monitor thread to On.
125
</p><a NAME="StatusMonitorLed._showContextMenu" ID="StatusMonitorLed._showContextMenu"></a>
126
<h4>StatusMonitorLed._showContextMenu</h4>
127
<b>_showContextMenu</b>(<i>coord</i>)
129
Protected slot to show the context menu.
131
<dt><i>coord</i></dt>
133
the position of the mouse pointer (QPoint)
136
<div align="right"><a href="#top">Up</a></div>
b'\\ No newline at end of file'