[PyQt] i would like to make global keyboard shortcuts using pyqt4..

2008-07-09 Thread Marcell Mars
i know most of the time people will say you shouldn't use grabKeyboard if you don't know what are you doing.. as said in subject i would like to play with making global keyboard shortcuts in xorg through pyqt4... i would like to run qApp without visible/focused widget.. what would be the right

Re: [PyQt] Waiting on non-QT events.

2008-10-08 Thread Marcell Mars
this is how i solved my problem... i run the non-qt process as thread and inherit class Bridge which emits the Qt signals for me... hope it will help you: http://pastebin.com/f16019559 i'm sure there are more elegant solutions and i would like to learn about them...

Re: [PyQt] Waiting on non-QT events.

2008-10-08 Thread Marcell Mars
On Wed, Oct 8, 2008 at 5:16 PM, Mistobaan [EMAIL PROTECTED] wrote: http://pastebin.com/f16019559 I am wrong or the line 21 never gets called, so everything still happens on one single thread? it's started after Gamepad.start() which trigger Gamepad.run() then... i have it in commented code

[PyQt] gapless video playback with phonon?

2008-10-23 Thread Marcell Mars
is there a way to do gapless video playback with phonon? or even better transition effect in between two videos.. url with example would make my day ;) ___ PyQt mailing listPyQt@riverbankcomputing.com

[PyQt] QWidget.setPalette with QPixmap for background works but not for Phonon.VideoWidget..

2008-10-26 Thread Marcell Mars
i can change Phonon.VideoWidget background color through setStyleSheet(QWidget{background-color:blue;}) but as said in subject can't do that with: palet = QPalette() palet.setBrush(QPalette.Background, QBrush(QPixmap(some.png)) myPhononVideoWidget.setPalette(palet) the equivalent works for

Re: [PyQt] PyQt4-extrawidgets project

2008-11-11 Thread Marcell Mars
On Tue, Nov 11, 2008 at 6:04 PM, piotr maliński [EMAIL PROTECTED] wrote: http://code.google.com/p/pyqt4-extrawidgets/ i just love this project ;) ___ PyQt mailing listPyQt@riverbankcomputing.com

[PyQt] how to optimize custom widgets drawing? it was faster with qt-4.2 then qt-4.3 and 4.4...

2008-11-12 Thread Marcell Mars
i did custom widget as alternative user interface for sooperlooper [0].. you can see the widget in action here: http://www.viddler.com/explore/marcell/videos/6/ then i composed a lot of them onto QWidget and you could see them in action here: http://www.viddler.com/explore/marcell/videos/7/

[PyQt] Re: how to optimize custom widgets drawing? it was faster with qt-4.2 then qt-4.3 and 4.4...

2008-11-12 Thread Marcell Mars
it's interesting that cpu goes up to 100% as X process not python... i have: X Window System Version 1.3.0 Release Date: 19 April 2007 Current Operating System: Linux kom #2 PREEMPT RT 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY i'll install new

[PyQt] Re: how to optimize custom widgets drawing? it was faster with qt-4.2 then qt-4.3 and 4.4...

2008-11-13 Thread Marcell Mars
it seems it's definitively xorg... the same code doesn't push cpu up to 100%... when it does it doesn't block X session completely... with new X.Org X Server 1.5.2... when refreshed every second python app goes up to 9% of cpu, X not more then 23%... when refreshed faster it gets of cpu as much

[PyQt] i kindly request for better support of PyQt4 on linux distributions...

2008-11-17 Thread Marcell Mars
i really like PyQt4 with all of the features it brings to us. couple of weeks ago i finished application with video playback and PyQt4 provided me great playground. for that particular set up (art exhibition) it probably saved me at least 7-8 hours of work comparing to other solutions i was

Re: [PyQt] i kindly request for better support of PyQt4 on linux distributions...

