QTango (Interface)

To whom it concern,

I am actually using the QTango designer but, first I started using only the QTdesigner with some widget in QTango used to call the attributes and the commands for the devices, in this designer I made a initial interface which work correctly, the problem start when I decided to use qtcreator, when I trying to run this interface into this compiler it give me an error.

ELabel: No such file or directory

I’ll so much appreciate any help with this matter.

Sincerely,
Marina Vela

Good afternoon marina.
Perhaps you forgot the “include” directive in the .pro Qt project file.

Supposing your installation of qtango is in

/usr/local/qtango

then you must include at the beginning of your project .pro file the following line:

include(/usr/local/qtango/include/qtango6/qtango.pri)

This should fix your issue, because qtango.pri contains the include directories and library linking
instructions for every qtango project.

Giacomo.

I did not use any ELaben in the interface that I design.

Thanks so much fr your fast answer, actually I did and it work well now. But since it is my first time I use QTango, now I have another questions about the QTango. Previously I used TAURUS but I am seeing these are different.

Maybe you used TLabel, which includes ELabel, which is first not found…

G.

Thanks so much fr your fast answer, actually I did and it work well now. But since it is my first time I use QTango, now I have another questions about the QTango. Previously I used TAURUS but I am seeing these are different.

Sorry for this message I was writing another one and I do not know what happen, just forget it please.

I’ll be start for a simple question and now that I see you are available. In QTdesigner when I use a windows widget it give me the option to set up it as invisible to not appear in the interface until it will be call.

I do not find this option in the QTcreator, Should I do this by programming?

MVN

Hello,
you have to call setVisible(bool) or setHidden(bool) on the object by hand.

In .cpp file, supposing your widget is a QPushButton:

ui.pushButton->setVisible(false);

If you have to hide many widgets at once, group them into a parent QWidget and hide the parent instead.
The parent hides its children as well.

Giacomo.

Thanks so much again it works well now. But now I have another question, it is about this designed widget that I am doing. Maybe there is something already implemented in QTango to let me call a widget with the extra-information for the attributes. This information was given to the device when the device was created using POGO.

I hope it is clear enough other way I’ll send some photos.

Thanks again,
MVN

Thanks so much for you support Giacomo, I really appreciate it.

Actually I like more QTango that Taurus, I think it is more complete framework for develop interfaces.

Sincerely,
MVN