70 |
|
|
71 |
clockOverlay = new ClockOverlay(this); |
clockOverlay = new ClockOverlay(this); |
72 |
clockOverlay->move(10,10); |
clockOverlay->move(10,10); |
73 |
clockOverlay->resize(100,50); |
clockOverlay->resize(150,75); |
74 |
|
|
75 |
|
|
76 |
|
|
249 |
} |
} |
250 |
|
|
251 |
if (lastScreenSwitch.isNull() || lastScreenSwitch.elapsed() > (currentItem.runtime*1000)) { |
if (lastScreenSwitch.isNull() || lastScreenSwitch.elapsed() > (currentItem.runtime*1000)) { |
|
|
|
252 |
QTime now = QTime::currentTime(); |
QTime now = QTime::currentTime(); |
253 |
if (lastScreenSwitch.isNull()) |
if (lastScreenSwitch.isNull()) |
254 |
currentItemIdx = -1; |
currentItemIdx = -1; |
296 |
|
|
297 |
} else { |
} else { |
298 |
errorInfoScreen("Der er ingen information at vise"); |
errorInfoScreen("Der er ingen information at vise"); |
299 |
|
currentItem = ScreenItem(); |
300 |
|
currentItem.runtime = 60; //switch screens again in 1 minute |
301 |
} |
} |
302 |
lastScreenSwitch = QTime::currentTime(); |
lastScreenSwitch = QTime::currentTime(); |
303 |
|
|