2008-11-18 Thread Marcell Mars
On Tue, Nov 18, 2008 at 2:19 PM, Anonymous [EMAIL PROTECTED] wrote: But why are you saying this to the PyQt mailing list when this is dependent on the Linux distributers' side? i think that when linux distributer's side fails it is easy to join that side especially when it is in your interest

Re: [PyQt] Symbol naming system for PyQt under Python 3

2008-12-12 Thread Marcell Mars
On Fri, Dec 12, 2008 at 7:09 PM, Paul A. Giannaros p...@giannaros.org wrote: Any thoughts on this? do you want to do something like: import PyQt4.QtCore as Qt import PyQt4.QtGui also as Qt :) ___ PyQt mailing listPyQt@riverbankcomputing.com

Re: [PyQt] Connecting two QGraphicsItems

2009-04-06 Thread Marcell Mars
On Mon, Apr 6, 2009 at 3:07 PM, Mads kofo...@yahoo.com wrote: I hope someone can help me witth this problem. It is probably straight forward I have a QGraphicsItem and a QGraphicsEllipseItem, when I add the QGraphicsItem to th graphicsview I want the QGraphicsEllipseItem to be added as well

Re: [PyQt] Connecting two QGraphicsItems

2009-04-06 Thread Marcell Mars
On Mon, Apr 6, 2009 at 4:13 PM, Mads kofo...@yahoo.com wrote: each item needs to have separate functionality, so you should be able to set different attributes on each item. Is the createItemGroup, still the best way forward? to be more sure i would need more info about your app but as i saw

Re: [PyQt] Link between a QWebViev and a JavaScript program

2009-04-19 Thread Marcell Mars
the simplest example of loading jquery.js (geti it from http://jqueryjs.googlecode.com/files/jquery-1.3.2.js and put it in the same directory with the snippet below) after loading html and then using jquery syntax to change the background color into red: run it in python interactive shell or

Re: [PyQt] Why does QApplication.processEvents() increase performance?

2009-04-28 Thread Marcell Mars
On Wed, Apr 29, 2009 at 12:18 AM, Brent Villalobos brent.villalo...@pdi.dreamworks.com wrote:  I would like to have an explanation for the performance improvment. did you check the difference in cpu usage when doing processEvents() and without it? ___

[PyQt] is there any paypal account for riverbank?

2009-05-02 Thread Marcell Mars
i don't do any commercial development but would like to give some money to riverbank. unfortunately i can't give the amount asked for the commercial licence. is there any paypal i can use for that? couldn't find it on the site. ___ PyQt mailing list

[PyQt] QTermWidget bootstrapped in ipython seession ;)

2009-05-03 Thread Marcell Mars
i wanted to start ipython session inside of QTermWidget[0] where that would be the same ipython session from where i originally made the QTermWidget.. with a little help from dtach[1] http://dtach.sourceforge.net/ i did it... if you do ipython profile like pasted here:

Re: [PyQt] Date selector/date picker

2009-05-18 Thread Marcell Mars
thanx to zetcode you can find very simple snippet of cod fo QCalendarWidget as the last example on the page: http://zetcode.com/tutorials/pyqt4/widgets/ documentation: http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qcalendarwidget.html On Mon, May 18, 2009 at 5:19 PM, Michael

Re: [PyQt] ANN: PyQt v4.5.1, PyQt v3.18.1 and SIP v4.8.1 Released

2009-06-16 Thread Marcell Mars
On Tue, Jun 16, 2009 at 2:21 PM, Jul j.vie...@gmail.com wrote: And what about a mailing list or RSS feed for the news ? :) i know it doesn't completely solve the requirements but if you want to play more you can probably make it more suitable for your needs:

Re: [PyQt] Vim session in a pyqt window?

2009-08-23 Thread Marcell Mars
you could run most of the console applications using: a) http://doc.trolltech.com/4.5/qx11embedcontainer.html b) http://pyqt4-extrawidgets.googlecode.com/files/qtermwidget-0.1.2.tar.gz On Fri, Aug 21, 2009 at 6:25 PM, step...@theboulets.net wrote: Hello list. Would it be very difficult to run a