[Qt-interest] Qt-interest Digest, Vol 6, Issue 32

Stefanos Antaris santaris at csd.auth.gr
Tue May 5 09:28:03 CEST 2009


qt-interest-request at trolltech.com wrote:
> Send Qt-interest mailing list submissions to
> 	qt-interest at trolltech.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.trolltech.com/mailman/listinfo/qt-interest
> or, via email, send a message with subject or body 'help' to
> 	qt-interest-request at trolltech.com
>
> You can reach the person managing the list at
> 	qt-interest-owner at trolltech.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Qt-interest digest..."
>
>
> Today's Topics:
>
>    1. Re: show the needle of the compass (Murphy, Sean M.)
>    2. Re: newbie:facing issues with readallstdoutput and	QProcess
>       (Thiago Macieira)
>    3. Re: newbie:facing issues with readallstdoutput	andQProcess
>       (Thiago Macieira)
>    4. buggy QDomElement (Pascal Patry)
>    5. Re: buggy QDomElement (Thiago Macieira)
>    6. Re: buggy QDomElement (Pascal Patry)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 4 May 2009 14:48:20 -0400
> From: "Murphy, Sean M." <sean.murphy at gd-ais.com>
> Subject: Re: [Qt-interest] show the needle of the compass
> To: <qt-interest at trolltech.com>
> Message-ID:
> 	<B98F7BFA2A56C94E8279DDEFF9BBB15F0190B0BC at miaa01-mail01.ad.gd-ais.com>
> Content-Type: text/plain;	charset="us-ascii"
>
>   
>> Matthias Pospiech wrote:
>>     
>>> Stefanos Antaris schrieb:
>>>       
>>>> Hello.I try to make a compass.I didn't manage to install the qwt
>>>> libraries on my Mac so i just took all the header files and the cpp
>>>> files and i put them into my qt application.So i have made a
>>>> QwtCompass and i can't show the needle of the compass.Can anyone
>>>>         
>> help
>>     
>>>> me?I have made an QwtCompass object but i don't know what do i have
>>>> to do next.Moreover can i change the needle size?
>>>>
>>>>         
>>> As far as I understand you, you have enabled qwt by included the
>>>       
>> whole
>>     
>>> code in your application and you do not need
>>> to integrate the libary. Then everything which qwt allows should
>>>       
>> work.
>>     
>>> If you want to change the apperiance, have you looked into the dials
>>> example and looked into the documentation of the used classes?
>>>
>>> I have not looked into the code, but the documentation has function
>>> like this one:
>>>
>>> void QwtDialSimpleNeedle::drawArrowNeedle      (
>>>        QPainter *        painter,
>>>        const QPalette &      palette,
>>>        QPalette::ColorGroup      colorGroup,
>>>        const QPoint &      center,
>>>        int      length,
>>>        int      width,
>>>        double      direction,
>>>        bool      hasKnob        )
>>>
>>> hope that helps.
>>>
>>> Matthias
>>>
>>>       
>> I tried to install the qwt libraries on my Mac and i didn't manage
>> it.So
>> i took the code of qwt and i put it into my qt application in order to
>> use it.Ok.I found this function too.But i don't know which parameteres
>> should i pass.Which painter,palette,etc.This is my problem.
>>     
>
> As I said in an earlier email, I'd really suggest you figure out why you
> had trouble getting Qwt to work on your Mac in the first place, instead
> of trying to paste Qwt code into your code, and then trying to figure
> out why your hacked together version isn't working correctly.  Qwt DOES
> work on a Mac, I have it working on my Mac, and is usually works out of
> the box, once you properly bundle the Qwt libraries into your
> application bundle.
>
> Sean
>   

I know that this is what i should do.But now i have to make an 
application with a compass because there is a dead line on my project.So 
i don't have any time to make it work.Of course my next step is to make 
i work without having all the header files and the cpp files on my 
project.But now i don't have any time.
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 4 May 2009 21:14:21 +0200
> From: Thiago Macieira <thiago.macieira at trolltech.com>
> Subject: Re: [Qt-interest] newbie:facing issues with readallstdoutput
> 	and	QProcess
> To: qt-interest at trolltech.com
> Message-ID: <200905042114.35341.thiago.macieira at trolltech.com>
> Content-Type: text/plain; charset="iso-8859-15"
>
> Em Segunda-feira 04 Maio 2009, ?s 19:20:12, john doe escreveu:
>   
>> Thanks for the answer :-), the problem is though if I try to run python -h,
>> I can see the output, but python --version won't work.!!!! I can't figure
>> out why a particular flag works and the other one does not!
>>     
>
> That's not a Qt issue. It's a Python issue:
>
> $ python -h >/dev/null
> $ python --version >/dev/null
> Python 2.6.1
>
> One option prints to stdout, the other option prints to stderr. It's up to you 
> to determine which channel the information you're interested is in.
>
> Or, another option, is to use MergedChannels.
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090505/2ee794aa/attachment.html 


More information about the Qt-interest-old mailing list