Frank Stüss schrieb:
>>I'm not sure if that's really what you want, but if you'd like to use
>>qt-designer and hand-coded additions at the same time, you can create
>>your UI / widgets using qt-designer and then subclassing that UI in
>>another file and overload the (paint)event. That way you can still
>>change the UI without having to re-merge your changes everytime you
>>recompile the .ui files.
> 
> 
> Thanks. Got it. But what if i don't want to overload the overall paintEvent 
> of 
> the UI but only the one of a part of it, eg. a QFrame or a QHbox? Shure I 
> would subclass QFrame and overload the event but how can I put it into the 
> 'designed' code, since my UI still uses QFrame and not the subclass of it.
> 
> I like to do some simple drawLines on a QFrame not using any extension 
> packages, only what is shipped with QT and pyqt. 
> 
> Thanks again for any help.

Hi,

you might want to have a look at
http://www.diotavelli.net/PyQtWiki/DragAndDropWithPytQt

and adapt it to your needs.

greetings

Torsten

-- 
Torsten Marek <[EMAIL PROTECTED]>
ID: A244C858 -- FP: 1902 0002 5DFC 856B F146  894C 7CC5 451E A244 C858
Keyserver: subkeys.pgp.net

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to