44 """ status of the VCS monitor thread (off = monitoring off,""" |
44 """ status of the VCS monitor thread (off = monitoring off,""" |
45 """ green = monitoring on and ok, red = monitoring on, but not ok,""" |
45 """ green = monitoring on and ok, red = monitoring on, but not ok,""" |
46 """ yellow = checking VCS status). A status description is given""" |
46 """ yellow = checking VCS status). A status description is given""" |
47 """ in the tooltip.</p>""" |
47 """ in the tooltip.</p>""" |
48 )) |
48 )) |
49 self.setToolTip(\ |
49 self.setToolTip( |
50 self.trUtf8("Repository status checking is switched off") |
50 self.trUtf8("Repository status checking is switched off") |
51 ) |
51 ) |
52 self.setColor(self.vcsMonitorLedColors["off"]) |
52 self.setColor(self.vcsMonitorLedColors["off"]) |
53 |
53 |
54 # define a context menu |
54 # define a context menu |
114 |
114 |
115 def __setInterval(self): |
115 def __setInterval(self): |
116 """ |
116 """ |
117 Private slot to change the status check interval. |
117 Private slot to change the status check interval. |
118 """ |
118 """ |
119 interval, ok = QInputDialog.getInteger(\ |
119 interval, ok = QInputDialog.getInteger( |
120 None, |
120 None, |
121 self.trUtf8("VCS Status Monitor"), |
121 self.trUtf8("VCS Status Monitor"), |
122 self.trUtf8("Enter monitor interval [s]"), |
122 self.trUtf8("Enter monitor interval [s]"), |
123 self.project.getStatusMonitorInterval(), |
123 self.project.getStatusMonitorInterval(), |
124 0, 3600, 1) |
124 0, 3600, 1) |