Skip to main content
Jloda.11
Associate
November 29, 2021
Question

how to update wildcard in a custom container from the model?

  • November 29, 2021
  • 1 reply
  • 1362 views

So I have a custom container that has a wildcard for updating time and date from an RTC.

My question is how do I update the wildcard from the model without going through each screens presenter and viewer since I have 40 screens.

This topic has been closed for replies.

1 reply

MM..1
Super User
November 29, 2021

Your idea isnt possible

Maybe you can create self updated component and register to tick handler

Application::getInstance()->registerTimerWidget(this);

And create

void Component::handleTickEvent()
{
if (count++==40)
 {
 count=0;
 // showed
 getrtcdata
 xxxx.show(rtc...);
 }
}