On Sunday 18 January 2009, David Boddie wrote:
> For me, running Qt 4.4.3 and PyQt 4.4.4, using uic.loadUi() to load a
> .ui file with a custom slot doesn't cause an exception to be raised, so
> maybe there's a problem with the version you're using.
> [...]
> Hopefully, the above code should get yo
On Sat Jan 17 23:52:10 GMT 2009, Henrik Pauli wrote:
> On Saturday 17 January 2009, David Boddie wrote:
> > How did you add the slot to the testclient.ui file?
>
> right-click on MainWindow, Change Signals/Slots, add a Slot.
OK, I overlooked that. :-)
For me, running Qt 4.4.3 and PyQt 4.4.4, usi
On Saturday 17 January 2009, David Boddie wrote:
> On Sat Jan 17 17:19:44 GMT 2009, Henrik Pauli wrote:
> > I was messing around in Designer today and I wanted to add my QMainWindow
> > a new slot. The ui file has it, but the moment I try to loadUi it, I get
> > the following:
> >
> > Traceback (m
On Sat, 17 Jan 2009 23:58:41 +0800, Steven Woody
wrote:
> On Fri, Jan 16, 2009 at 8:22 PM, Phil Thompson
> wrote:
>> On Fri, 16 Jan 2009 09:01:35 +0800, Steven Woody
>> wrote:
>>> On Thu, Jan 15, 2009 at 10:18 PM, Jason Voegele
>> wrote:
On Tuesday 13 January 2009 09:53:08 pm Steven Woody
Ok, I've almost finished to switch my app from PyGTK to PyQt (much faster
than I thought).
The last things I need to do is the shootingArea (the tricky part):
http://trac.gbiloba.org/papywizard/attachment/wiki/ScreenShots/shootDialog_mosaic_pc.png
http://trac.gbiloba.org/papywizard/attachment/wi
On Friday 16 January 2009 20:47:13 simozack wrote:
> I forward this message to the list, because I send this only in
> private. Sorry for the error.
>
> Simone
> -- Forwarded message --
> From: simozack
> Date: 2009/1/16
> Subject: Re: [PyQt] Subclass pyuic4 generated file...
> To:
Hi Marc,
Marc Nations gmail.com> writes:
>
> self.ui.menuAdmin.setVisible(0)
> self.ui.menuAdmin.hide()
> ...don't work.
You need to do:
self.ui.menuAdmin.menuAction().setVisible(False)
--D
___
PyQt mailing listPyQt@
I am unable to hide a menu item on the menubar which was added with this
code:
self.menuAdmin = QtGui.QMenu(self.menubar)
The two obvious ways of doing this...
self.ui.menuAdmin.setVisible(0)
self.ui.menuAdmin.hide()
...don't work.
I am able to clear the items using .c
On Sat Jan 17 17:19:44 GMT 2009, Henrik Pauli wrote:
> I was messing around in Designer today and I wanted to add my QMainWindow
> a new slot. The ui file has it, but the moment I try to loadUi it, I get
> the following:
>
> Traceback (most recent call last):
> File "./testclient.py", line 11, i
Finally, with this code by Sergio Jovani, the problem is solved.
'''
Try with this:
wndMain = Pro2MainWindow(self) # <--- set as parent QDialog
wndMain.showMaximized()
self.hide()
'''
Thanks!
2009/1/15 Sergio Jovani
> Hi,
>
> If you want to call a QMainWindow from a QDialog you have to set a
>
Hi all,
I was messing around in Designer today and I wanted to add my QMainWindow a
new slot. The ui file has it, but the moment I try to loadUi it, I get the
following:
Traceback (most recent call last):
File "./testclient.py", line 11, in
w = uic.loadUi("testclient.ui")
File "/usr/l
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 ?
--
Frédéric
http://www.gbiloba.org
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverban
On vendredi 16 janvier 2009, Frédéric wrote:
> 1) catching key events
>
> I found that I have to implement the keyPressEvent() method. I did this
> in the mainWindow, but the behaviour depend where is the focus. And as I
> want to catch arrow keys, it also change the focus! What is the proper
> wa
On Fri, Jan 16, 2009 at 8:22 PM, Phil Thompson
wrote:
> On Fri, 16 Jan 2009 09:01:35 +0800, Steven Woody
> wrote:
>> On Thu, Jan 15, 2009 at 10:18 PM, Jason Voegele
> wrote:
>>> On Tuesday 13 January 2009 09:53:08 pm Steven Woody wrote:
In the book 'Rapid GUI Programming with Python and Qt'
* 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 all but probably Pyinstaller (grab the
Hello,
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?
I'm concerned with reliability of packaging (wanting to distribute to PCs
that have nothing installed
* Doug Hackworth (Fri, 16 Jan 2009 14:44:57 -0600)
> > ...Regarding that, doesn't "import" try to find .py files?
Yes, but not exclusively (also pyc, pyo, pyd, and __init__.
> There is no Lib/site-packages/PyQt4.py , so is that a problem? The path
> Lib/site-packages/PyQt4 that got installed i
On samedi 17 janvier 2009, Ingmar Steen wrote:
> Sorry, don't have a reply-to-all on my blackberry, so it's going to you
> and not the list.
I replied on the list, so other people can see you answer.
> Try a QLabel with a pixmap (I think the method to call is setPixmap).
> That's the defacto sta
I would like to add some state icons, in the status bar, but adding a QIcon
does not work:
argument 1 of QStatusBar.addPermanentWidget() has an invalid type
How can I do that? What widget should I use?
--
Frédéric
http://www.gbiloba.org
___
On samedi 17 janvier 2009, David Boddie wrote:
> > threading.currentThread().getName()
> >
> > The main thread is called 'MainThread'.
>
> It may be called that now, but is it always guaranteed to have that
> name?
True. The solution is to named it before launching the Qt main loop:
thre
20 matches
Mail list logo