Projekt

Allgemein

Profil

Feature #320

Von Maximilian Seesslen vor etwa 2 Jahren aktualisiert

For documentation some screenshots are needed. In the Qt way there is an Ui-class which with an setupUi(QWidget *).
In ocelli there can be nearly the same which instanciates itself into an display/ocelli-instance.

There can be an alternative "display" which actually implements the drawing functions on an Qt display.

<pre><code class="cpp">
class CQtDisplay: public CGDisplay {};
CQtDisplay display;
COcelli o;
o.setDisplay(display);
UIMinutnik uiMinutnik;
uiMinutnik.setupUi(o);
CScreen *screenClock=new( CScreenClock );
o.addScreen(screenClock);
display.save("main");
</code></pre>

For icons the flash-class has to be implemented to use an file backend.

Zurück