when i connect a handler to the SCN_MODIFIED signal in QScintilla-2.4.3
i see the following error:
TypeError: unable to convert a QVariant back to a Python object
i've tried setting sip.setapi('QVariant', 2), but to no avail.
this is using: gcc 4.4.1, python 2.6.4, qt 4.6.2, sip 4.10, pyqt
On 27/05/10 18:44, Baz Walter wrote:
when i connect a handler to the SCN_MODIFIED signal in QScintilla-2.4.3
i see the following error:
TypeError: unable to convert a QVariant back to a Python object
i've tried setting sip.setapi('QVariant', 2), but to no avail.
this is u
On 29/05/10 10:00, Phil Thompson wrote:
Fixed in the current PyQt snapshot - sort of. It assumes that the char *
refers to a '\0' terminated string, which may not be the case.
Although earlier versions didn't seem to crash, I don't think they worked
any better.
thanks phil
i've tried the new
On 29/05/10 17:37, Baz Walter wrote:
On 29/05/10 10:00, Phil Thompson wrote:
Fixed in the current PyQt snapshot - sort of. It assumes that the char *
refers to a '\0' terminated string, which may not be the case.
Although earlier versions didn't seem to crash, I don't t
On 03/06/10 16:01, Phil Thompson wrote:
On Sat, 29 May 2010 19:46:58 +0100, Baz Walter wrote:
looks like i spoke too soon: i now get segfaults when trying to emit
signals that send char *.
the particular signal that caused the crash was "propertyChanged(const
char *prop, const char *val
On 09/06/10 10:51, Jothy wrote:
I want to set the text format of ProgressBar to double/float.
How to do this?
you can format the text in whatever way you like if you create a
subclass of QProgressBar and reimplement it's text() method.
___
PyQt mai
On 08/06/10 18:21, Danny wrote:
So how do I get a handle to the main window from a child MDI window?
in previous versions of qt, you could have used qApp.mainWidget() but
that has been removed in qt4. so you either have to keep a reference to
the main window yourself, or use the qwidget hiera
On 29/07/10 22:46, dusan smitran wrote:
> Im building a simple sql editor with tabs.
>
> How could i implement a Intellisense/Auto-complete feature where the
> user would hit alt+space and a dropdown menu would appere.
On 02/08/10 11:53, dusan smitran wrote:
Could u recommend me a simple text
On 04/08/10 18:50, detlev wrote:
in my code I have a line like
act.triggered.connect(self.myslot)
The slot has a method signature like
def myslot(self, fn = None, foo = "bar"):
However, it is always called with fn set to False. It seems that
triggered(bool) is the default signal. How do I get
On 04/08/10 20:07, Phil Thompson wrote:
Specific overloads are obtained by indexing the bound signal with the
signature you want, so...
act.triggered[()].connect(self.myslot)
can you explain why i see errors like this when using that syntax:
File "menusys.py", line 1522, in __init__
sel
On 04/08/10 20:25, Phil Thompson wrote:
On Wed, 04 Aug 2010 20:20:11 +0100, Baz Walter wrote:
On 04/08/10 20:07, Phil Thompson wrote:
Specific overloads are obtained by indexing the bound signal with the
signature you want, so...
act.triggered[()].connect(self.myslot)
can you explain why i
On 16/08/10 18:27, danny wrote:
Howdy,
I have run into this curious problem that I think is caused by a memory leak
or improper reference counting related to toolbars in QMainWindow.removeToolBar.
The problem appears when you remove a toolbar but keep an instance variable
maintaining a reference
On 22/08/10 09:56, Phil Thompson wrote:
Development is finished on the next releases of PyQt, SIP and QScintilla,
so testing your favorite application against current snapshots would be a
good idea...
i'm seeing lots of "RuntimeError: underlying C/C++ object has been
deleted" errors related to
On 23/08/10 19:25, Phil Thompson wrote:
Got it - should be fixed in tonight's PyQt/SIP snapshots.
your timing is impeccable :)
i was just about to hit send and post a test case (although not a very
good one).
thanks for fixing this so quickly - it was starting to drive me nuts!
On 23/08/10 16:11, Scott Frankel wrote:
Please excuse the re-post. I'm at a loss as to why executing a
QSqlRecord object's count() or isEmpty() method results in a bus error
crash. Suggestions would be greatly appreciated.
i'm probably not going to be able to help you myself, but in any case i
On 25/08/10 09:54, Christopher M. Nahler wrote:
I'll take it as an "if all else fails" solution :-) not giving hope up now!
I have changed the item cursors and view cursors to be differnt to see
which one wins as sometimes it looked as if it was working. But it turns
out its the item cursors tha
On 26/08/10 08:45, Christopher M. Nahler wrote:
Thank you Baz! You pointed me to the solution of my problem ... and it
was easier than your solution :-)
you're welcome :)
I did not know of *self.viewport()* in the view class.
Updating the cursor of the view with self.viewport().setCursor() i
On 27/08/10 11:07, Jonathan Noble wrote:
Hi, I am using a QTableWidget that needs to have one row's background colour
changed. However, I do not know how to reset the change based on the systems
colour theme.
This image shows what happens if I do not do hackish reset:
http://www.flickr.com/photo
On 08/09/10 15:27, Hugo Léveillé wrote:
I did but I couldn't find how to do it even if I know the info is there
somewhere in the doc. Any hints are welcomed
On Wed, 08 Sep 2010 15:50 +0200, "Hans-Peter Jansen"
wrote:
On Wednesday 08 September 2010, 15:05:21 Hugo Léveillé wrote:
I have made a
On 09/09/10 01:17, David Boddie wrote:
On Wed Sep 8 22:33:17 BST 2010, Hugo Leveille wrote:
I have looked at the doc but all I could find was drag and drop within the
pyqt app itself. What id like to do is the, for exemple, attach an url or
whatever needed to an item so that if I drag the item
On 09/09/10 05:12, Peter Milliken wrote:
Sorry, that previous email should have explained that within the main QFrame
I am attempting to lay everything out using gridlayout.
On Thu, Sep 9, 2010 at 2:06 PM, Peter Millikenwrote:
Probably not. The code snippet might be a bad example. I am attempt
On 09/09/10 14:29, Massimo Di Stefano wrote:
tring to learn how to use the Drag class, i tried to hack the
"draggabletext.py" from the pyqt source :
- http://www.geofemengineering.it/draggabletext_.py
i'm now blocked on how to reuse the same code
to drag a QTableWidgetItem from a QtTablewidjet
On 27/09/10 19:45, Gerard Vermeulen wrote:
Phil,
when running the following code
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import PyQt4.Qt as Qt
class MyWidget(Qt.QWidget):
def __init__(self, parent=None):
super(Qt.QWidget, self).__init__(parent)
# __init__()
# cl
On 28/09/10 11:11, Sybren A. Stüvel wrote:
PS: Please reply to just the list, there is no need to do reply-all,
I'm on the list too. With a reply-all I get your mail twice.
there is a mailman option to prevent this.
go here: http://www.riverbankcomputing.com/mailman/options/pyqt
and look for
On 29/09/10 15:19, Eric Frederich wrote:
I have a bunch of helper functions that raise exceptions and I'd like the
messages in those exceptions to be translated.
How should I get those strings translated?
QObject.tr is not a static method, I can't just call it.
I need a QObject don't I?
QCoreAp
On 30/09/10 16:24, Darren Dale wrote:
I tried also to find how the fedora devs managed to patch and build
pyqt in the fedora environment, but I can't find anything. Aren't they
compelled by the terms of the GPL to make such patches available?
any patches should be in fedora's src.rpm for pyqt,
On 07/10/10 19:00, Nate Reid wrote:
Below is a sample program that demonstrates a problem with the updating of a
Tab's size when setTabsClosable(false) is dynamically set.
Run the program as is and add some tabs, and then remove some with either the
close box or the 'Remove' button. When the
On 09/10/10 21:00, Knacktus wrote:
Hi everyone,
I've got a QTreeView with a custom model. I've set the
setUniformRowHeights property to True:
self.setUniformRowHeights(True)
Now, to expand the tree with a model with 1 rows and 6 cols calling
the expandAll slot takes about 1 minute! (on a 2
On 10/10/10 15:43, Knacktus wrote:
Hi everyone,
a little update of my observations so far for the interested:
The flatter the tree, the better the performance. I've done some tests
with 10 children per parent. Now, that looks much better. For 10
items expanding all takes about 30 seconds.
On 10/10/10 18:39, Knacktus wrote:
Those results are very interesting! Thanks.
Just to confirm: You had 5000 items and to expand the whole tree took
only 0.67 seconds? Also, only 1 call to parent().
Now, that makes my wonder and hope. The main differences are that I'm on
Windows 7 and I'm using p
On 11/10/10 15:17, John Wiggins wrote:
Hello,
I'm laying out part of the UI for my app using a QMainWindow with no central
widget and 4 dock widgets. I'd like the dock widgets to be sized
proportionally to each other but they seem to ignore the value returned by
sizeHint(). Am I missing somethin
On 12/10/10 13:53, lucabe...@libero.it wrote:
Hello i have made a small test using qftp, but i make some error:
class Form(QWidget, Ui_Form):
"""
Class documentation goes here.
"""
def __init__(self, parent = None):
"""
Constructor
"""
supe
On 12/10/10 13:12, Phil Thompson wrote:
The current PyQt and SIP snapshots can be considered release candidates.
Now is a good time to check them against your favorite applications.
The final releases will be in a week or so.
contrib/pymodeltest has a bug.
the signals all use "QtCore.QModelIn
On 16/10/10 07:52, Vincent Vande Vyvre wrote:
Hi,
I just upgraded from Ubuntu 10.04 to 10.10,
therefore, python 2.6.5/PyQt 4.7.4 to python 2.6.6/Pyqt 4.7.4
It seems that the appearance of the QListWidgetItem changed.
i'd guess that the problem is much more likely to be due to a change in
qt
On 19/10/10 18:13, danny wrote:
Howdy, I'm trying to impliment DnD in a QTreeView with a custom model
derived from QAbstractItemModel. I have run into the following question.
I want to be able to drag onto the tree from an external source. I also want to
do internal DnD to rearrange items. The m
On 19/10/10 21:07, danny wrote:
when your reimplemented mimeTypes() method is called internally by qt,
the first item in the returned list will be used to set the format.
Ok, I think I get it. Internal DnD will use the first specified mime type.
That still raises the question of the purpose
On 20/10/10 14:22, Randy Heiland wrote:
Hello,
Is it possible to have multiple QSettings files for an app? Basically, our
situation is that we have an app and we save various params associated with the
app via the QSettings mechanism. However, we'd like to be able to save/read
different set
On 23/10/10 01:54, Xavion wrote:
Arch Linux has recently switched its 'python' package to the Python v3
branch. SIP and PyQt still require the 'python2' package, probably because
the unpatched D-Bus Python bindings currently won't work with Python v3.
there's never a dull moment with arch :)
On 23/10/10 12:25, Hans-Peter Jansen wrote:
On Saturday 23 October 2010, 02:54:40 Xavion wrote:
Doing so will save me from having to hard-code something like
"#!/usr/bin/env python2" into the main executable file, only to be
disappointed after finding out that some Linux distributions have
alrea
On 23/10/10 18:07, Phil Thompson wrote:
On Sat, 23 Oct 2010 17:39:28 +0100, Baz Walter wrote:
On 23/10/10 12:25, Hans-Peter Jansen wrote:
On Saturday 23 October 2010, 02:54:40 Xavion wrote:
Doing so will save me from having to hard-code something like
"#!/usr/bin/env python2" int
On 23/10/10 20:04, Hans-Peter Jansen wrote:
On Saturday 23 October 2010, 19:28:34 Baz Walter wrote:
On 23/10/10 18:07, Phil Thompson wrote:
On Sat, 23 Oct 2010 17:39:28 +0100, Baz Walter
wrote:
On 23/10/10 12:25, Hans-Peter Jansen wrote:
On Saturday 23 October 2010, 02:54:40 Xavion wrote
On 23/10/10 23:45, Hans-Peter Jansen wrote:
On Saturday 23 October 2010, 22:35:36 Baz Walter wrote:
arch has been around for quite a while now and has a growing
community of very loyal users. it may do some things very
differently, but at the end of the day, it's just another linux
d
On 25/11/10 17:23, Hans-Peter Jansen wrote:
Unfortunately, it's still not behaving right: the color chooser is
created and shown correctly on double click, one can choose another
value, but that isn't supplied back into the table correctly, although
the property getter _is_ called and given the n
On 27/11/10 21:27, Ian wrote:
On 27/11/2010 21:07, Andreas Pakulat wrote:
On 27.11.10 20:54:01, Ian wrote:
I am trying to use QAbstractTableModel and I am having more than
some difficulty.
If I return the correct number to columnCount I get no headers. If I
return a number that is too big, I g
On 27/11/10 23:02, Ian wrote:
On 27/11/2010 22:23, Baz Walter wrote:
the python version andreas is referring to is "modeltest.py". it can
be found in the pyqt source in the contrib/pymodeltest directory.
I found the version I think I need (4.7.4) at
http://python-qt4.sourcea
On 28/11/10 03:42, Baz Walter wrote:
On 27/11/10 23:02, Ian wrote:
On 27/11/2010 22:23, Baz Walter wrote:
the python version andreas is referring to is "modeltest.py". it can
be found in the pyqt source in the contrib/pymodeltest directory.
I found the version I think I need (4.7.
On 09/12/10 12:26, NARCISO, Rui wrote:
Hi all
I can't seem to be able to make QFileSYstemWatcher work with a file (to see if
it's contents change).
At the end of this mail you'll find a minimum example that doesn't worked.
I tried several connections with different syntaxes but nothing works.
On 09/12/10 06:55, Vicent Mas wrote:
On 2010-12-08 "Hans-Peter Jansen" said:
[...]
Vicent, bad luck: check the fileMode paragraph a couple of lines below:
http://doc.trolltech.com/latest/qfiledialog.html#FileMode-enum
This function will set the labels for the FileName and Accept
DialogLabel
On 09/12/10 18:01, Vicent Mas wrote:
On 2010-12-09 Baz Walter said:
but it means that there is still a bug: in the doItWrong function of my
script the setFileMode call doesn't reset the FileName label to a
default value. So it seems that I'll end writing my first C++ code
(using Anto
On 09/12/10 17:40, Hans-Peter Jansen wrote:
Hi Phil, hi *,
ever wanted to know, how many classes and methods PyQt4 provides?
I'm not sure, if my calculations are valid, but according to my Q&D script
(attached), they are:
Metric(name: PyQt4.phonon, modules: 1, classes: 52, methods: 2274, funct
On 09/12/10 18:57, Vicent Mas wrote:
(I've lost a great opportunity for writing C++ code. That's a pitty ;-)
be thankful for small mercies :-)
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On 09/12/10 19:33, Hugo Leveille wrote:
I have a mainwindow that I would like to remove the resize handle on the bottom
right so that the window is not resizable.
you can remove the resize handle with:
mainwindow.statusBar().setSizeGripEnabled(False)
but that won't make the window unresi
On 10/12/10 07:57, Christopher Singley wrote:
Sorry, I spoke too fast. The issue persists on my system:
Python 2.7.1 (r271:86832, Dec 1 2010, 23:37:45)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
from PyQt4 import QtCore, QtGui
QtCore.PYQT_VERS
On 10/12/10 10:08, NARCISO, Rui wrote:
When I use absolute paths (os.path.abspath) or real paths (os.path.realpath) or
even relative paths (../../toto) it doesn't work.
It only works when I use only the file name.
I don't think permissions are the problem because I tried the with the same
file
On 10/12/10 17:27, Hans-Peter Jansen wrote:
On Friday 10 December 2010, 18:04:08 Baz Walter wrote:
On 10/12/10 07:57, Christopher Singley wrote:
Sorry, I spoke too fast. The issue persists on my system:
Python 2.7.1 (r271:86832, Dec 1 2010, 23:37:45)
[GCC 4.4.5] on linux2
Type "
On 10/12/10 18:10, Hans-Peter Jansen wrote:
Dear Rui,
On Friday 10 December 2010, 11:08:50 NARCISO, Rui wrote:
When I use absolute paths (os.path.abspath) or real paths
(os.path.realpath) or even relative paths (../../toto) it doesn't
work. It only works when I use only the file name.
Works f
On 17/12/10 09:40, Christopher Evans wrote:
Hi guys,
I have been using pyqt for years at many different jobs and many different
projects, however some things elude me. (I am a self-taught noob at heart)
I have written many tutorials for the community to help spread knowledge,
but this is one of
On 27/12/10 10:04, Phil Thompson wrote:
A typical backend will save values as a string without any metadata
describing the original type. In QVariant v1 the conversion back is done by
QVariant::toBool() which only checks for "true" and "false", so that is the
behaviour to be replicated in QVarian
after recently upgrading sip, several applications that use treeviews
started producing a lot of errors like this:
TypeError: expected 1 arguments, got 0
this is using: python 2.7.2, qt 4.7.3, sip 4.12.3, pyqt 4.8.4
the following test case demonstrates the problem:
import sys
from PyQt4 i
On 21/06/11 17:04, David Townshend wrote:
The problem is that creating (and quitting) multiple QApplications in
succession causes a segfault. This situation tends to occur in unit tests,
particularly in testing subclasses of QApplication.
The following snippet illustrates the problem:
>>> fro
On 22/06/11 20:49, David Townshend wrote:
On Wed, Jun 22, 2011 at 2:34 PM, Baz Walter wrote:
according to the qt docs, only one application object should be created at
a time, and there is a global qApp pointer which refers to the current
instance.
this suggests that, in pyqt, something like
On 28/06/11 16:50, Nathan Weston wrote:
QLineEdit has some keyboard shortcuts (e.g. Ctrl+Z for Undo) that clash
with the shortcuts for QActions in my application menus. When a
QLineEdit has keyboard focus, it intercepts these shortcuts and my
QActions are never triggered.
I'd like to give applic
On 28/06/11 19:17, Hans-Peter Jansen wrote:
On Tuesday 28 June 2011, 19:56:35 Nathan Weston wrote:
In the latter mode, the widget is temporarily set as non-editable, so
its built-in Undo behavior doesn't work at all (but it still eats the
keyboard event!).
If you're subclassing QLineEdit anywa
On 28/06/11 19:28, Yaşar Arabacı wrote:
On 28/06/11 19:17, Hans-Peter Jansen wrote:
On Tuesday 28 June 2011, 19:56:35 Nathan Weston wrote:
In the latter mode, the widget is temporarily set as non-editable, so
its built-in Undo behavior doesn't work at all (but it still eats the
keyboard event
On 29/06/11 14:50, Nathan Weston wrote:
On 6/28/2011 2:17 PM, Hans-Peter Jansen wrote:
On Tuesday 28 June 2011, 19:56:35 Nathan Weston wrote:
If you're subclassing QLineEdit anyway, what does stop you from
overriding keyPressEvent to catch and accept() any unwanted key
presses?
I can certainly
On 29/06/11 18:21, Nathan Weston wrote:
On 6/29/2011 1:07 PM, Baz Walter wrote:
as was suggested earlier in this thread, if the line-edit doesn't have
the keyboard focus, it can't trigger its own shortcuts. if it *does*
have the focus, but the shortcut sequence is not one it ha
On 29/06/11 18:57, Nathan Weston wrote:
On 6/29/2011 1:32 PM, Baz Walter wrote:
going back to your earlier example of dragging in the line-edit to
change its value: all you need to do is clearFocus() when the drag
starts and setFocus() when the drag ends. that way, whilst the drag is
in
On 30/06/11 16:56, Nathan Weston wrote:
On 6/30/2011 10:44 AM, Nathan Weston wrote:
On 6/29/2011 6:16 PM, Baz Walter wrote:
I updated to the latest Qt/PyQt and it's working now. My original
application is working correctly as well.
glad you got it working.
one final thought: rather stu
On 07/07/11 13:00, Algis Kabaila wrote:
On Thu, 7 Jul 2011 09:03:47 PM Hans-Peter Jansen wrote:
On opening a file dialog, I get this warning:
KGlobal::locale::Warning your global KLocale is being recreated with
a valid main component instead of a fake component, this usually
means you tried to
On 08/07/11 02:36, Algis Kabaila wrote:
On Fri, 8 Jul 2011 03:36:40 AM Baz Walter wrote:
Hmm, at the first glance, this is a KDE problem, since KDE plugs its own
file dialog into Qt, but fails to properly deal with locales there
after due to them not being initialized correctly. This is going
On 08/07/11 10:22, Raoul Snyman wrote:
On Fri, 8 Jul 2011 19:00:52 +1000, Algis Kabaila wrote:
I think it is time to give it rest, unless someone can suggest antother
lead.
The fun of it begins to feel like bashing one's head against a wall.
After all I can live with the "dire warning" message.
On 14/07/11 18:21, James Polk wrote:
Aside from the "depth" modifiers in the email subject,..
Are there any other, more specific, ways to alter, control, and/or modify a UI's
"depth" ?
QWidget.stackUnder
http://doc.qt.nokia.com/4.7/qwidget.html#stackUnder
QStackedLayout / QStackedWidget
htt
On 15/07/11 07:48, Algis Kabaila wrote:
Currently reputable distros such as ubuntu do not package binaries of PyQt
with Python3. There are other "unsupported binaries" in some ppa's (Personal
Packaging Archives).. The ones that I looked at do not bother to tell me what
version of Python they ar
On 25/07/11 12:20, Susana Sanchez Exposito wrote:
I would like if the user selects the option to open the modeless dialog and
this dialog is opened yet, this dialog would be focused instead of opening
another window of the same modeless dialog.
import sys
from PyQt4 import QtGui, QtCore
class
On 06/08/11 00:35, emmanuel_mays...@lynceantech.com wrote:
I am trying to save the geometry and and the workspace where the application
has been closed.
Is there a way with Python/Qt to get the info on the workspace number!?
you could use dbus:
>>> import dbus
>>> bus = dbus.SessionBus()
>>>
On 05/08/11 17:46, Eric Frederich wrote:
Any takers?
On Thu, Jul 7, 2011 at 12:38 PM, Eric Frederich
wrote:
Hello,
I am trying to create a login dialog for my application.
Logging in can take a couple of seconds so I wanted to show a progress
bar during the login process.
I think that for my
On 06/08/11 23:59, Hans-Peter Jansen wrote:
On Saturday 06 August 2011, 01:35:55 emmanuel_mays...@lynceantech.com
wrote:
I am trying to save the geometry and and the workspace where the
application has been closed. Is there a way with Python/Qt to get the
info on the workspace number!?
While A
On 08/08/11 14:58, Eric Frederich wrote:
I'm just a little confused on what connections to make.
I'm sure I could get something working but I'd be going about it the wrong way.
Forget my original post.
This is what I want.
I want a login dialog with username, password and group.
I want that dia
On 13/09/11 15:14, ad...@mbnoimi.net wrote:
Actually I asked for this issue in another thread but I faced a problem can't
find any solution for it, so could you please help me to fix it?
When I run the following class I get "TypeError object of type int has no len()"
at for loop line 51. "messag
On 20/09/11 18:56, Hugo Léveillé wrote:
I am writting a quick application inside another software that use PyQT
In previous version, I could sort all my listwidget without any problem
using the .sortItems()
But in the latest release of that version, I get the following error on
some of my listwi
On 20/10/12 08:11, Mark Summerfield wrote:
Hi,
I have built local versions of Qt 4.8.3, Python, SIP, and PyQt on an
Xubuntu machine which has Qt 4.8.1 as its system Qt:
$ cd qt483src
$ ./configure -prefix ~/opt/qt483
$ make && make install
$ cd py33src
$ ./configure --prefix ~/opt/py33
$ make
nt i.geometry().rect()
(11, 14, 47, 16)
That last QLayoutItem corresponds with the 'Look in' label at the top of the
dialog. Shouldn't it be a QWidgetItem? It would have to be for i.widget() to
return a QLabel - wouldn't it?
BTW, I am using python 2.4.1 pyqt 3.14.1 and sip 4.2.1
Thanks for any thoughts you might have on this.
--
Baz Walter
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
r(c.layout()) # sub-class would return a QHBoxLayout, here
'None'
Can this be fixed, so that only the correct sub-classes are produced by the
layout iterators, please?
--
Baz Walter
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
y much for taking the time to look at this, Phil.
I look forward trying out the new snapshots next week :-)
--
Baz Walter
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Hello folks
I have just downloaded and installed the latest snapshots from here:
http://www.river-bank.demon.co.uk/download/snapshots/
but they don't seem to include some of the recent changes I was expecting. Is
snapshot-20050709 the most up-to-date one available?
--
Baz W
tMenuEvent, leaveEvent and so forth. The Attribute Errors all refer to
methods and instance variables that have been added to sub-classes.
Is this a known bug?
--
Baz Walter
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.
" style on my Linux box, so I don't get the
question icon, either :(
The Qt docs state that QMessageBox "...defines the Question, Information,
Warning, and Critical icons for each GUI style", so I suppose there must be a
bug somewhere in Qt or PyQt.
--
Baz Walter
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
ssed, will toggle
all top-level folds.
Clicking on a fold button with the Ctrl key pressed it will toggle all child
folds.
HTH
--
Baz Walter
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
oon learned the best way to handle them, though: immediate
conversion to a python unicode object :-)
So, a definite +1 from me on getting rid of QStrings.
python-comes-before-qt-in-pyqt-ly yours
--
Baz Walter
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
olded (you'd
have to look at the source code to see how the various flags were set). All
in all, I'd say that this was a fairly tricky problem for a relative newcomer
to pyqt to take on. And, ironically, if you managed to crack it, I reckon
your code would probably end up looking more
QextScintilla.SCI_POSITIONFROMLINE, line, 0)
self.emit(
SIGNAL('SCN_MARGINCLICK(int,int,int)'),
(linepos, btnstate, 2))
(A ctrl+click toggles all the child-folds of a foldable line.
A shift+click expands all the child-folds of a foldable line).
HTH
--
Baz
e this could be made to work?
--
Baz Walter
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
llBar_ValueChanged(int value)
> {
> valueString = QString("value = %1\n").arg(value)
> self.TextEdit.append(valueString)
> }
>
pyuic translates the argument names to (self,a0,a1,a2...etc)
So the "value" argument in your example should be accessible as "a0"
--
plications are
missing.
Also, would it be a good idea to add something to the docs about how pyuic
translates the names of slot parameters (see the earlier thread "designer:
passing an argument to a slot")?
--
Baz Walter
___
PyKDE m
efs).
Can anyone point me in the right direction?
TIA
--
Baz Walter
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
the versions in Gentoo 2005.1
> Docbook won't be used for PyQt4 - I'll use ReST as SIP does at the moment.
>
> Phil
HTH
--
Baz Walter
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
convert the your ui file to a python module. Then import the Form1 class from
this module and create an instance of it to set as the mainWidget. The table
can then be accessed as self.main.table3 (or qApp.mainWidget().table3) in
your example.
HTH
--
Baz Walter
__
On Sunday 04 Dec 2005 14:01, Phil Thompson wrote:
> On Saturday 03 December 2005 6:08 pm, Baz Walter wrote:
> >
> > Hello Phil
> >
> > I've created a PyQt4 port of the tetrix example from Qt v4.x, which is
> > attached. It's not been tested to destructio
Unfortunately, On Monday 05 Dec 2005 00:33, Baz Walter wrote:
> After some further playing around with the tetrix example I have found
> another fairly minor issue which picks up on some points made later in this
> thread. There are some functions in the QPainter class which have a const
sary.
>
> Thanks !
>
Hi
i've almost completed tools/settingseditor and the three examples in the
layouts folder. i was also thinking of doing xml/dombookmarks, if no one else
has started on that...
Regards
--
Baz Walter
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
1 - 100 of 178 matches
Mail list logo