[Clam-devel] Pixmap widgets on CLAM

David García Garzón dgarcia at iua.upf.edu
Mon Apr 9 01:07:49 PDT 2007


Well i wanted to mail him my self personally so i can comment out some issues 
on deploying his svn code, and proposing him distributing pk and the plugin 
in a way we can build depend on it (debs, rpms and the like). But now that 
you forwarded the mail... hello, patrick :-) I'll mail you later. Or let's 
talk at #clam at freenode.irc.net

You get red background because I did some experiments to put it on #777 until 
i realized that the dark style i am using overwrittes background color on 
QFrame's. When I realized about the style effect, i forgot to remove the 
stylesheet. Hey, is not that ugly ;-) The other difference i was aware of is 
the BarGraph outline which is black while in mine is white unless otherwise 
specified on the stylesheet 'color'.

About the sliders, i think i fixed that, try the last svn version, and if 
still not working, warn me.


On Dilluns 09 Abril 2007, Pau Arumi wrote:
> david this is terrific news! i've tried the fun.ui and the new uis looks
> fantastic, and its movement (push button) looks also really good :-)
>
> i'm ccing patrick so he is aware of our last achievements of visual
> prototyping with his widgets using qt-designer and clam network-editor.
>
> and i think you forgot to mention the ost important: there are
> screenshots!
>
> http://iua-share.upf.edu/wikis/clam/index.php/Development_screenshots
>
> i've added a screenshot so you can see how it looks here. the window
> background appears red. why?
> and last, maybe this is a known issue: sliders didn't appear till i drag
> them.
>
> pau
>
> En/na David García Garzón ha escrit:
> > CLAM commits up to 9977 are about pixmap widgets. Pixmap widgets in CLAM
> > are a C++ implementation of the nice Patrick Kidd's PKSampler widgets
> > which were python code. I am also using some of his pixmaps. They weight
> > a lot, and i would prefer to generate them with pov but i couldn't setup
> > pk in my box as some files are broken on their svn.
> >
> > A part from the C++ port, i also integrated the widgets into the CLAM
> > Designer plugin and added them some configurability using properties.
> >
> > Be carefull, don't rely too much on these widgets as they are likely to
> > change.
> >
> > Ok, so what you could do with that? Use the QPixmapRange to create an
> > slider/knob to control a CLAM parameter just as we were doing with plain
> > sliders and knobs. You can use the basePath property to set the base name
> > of the pixmap collection. I added to the resource images several usable
> > pixmap.
> >
> > so for example by setting it to several values as:
> > :/pkwidgets/knob_
> > :/pkwidgets/thinMixerSlider_
> > :/pkwidgets/wideMixerSlider_
> > :/pkwidgets/searchSlider_
> >
> > If you can manage to get a different collection of frames just put the
> > relative file path to try it.
> >
> > You also have QPixmapButton which just have a 3 frames animations but the
> > full frame collection contains severals colors or models you can change
> > by
> >
> > changing an integer property. Two collections here:
> > :/pkwidgets/button_
> > :/pkwidgets/thinButton_
> >
> > Lot's of TODO's here.
> > - Check which functionalities Pk added since i ported the widgets 1 year
> > ago. - Derive several concrete widgets and a configurable one from a
> > common base class.
> > - Enhance the pixmap collection selection (i tried to use a pixmap
> > property which provides a convenient dialog, but apparently you cannot
> > access the file you loaded a pixmap so i cannot deduce the rest of the
> > pixmap to be loaded) - Port/implement other widgets (leds, unbounded and
> > returning wheels, 7segments, cycle buttons...)
> > - Include Maarten pixmap widgets?
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > 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



-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
(Home) vokimon at telefonica adot net
http://www.iua.upf.edu/~dgarcia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20070409/12ca5b3a/attachment-0003.pgp>


More information about the clam-devel mailing list