EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2012  2013  2014  <20152016  2017  2018  2019  Index 2012  2013  2014  <20152016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: Re: edl2ui - Byte and ChoiceButton mapped
From: "Monteiro Carvalho, Lucas Jose" <[email protected]>
To: "Williams Jr., Ernest L." <[email protected]>, Wang Zai Huai <[email protected]>, "Babbitt, Alisha" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wed, 10 Jun 2015 06:48:36 +0000
Hi all,

I replaced given files, rebuilt caQtDM and was able to convert an .edm file I made with new covered widgets. However, it seems that some properties are not being converted, such as background color.

Attached, I am sending the original .edm screen and the .ui generated. 

Also, when I executed edl2ui, I got this output:

lucas@lucas-virtual-machine:~/QtDm/caQtDM_Binaries$ ./edl2ui ../screens/newWidgets.edl 

edl2ui -- file = <../screens/newWidgets.edl>
edl2ui -- file <stylesheet.qss> found and will be integrated in the resulting ui file
edl2ui -- if you do not want any styles, redefine CAQTDM_DISPLAY_PATH
read in file <../screens/newWidgets.edl>
major=4 minor=0 release=1
Cannot find tag: lineColor, near line 75 
Cannot find tag: onColor, near line 76 
Cannot find tag: offColor, near line 77 
Cannot find tag: inconsistentColor, near line 111 
Cannot find tag: indicatorPv, near line 115 

Thank you,
Lucas.

________________________________________
From: [email protected] <[email protected]> on behalf of Williams Jr., Ernest L. <[email protected]>
Sent: Tuesday, June 9, 2015 2:03 AM
To: Wang Zai Huai; Babbitt, Alisha
Cc: [email protected]; Lucas J Monteiro Carvalho; Williams Jr., Ernest L.
Subject: RE: edl2ui - Byte and ChoiceButton mapped

Hi Zai and team,

Zai, thanks for doing this work !! :)
We will test this ASAP.

Can we make the tool an independent release of caQtDM?
So, that we can modify it more easily without changing the version or release of caQtDM?

Since, we will be doing more work on this edl2ui it will be more efficient.

Anton, how can we decouple this tool from the caQtDM source tree?


For now, looks like I should copy the new files into my current source tree and rebuild?


Cheers,
Ernest
________________________________________
From: Wang Zai Huai [[email protected]]
Sent: Sunday, June 7, 2015 6:47 AM
To: Babbitt, Alisha; Williams Jr., Ernest L.
Cc: [email protected]; [email protected]
Subject: edl2ui - Byte and ChoiceButton mapped

Hi Alisha and Ernest,

I have modified code of the edi2ui tool to map EDM ByteClass and ChoiceButtonClass to caQtDM caByte and caChoice  widget. I have done some testing to see these two  widgets on the Qt ui screen.

•List of unsupported edm classes by edl2ui:
–"TextupdateClass“                                   covered
–"activeGroupClass“
–"activeChoiceButtonClass"                    covered
–"activeXTextDspClass:noedit"               covered
–"activeFreezeButtonClass"
–"ByteClass"                                               covered
–"activeSymbolClass"

The files changed are attached there for you to try. Hope that helps your EDM replacement project.


Cheers


Zai

Attachment: after.jpg
Description: after.jpg

Attachment: before.jpg
Description: before.jpg


References:
RE: edl2ui - Byte and ChoiceButton mapped Williams Jr., Ernest L.

Navigate by Date:
Prev: RE: epicsQt-R3-1-0: Build Experience Andrew Rhyder
Next: RE: epicsQt-R3-1-0: Build Experience Williams Jr., Ernest L.
Index: 2012  2013  2014  <20152016  2017  2018  2019 
Navigate by Thread:
Prev: RE: edl2ui - Byte and ChoiceButton mapped Williams Jr., Ernest L.
Next: Set caLabel visible Monteiro Carvalho, Lucas Jose
Index: 2012  2013  2014  <20152016  2017  2018  2019 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·