On lundi 19 janvier 2009, David Boddie wrote:
> Call the event's ignore() method before returning.
>
> "You should call ignore() if the key press or release event is not
> handled by your widget."
Thanks!
--
Frédéric
http://www.gbiloba.org
___
Pierre Raybaut wrote:
>
> Hi all,
>
> I would like to share with you this little open-source project of mine,
> PyQtShell:
> http://pypi.python.org/pypi/PyQtShell/
> http://code.google.com/p/pyqtshell/
>
> I've just started it a few days ago and I worked on it only a couple of
> hours at ho
Hi,
I have to maintain references to the objects passed to QModelIndex or I
get segfaults (and all kinds of other weird results) when accessing them
via internalPointer(), which makes me either think the reference
counting is broken or that indices store weak references...
Is this intended ?
On Sun Jan 18 23:14:37 GMT 2009, Frédéric wrote:
> On samedi 17 janvier 2009, Frédéric wrote:
> > I forgot to ask: once I have checked all the key events, in
> > keyPressedEvent, how do I let propagate the event I don't want to handle?
>
> No idea?
Call the event's ignore() method before returning
On Sun Jan 18 23:06:59 GMT 2009, Grzegorz Adam Hankiewicz wrote:
> I have the following lines of code:
>
> big = QImage(size, images[0].height(), QImage.Format_ARGB32)
> big.save("test.png")
>
> The resulting test.png file contains random garbage, so I need to
> clean that out. I
On samedi 17 janvier 2009, Frédéric wrote:
> I still have an issue: when I hold down a key, once the repeat starts, I
> receive both KeyPressed and KeyReleased events. This is a different
> behaviour as PyGTK, where I only received the key-pressed-event while
> holding it down, and the key-release
I have the following lines of code:
big = QImage(size, images[0].height(), QImage.Format_ARGB32)
big.save("test.png")
The resulting test.png file contains random garbage, so I need to
clean that out. I've tried to use a QPainter calling eraseRect(), but
that removes the trans
I've got a couple QTreeWidget's in a dialog. I want to be able to do drag
and drop operations between them, but to override the default drag and
drop. The parent program/dialog will determine what effect the drop has.
The easiest and simplest way of doing this would be if I were able to
intercep
Thorsten Kampe wrote:
>
> * eliben (Sat, 17 Jan 2009 06:55:58 -0800 (PST))
>> I'll want to package my applications into .exe files, on Windows.
>> Which of the existing options in the Python exe-packaging world works
>> best for PyQt? PyInstaller? Py2exe? Something else?
>
> You can try them al
David Boddie wrote:
>
>> Dividing it into separate signals and slots per each widgets is kind-of
>> kludgy in comparison, don't you think?
>
> It depends on what level you're managing the interactions between widgets
> and the complexity of the user interface. If, for example, simply checking
On dimanche 18 janvier 2009, Ville M. Vainio wrote:
> It should be relatively easy to add ipython support. I have actually
> done it already for a "written-from-scratch" qt ui (currently using
> QScintilla - I tried using QTextEdit first, but it was way too slow
> for output-heavy operations like
On dimanche 18 janvier 2009, Nahuel Defossé wrote:
> Check the code attached. It's a basic QGraphicItem subclass which has it
> paint method overriden (check QPainter docs and QGraphicsItem.shape). It
> also listens to mouse events. If you want to do some changes when the
> item is hit by the mous
On Sunday 18 January 2009, 09:44:56 -0800 (PST), eliben wrote:
>
> David Boddie wrote:
> > Can you give more information about your user interface? It would make it
> > easier to recommend the best approach for you to take.
>
> Thanks for the explanation, I'll think about it.
>
> Regarding my appli
On dimanche 18 janvier 2009, Nahuel Defossé wrote:
> They are very easy to use. Just create a qrc file, which is basically
> something like this:
>
>
> coolicons/cubic.svg
>
>
> smallicons/cubic.png
>
>
>
> Once you've compiled the module with pyrcc4, then import the module
>
El Tuesday 13 January 2009 06:17:36 Sergio Jovani escribió:
> Hi list!
>
> In my application I've created a process with QProcess and 'ffmpeg'
> program. I offer to user cancelling process calling kill() method, but
> I don't know if pausing it would be possible.
>
> Is there any way to pause QProc
El Friday 16 January 2009 06:43:46 Frédéric escribió:
> Hi,
>
> My dialogs used some icons for buttons (move left, move right...), and
> some of these buttons icons need to be changed dynamically according to
> the current sequence.
>
They are very easy to use. Just create a qrc file, which is basi
El Saturday 17 January 2009 20:37:15 Frédéric escribió:
> I would like to implement this like Mark explains for tables, in its
> paper, "Qt 4's Model/View Delegates". As I'm new to Qt4, could you point
> me to the good direction? I'm a bit lost in all the classes available
> (QGraphicsScene/View/i
El Sunday 18 January 2009 15:02:40 Matt Smith escribió:
> I'm working on some image analysis, and displaying the result. One of
> the problems I have is grayScale. I don't mind using 8bit for display,
> but is there a default grayScale color table? I suppose I could make
> one, but it would be n
On Sun, Jan 18, 2009 at 7:47 PM, Frédéric
wrote:
> On the other hand, as we only run ipython inside, for our application,
> something like PyQtShell should be enough. So I'll give it a try :o)
It should be relatively easy to add ipython support. I have actually
done it already for a "written-fro
El Friday 16 January 2009 15:44:14 NoursBleu escribió:
> Hi all !
>
> I've created a simple QDialog with Qt-Designer 4, named ImageDialog and
> only containing a pushButton called pushButton.
> The file name is test.ui
>
> Next I've used pyuic4 wich created a file named Ui_test.py containing :
>
>
On dimanche 18 janvier 2009, Ken Dere wrote:
> Pierre Raybaut wrote:
> >
> > I would like to share with you this little open-source project of
> > mine, PyQtShell:
> > http://pypi.python.org/pypi/PyQtShell/
> > http://code.google.com/p/pyqtshell/
> > [...]
>
> Looks interesting. Can you run ipyth
David Boddie wrote:
>
> Can you give more information about your user interface? It would make it
> easier to recommend the best approach for you to take.
>
Thanks for the explanation, I'll think about it.
Regarding my application. It's just a bunch of buttons, combo boxes and
checkboxes tha
Pierre Raybaut wrote:
> Hi all,
>
> I would like to share with you this little open-source project of mine,
> PyQtShell:
> http://pypi.python.org/pypi/PyQtShell/
> http://code.google.com/p/pyqtshell/
>
> I've just started it a few days ago and I worked on it only a couple of
> hours at home this
I'm working on some image analysis, and displaying the result. One of
the problems I have is grayScale. I don't mind using 8bit for display,
but is there a default grayScale color table? I suppose I could make
one, but it would be nice to import one.
Also I loaded a tiff image with 16 bit gray
On Sun Jan 18 13:41:00 GMT 2009, eliben wrote:
> I'm porting some code from wxPython to PyQt, and am unable to find the
> replacement for wx's wx.EVT_UI_UPDATE event. This event is sent to a
> frame/window whenever the UI has to be updated. In the handler of the event
> I can check my application'
Hi,
a new snapshot of the eric 4.3 development is available via
http://sourceforge.net/project/showfiles.php?group_id=119070&package_id=300692.
Here is the changelog.
- added the capability to associate an alternative (Pygments) lexer with a
filename pattern
- added the capability to have pr
Hello,
I'm porting some code from wxPython to PyQt, and am unable to find the
replacement for wx's wx.EVT_UI_UPDATE event. This event is sent to a
frame/window whenever the UI has to be updated. In the handler of the event
I can check my application's state and update the widgets accordingly (for
On Sonntag, 18. Januar 2009, Phil Thompson wrote:
> On Sun, 18 Jan 2009 11:39:03 +0100, Detlev Offenbach
>
> wrote:
> > Hi,
> >
> > I have an issue related to determine the state of the focus for a widget.
> > The
> > situation is like this.
> >
> > I have a QWidget containing a QStackedWidget con
By installing an event filter or maybe by subscribing to
QApplication.focusChanged?
Alberto
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Sun, 18 Jan 2009 11:39:03 +0100, Detlev Offenbach
wrote:
> Hi,
>
> I have an issue related to determine the state of the focus for a widget.
> The
> situation is like this.
>
> I have a QWidget containing a QStackedWidget containing several widgets.
> One
> of these is a QTabWidget containi
Hi,
I have an issue related to determine the state of the focus for a widget. The
situation is like this.
I have a QWidget containing a QStackedWidget containing several widgets. One
of these is a QTabWidget containing several QTreeViews. How can the top level
QWidget be informed, if one of th
31 matches
Mail list logo