[PyQt] image tool like paint

vidyadhar ankurtilve2003 at yahoo.com
Sat Aug 29 07:26:33 BST 2009


where can i get eric4 snapshot and where can i find repository??
thanks for your help


Detlev Offenbach wrote:
> 
> Hi,
> 
> the next eric4 snapshot (and already in the repository) will contain a
> little 
> icon editor tool. I think it already does a bunch of what you are trying
> to 
> implement.
> 
> Regards,
> Detlev
> 
> On Freitag, 28. August 2009, vidyadhar wrote:
>> i have implemented the pen feature but i am finding it diffucult for
>> drawing shapes like rectangle and lines on mouse movements..
>> attached here is my code...
>> also i have very little help available , any help will be appreciated.
>>
>> thanks
>>
>> Jason H-3 wrote:
>> > It is relatively easy. You need a QWidget-detived widget that will
>> > collect mouse up/down events and store pixel data. Color is set by
>> > setting a pen via a toolbar. After that you can incorporate
>> zoom/scaling
>> > and additional tools.
>> >
>> > Some of the questions though are do you want it to be raster (as above)
>> > or vector, like Inkscape? Vector is a little more tricky, but the same
>> > basic concept.
>> >
>> > Good Luck!
>> >
>> >
>> >
>> >
>> > ----- Original Message ----
>> > From: vidyadhar <ankurtilve2003 at yahoo.com>
>> > To: pyqt at riverbankcomputing.com
>> > Sent: Tuesday, August 18, 2009 9:16:05 AM
>> > Subject: [PyQt] image tool like paint
>> >
>> >
>> > i have no idea as how to go about for devloping an application similar
>> to
>> > paint the one in windows. the one which has a pen tool, eraser,shapes
>> to
>> > draw. I would like to use the tool to highlight an area on picture.
>> > so anyone has any idea how to use Qpainter class .
>> > please help me with an example if possible. or how to go abt
>> > --
>> > View this message in context:
>> > http://www.nabble.com/image-tool-like-paint-tp25024632p25024632.html
>> > Sent from the PyQt mailing list archive at Nabble.com.
>> >
>> > _______________________________________________
>> > PyQt mailing list    PyQt at riverbankcomputing.com
>> > http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > PyQt mailing list    PyQt at riverbankcomputing.com
>> > http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>>
>> http://www.nabble.com/file/p25184293/myscribble.py myscribble.py
> 
> 
> 
> -- 
> Detlev Offenbach
> detlev at die-offenbachs.de
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> 
> 

-- 
View this message in context: http://www.nabble.com/image-tool-like-paint-tp25024632p25200394.html
Sent from the PyQt mailing list archive at Nabble.com.



More information about the PyQt mailing list