[Clam-devel] Improving Faust usability

Pau Arumí parumi at iua.upf.edu
Sat Jul 19 01:18:18 PDT 2008


On ds, 2008-07-19 at 02:30 -0300, Natanael Olaiz wrote:
> El 07/18/2008 07:16 PM, Pau Arumí escribió:
> > I'm thinking in some changes that could make faust a bit more usable.
> >
> >       * Change the "gear" icon for the command shortcut, which is
> >         repeated from the prototyper one. One idea is composing the
> >         faust logo with a gear (i.e. the logo on the back)
> >   
> Commited. I don't like it... but is something for now... Here is the 
> original svg attached (48x48px gear.png in front, faustlogo.svg in the 
> middle and a transparent square frame behind)
> 
> >       * Change the compilation workflow. Now you press "compile"->
> >         window pops up asking if you want to continue -> do stuff in the
> >         bottom panel -> window pops up saying "finished"
> >         
> >         Why not: press compile -> the progress panel have a "cancel"
> >         button -> finishes and the "cancel" button turns into a "close"
> >         button.
> >         
> >         Also with a close button we could disable the timed panel exit.
> >         Users may want to examine the console output. 
> >   
> I like the idea.
> > What do you think? Maybe dynamically adding buttons is hard? An
> > alternative would be to have both buttons all the time but only one is
> > enabled at a time.
> >   
> I'll try it.
> 
> BTW, I tried to dinamically add visual objects with the todo: 'search 
> bar' on the processings tree... but the automatically generated layout 
> is really ugly. In that cases, do you think is better to deal with that 
> managing the layout by the code, or use an externally defined widget?

I'd do it by code, using layouts. Here goes an example with a similar
layout. It's pyqt4 but the qt usage is the same.

		self.ok = QPushButton('Choose and Close')
		self.cancel = QPushButton('Cancel')
		buttonbox = QHBoxLayout()
		buttonbox.addStretch(1)
		buttonbox.addWidget( self.cancel )
		buttonbox.addWidget( self.ok )

		mainbox = QVBoxLayout()
		mainbox.addLayout( consolewidget )
		mainbox.addLayout(buttonbox)
		self.setLayout(mainbox)

Probably the hardest thing to do will be stopping the running process...

P


> > Natanael, take the task if you feel like it (or discuss the idea, of
> > course). The functionality is already there, so no need to hurry.
> >  
> No problem. But I want to, it's really annoying the timer when you want 
> to see what happened :)
> > P
> >
> >
> > _______________________________________________
> > Clam-devel mailing list
> > Clam-devel at llistes.projectes.lafarga.org
> > https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel
> >
> >   
> 
> _______________________________________________
> Clam-devel mailing list
> Clam-devel at llistes.projectes.lafarga.org
> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel





More information about the clam-devel mailing list