From: Marc R. <mro...@ce...> - 2018-01-23 07:29:49
|
Salut Pierre, I'm not sure that I have well understood your questions, correct me if I am giving answers to things that are not your questions. For the first point, after having created the GUI and after having created the panel with one variable, you shall do right click on the label of your variable present in the form panel (in my case the label is named 'short scalar': see 'change_write_widget' attachment), and select 'change write widget'; there you can change to WheelEdit. For the second point, from the GUI you have created, you shall go to the 'panel chooser', chose the option 'Other' at the end of the list of panels, and there you can select the module to be loaded as custom panel that you have created with Python (see: new_custom_panel.jpeg attachment). You can find info on that in: http://www.taurus-scada.org/en/latest/users/ui/taurusgui.html#creating-custom-panels I hope this infos will help you, Regards, marc On 01/22/18 18:06, Pierre Héricourt wrote: > Hello ! > > I'm a Tango Controls newbie and I'm trying to write some simple > control panels with Taurus. > > With the documentation, I'm able to write an interface with few lines > of Python and/or use 'taurusdesigner'. I can also play with > 'taurusgui' with success. > > But I ran into two difficulties with 'taurusgui' : > > - first : I can add 'variables' to form panel with 'panel chooser' but > I can't add writing facilities to these variables (like WheelEdit for > instance). The same try with only code is ok. > > - second : I'd like to extend 'taurusgui' by adding my own panel ... > Is it possible to change a simple solo widget (wrote from scratch in > Python or in Python+Designer) in a 'taurusgui' panel I could add to my > perspectives ? > > Many thanks to all ! > > Best regards > > Pierre > > > ------------------------------------------------------------------------------ > > 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 -- Marc Rosanes Siscart Computing & Control Division CELLS – ALBA ALBA Synchrotron Light Facility Carrer de la Llum 2-26 08290 Cerdanyola del Vallès, Barcelona (SPAIN) Tel: +34 93 592 40 41 Fax: +34 93 592 43 01 web page: http://www.cells.es/ |