From: Carlos P. <cpa...@ce...> - 2017-06-14 11:47:43
|
Hi, Yes, but you need to use another widget called TaurusAttrForm : http://www.taurus-scada.org/en/latest/devel/api/taurus/qt/qtgui/panel/ _TaurusAttrForm.html Check the following (embarrassingly undocumented) methods: TaurusAttrForm.setExpertView(bool) TaurusAttrForm.setViewFilters(filterlist) TaurusAttrForm.getViewFilters() Note that while TaurusForm gets a list of attributes as its model (and then you would need to filter manually), TaurusAttrForm gets a device as its model. I hope this helped, Carlos PS: since a few months ago, the preferred channel for questions about Taurus is via github issues ( https://github.com/taurus-org/taurus/issues ) This mailing list will be used mostly for announcements. On Wednesday, June 14, 2017 11:43:51 AM CEST Alessandro Marassi wrote: > Is there a way to hide or display the "expert" attributes from a device > using taurusform? > > thanks, > alex > > ---------------------------------------------------------------------------- > -- Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Tauruslib-users mailing list > Tau...@li... > https://lists.sourceforge.net/lists/listinfo/tauruslib-users -- +----------------------------------------------------+ Carlos Pascual Izarra Scientific Software Coordinator Computing Division ALBA Synchrotron [http://www.albasynchrotron.es] Carrer de la Llum 2-26 E-08290 Cerdanyola del Valles (Barcelona), Spain E-mail: cpa...@ce... Phone: +34 93 592 4428 +----------------------------------------------------+ |