Quantcast

[Qutecsound-users] Where is the user interface info stored?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Qutecsound-users] Where is the user interface info stored?

Mark Brophy
I want to create a widget layout with a program using one of the examples as a starting point, button_widget.csd. Where is the .ui or .py stored? How does CsoundQt know where to place widgets?
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] Where is the user interface info stored?

Andres Cabrera
Administrator
Hi Mark,

CsoundQt currently uses its own format, which is stored as xml within the csd file. Tarmo recently posted some information on how to create interfaces with QtDesigner on the main Csound list (or was it this list?)

The details of the xml format are here:

http://sourceforge.net/apps/mediawiki/qutecsound/index.php?title=Xml_Widget_Format

Cheers,
Andrés


On Mon, Jul 1, 2013 at 6:28 AM, Mark Brophy <[hidden email]> wrote:
I want to create a widget layout with a program using one of the examples as a starting point, button_widget.csd. Where is the .ui or .py stored? How does CsoundQt know where to place widgets?
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] Where is the user interface info stored?

Tarmo Johannes
In reply to this post by Mark Brophy

Hi Mark,

 

Yes, you can create or influence the widgets a great deal for a script or even by python command in your csd. But you hardly need to touch the xml part of the csd file that Andrés mentioned in the previous mail.

 

If your CsoundQt is compiled with Python Qt support (if you can see python console and scratchpad), you can reach almost all properties via the QuteCsoundPython object defined as q

like

 

q.createNewSlider(10,10,"level",q.getDocument("test.csd"))

 

or change some of its properties:

q.setWidgetProperty( "partial0", "QCS_y", q.getWidgetProperty("partial0","QCS_y")+200 )

 

There is a lot of information and examples about the python API on

http://sourceforge.net/apps/mediawiki/qutecsound/index.php?title=Python_API_in_CsoundQt#Creation

 

greetings,

tarmo

 

On Monday 01 July 2013 07:28:21 Mark Brophy wrote:

I want to create a widget layout with a program using one of the examples as a starting point, button_widget.csd. Where is the .ui or .py stored? How does CsoundQt know where to place widgets?




------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Loading...