QPen::setWidth error in Tripple Oscillator

View: New views
4 Messages — Rating Filter:   Alert me  

QPen::setWidth error in Tripple Oscillator

by Nikos Chantziaras :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Most of the time, opening a Tripple Oscillator instrument will result in
a graphical glitch where some square areas of the widget are black (see
screenshot).  When that happens, this warning appears on stderr:

QPen::setWidth: Setting a pen width with a negative value is not defined

Screenshot is attached.


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
LMMS-devel mailing list
LMMS-devel@...
https://lists.sourceforge.net/lists/listinfo/lmms-devel

qpen_error.png (76K) Download Attachment

Re: QPen::setWidth error in Tripple Oscillator

by Bengt Gördén-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On söndag 27 september 2009 03:11:01 Nikos Chantziaras wrote:
> Most of the time, opening a Tripple Oscillator instrument will result in
> a graphical glitch where some square areas of the widget are black (see
> screenshot).  When that happens, this warning appears on stderr:
>
> QPen::setWidth: Setting a pen width with a negative value is not defined
>
> Screenshot is attached.


I'm not a LMMS developer but could this have something to do with the
transition from QT3 to QT4? QPen::setWidth was uint in QT<=3.3 and int in
QT>=4


/bengan

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
LMMS-devel mailing list
LMMS-devel@...
https://lists.sourceforge.net/lists/listinfo/lmms-devel

Re: QPen::setWidth error in Tripple Oscillator

by Paul Giblock-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This problem was caused when the names of the instrument classes were
changed to our new coding styles.

The CSS file referenced tripleOscillatorView but the class is now
called TripleOscillatorView.  I corrected the css files and pushed the
fix to git master.

-Paul

On Mon, Sep 28, 2009 at 4:21 AM, Bengt Gördén <bengan@...> wrote:

> On söndag 27 september 2009 03:11:01 Nikos Chantziaras wrote:
>> Most of the time, opening a Tripple Oscillator instrument will result in
>> a graphical glitch where some square areas of the widget are black (see
>> screenshot).  When that happens, this warning appears on stderr:
>>
>> QPen::setWidth: Setting a pen width with a negative value is not defined
>>
>> Screenshot is attached.
>
>
> I'm not a LMMS developer but could this have something to do with the
> transition from QT3 to QT4? QPen::setWidth was uint in QT<=3.3 and int in
> QT>=4
>
>
> /bengan
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> LMMS-devel mailing list
> LMMS-devel@...
> https://lists.sourceforge.net/lists/listinfo/lmms-devel
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
LMMS-devel mailing list
LMMS-devel@...
https://lists.sourceforge.net/lists/listinfo/lmms-devel

Re: QPen::setWidth error in Tripple Oscillator

by Andy Kelley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Cool, this has been bothering me for some time now. Glad to understand why it was happening.

On Mon, Sep 28, 2009 at 7:06 AM, Paul Giblock <drfaygo@...> wrote:
This problem was caused when the names of the instrument classes were
changed to our new coding styles.

The CSS file referenced tripleOscillatorView but the class is now
called TripleOscillatorView.  I corrected the css files and pushed the
fix to git master.

-Paul

On Mon, Sep 28, 2009 at 4:21 AM, Bengt Gördén <bengan@...> wrote:
> On söndag 27 september 2009 03:11:01 Nikos Chantziaras wrote:
>> Most of the time, opening a Tripple Oscillator instrument will result in
>> a graphical glitch where some square areas of the widget are black (see
>> screenshot).  When that happens, this warning appears on stderr:
>>
>> QPen::setWidth: Setting a pen width with a negative value is not defined
>>
>> Screenshot is attached.
>
>
> I'm not a LMMS developer but could this have something to do with the
> transition from QT3 to QT4? QPen::setWidth was uint in QT<=3.3 and int in
> QT>=4
>
>
> /bengan
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> LMMS-devel mailing list
> LMMS-devel@...
> https://lists.sourceforge.net/lists/listinfo/lmms-devel
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
LMMS-devel mailing list
LMMS-devel@...
https://lists.sourceforge.net/lists/listinfo/lmms-devel



--
Andy Kelley
Nuclear Development
http://nucleardev.com/

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
LMMS-devel mailing list
LMMS-devel@...
https://lists.sourceforge.net/lists/listinfo/lmms-devel