This is not directly related.
Actually they use style-sheets (/usr/local/include/faust/gui/Styles).
I overlooked that the default-style-sheet is not "default.qss" but "grey.qss". By that style-sheet-file it is easy to change a lot of options. The style-sheet-file used can be changed within file:///usr/local/include/faust/gui/faustqt.h and therefore even a new style-sheet-file can be used.
Thank you for yout help
Paul Hoffmann
Sent: Thursday, January 05, 2017 at 7:44 AM
From: "Julius Smith" <j...@ccrma.stanford.edu>
To: "Paul Hoffmann" <paul.hoffm...@mail.com>
Subject: Re: [Faudiostream-devel] bargraph
From: "Julius Smith" <j...@ccrma.stanford.edu>
To: "Paul Hoffmann" <paul.hoffm...@mail.com>
Subject: Re: [Faudiostream-devel] bargraph
That's a Qt question and my experience with that is pretty much zero.
I imagine you found this in the file you cite:
dbBargraph(FAUSTFLOAT lo, FAUSTFLOAT hi) : dbAbstractDisplay(lo,hi) { QFont f = this->font(); f.setPointSize(6); this->setFont(f); fBackColor = QBrush(QColor(20,20,20)); } };
The same API should work on the groups, more or less.- JuliusOn Wed, Jan 4, 2017 at 4:12 AM, Paul Hoffmann <paul.hoffm...@mail.com> wrote:Thank you for your help. I found some options to customize layout of the bargraph infile:///usr/local/include/faust/gui/faustqt.hBut unfortunately I did not find how to customize the size of label of a hgroup(() or vgroup(). Now bargraphs have correct size but the font-size of groups' labels are much to big. Can you give me a hint where I can edit font-size and font-weight of groups' labels.Thank youPaul HoffmannSent: Sunday, January 01, 2017 at 2:06 AM
From: "Julius Smith" <j...@ccrma.stanford.edu>
To: "Paul Hoffmann" <paul.hoffm...@mail.com>
Cc: "faudiostream-devel@lists.sourceforge.net" <faudiostream-devel@lists.sourceforge.net>
Subject: Re: [Faudiostream-devel] bargraphHi Paul,
This stuff is handled in the architecture files. You can take a look
at the source to (1) see what all is supported now for various cases,
and (2) see how to add whatever you want to the case you need.
Cheers,
- Julius
On Sat, Dec 31, 2016 at 2:09 AM, Paul Hoffmann <paul.hoffm...@mail.com> wrote:
> Hello,
> are there any features/metadata to customize the bargraph-widget? I learned
> that there is a nice layout when using [unit:dB] but it would be nice if it
> could be customized more. For example I would like to remove the
> level-text-box that is always visible with the vbargraph, change font-size
> or would like to align bargraph display and name. It would also be nice if
> the db-scale that is displayed within the bargraph could be moved to the
> right side outside the bargraph and that the ticks of the scale could be
> adjusted to the actual size of the bargraph.
>
> Thank for the help
> Paul Hoffmann
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Faudiostream-devel mailing list
> Faudiostream-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-devel
>
--
Julius O. Smith III <j...@ccrma.stanford.edu>
Professor of Music and, by courtesy, Electrical Engineering
CCRMA, Stanford University
http://ccrma.stanford.edu/~jos/--Julius O. Smith III <j...@ccrma.stanford.edu>
Professor of Music and, by courtesy, Electrical Engineering
CCRMA, Stanford University
http://ccrma.stanford.edu/~jos/
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________ Faudiostream-devel mailing list Faudiostream-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-devel