QTango:
a Qt and Tango framework
Vincenzo Forchì - vincenzo.forchi@elettra.trieste.it

QTango: What is it?

QtControls

Ttk

Qtango is Built on top of 2 libs:

Ttk: C++ lib that manages proxies and reading threads;

QtControls: Qt lib of custom widgets.

Tango

Qt

Goal: integrate Tango and Qt:

QTango

QTango: What is it? (2)

QTango features:

manages connections to devices;

manages reading and writing threads;

automatically subscribes to events or polls attributes

polls commands with return value (and eventually an input value)

configurable polling period for each attribute/command polled;

includes a set of custom widgets to read/write attributes/commands;

automatically manages logs.

QTango: UML model

QTango: Usage

Very simple usage:

ex: for a scalar viewer:

TscalarViewer *sv = new TscalarViewer(this);

/* for attributes */

sv->setSource(“TangoTest/1/1/short_scalar”);

/* for commands with return value */

sv->setSource(“TangoTest/1/1->state”);

Sample application with log window:

Integration with Qt designer:

QTango: TODO

Lots of widgets, especially for spectrum controllers;

support for asynch calls;

QTango is currently a beta version, so it needs a lot of debug and testing;

any suggestion is welcome.

QTango:

Thanks to:

Claudio Scafuri

2005-05-19T09:31:50