f range", file
> ../../include/QtCore/../../src/corelib/tools/qvector.h, line 350
>
> I'm running the latest snapshot of PyQt5.1 (
> PyQt-gpl-5.1.1-snapshot-41b8f6ca2ea4. ) and stable Qt5.1.1 built from
> source on Ubuntu 12.04.
Should be fixed in tonight's snapshot.
Thanks,
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
ure you are picking up the latest sip.h and not the one installed on
the pi by default (which is too old).
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
e PageSize enum is defined in the QPagedPaintDevice class.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
here can I find
> the QtDeclarative module and the QDeclarativeView class?
Use PyQt4 (built against Qt5). PyQt5 doesn't support anything in Qt5 that
is marked as obsolete.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www
igure.py with the --verbose flag to see
what's happening.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Tue, 08 Oct 2013 10:29:44 +1100, Stephen Gava
wrote:
> On 07/10/13 23:36, Phil Thompson wrote:
>> Hopefully fixed in tonight's PyQt5 snapshot, or try the attached patch.
>
> great thanls Phil, i'll try building the snapshot when it's available
> and test that
gt; pixmap.fill(QtGui.QColor(id))
> return pixmap
>
> ImageProviderGUI()
> ---
> import QtQuick 1.1
>
> Image {
> source: "image://cover/red"
> }
> ---
> Also the requestPixmap method takes one parameter less in PyQt5. So
On Mon, 07 Oct 2013 11:27:56 +1100, Stephen Gava
wrote:
> Phil, i've attached a simple test case that illustrates this problem,
> here it is inline:
>
> import sys
>
> from PyQt5.QtWidgets import (QApplication,QMainWindow)
>
> class MainWindow(QMainWind
nux.
>>
>>
>>
>> ___
>> PyQt mailing listPyQt@riverbankcomputing.com
>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> Works too with Python 3.2.3, Qt 5.0.2, PyQt 5.0, on 64bit Ubuntu
It's Ok
deEncodeError: 'ascii' codec can't encode character u'\u2019' in
> position 0: ordinal not in range(128)
> qcCurlyApostrophe = QChar(8217) # int workaround ok
>
> So - user error?
Yes.
> Or failure to recognize the "QChar::QCh
t least build for Qt 5.0.1.
>
> I will attempt to regress to PyQt5.0.1
Should be fixed in tonight's snapshot.
Thanks,
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
#x27;
>
> can anyone shed any light on this?
Do you have a small, complete test case that demonstrates the problem?
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
s.
>
> am i doing something wrong that somehow still worked under pyqt4?
Should be fixed in tonight's snapshot.
Thanks,
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
PyQt v5.1 has been released. This fully supports Qt v5.1, including the
new QtSensors and QtSerialPort modules. Also included is a (nearly)
complete set of OpenGL v2.0 and OpenGL ES/2 bindings.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
?
> I don't see anything relevant in configure-ng --help.
>
> I observe that /usr/include/qt4/* exists, presumably this is the old
one;
> but the Qt4 make-install put a lot of stuff in
> /usr/local/TrollTech/Qt4.8.5/*
>
> thanks,
> Dave Cortesi
Use the
e was already discussion about this (Raspbian)
> http://comments.gmane.org/gmane.comp.python.pyqt-pykde/25728
> but with no solution.
That was a different issue and, AFAIK resolved.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
and maybe this
> leads to
> the crash when trying to connect the signal to a slot.
>
> I'm using PyQt 4.9.1 and sip 4.13.2. I've attached a simple project to
> demonstrate the problem.
>
> David
SIP should probably complain about the typedef as you are effectively
providing two definitions for StringList.
Also in the current snapshot at least, you get a sensible exception.
Thanks,
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
ugin_dir.toUcs4();
>
> It looked like QVector was not defined, so I fixed the error including
the
> line:
> #include
>
> at the start of the file.After that, the file compiled fine.
>
> Tom
Already fixed.
Phil
___
PyQt mailing l
figuration file) but working out all the steps to create and
install a complete Python/Qt5/PyQt5 environment will take some
investigation. If anybody wants to have a go at this then please go ahead.
Phil
___
PyQt mailing listPyQt@riverba
re in Mixin ...
>
>
> I just don't understand why. Should I submit an executable test case?
PyQt emulates the Qt behaviour - signals can only be defined in QObject
sub-classes. The error message assumes that Qt classes are always the first
super-class.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
SIP v4.15.2 has been released. This is a minor functional release that
will be needed by PyQt v5.1. It also contains bug fixes needed by PyKDE4.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo
ng about the Designer plugin and the QML plugin, in particular.
> Are
> they Python version independent (I'm inclined on "no")? What can be done
> to
> ensure proper coinstallation of PyQt with both Py2 and Py3?
Do the same as what you do with PyQt4 - whatever that is.
r
of the argument) or it is a callable (in which case it is placed in a
variable called a?Callable).
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
QtSvgQtWidgets
> QtCore QtDesigner QtHelp
> QtMultimediaWidgets QtOpenGL QtQml
> QtSqlQtTest QtXmlPatterns
>
>
> Is there a flag I missed on build?
Run configure
pe::type(_name.constData());
>
> (I know how bad this is, but it's for demonstration purpose.)
>
> The output of the test program is then :
>
>
> itemChange return value : 0x89ba1dc>
> itemChange return value : 0x89ba1dc>
>
>
>
> Any ideas on how to fix this properly ?
Should be fixed in tonight's PyQt5 snapshot.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
he patch only works for Python source files that have
> Unix-style line endings, but doesn't make things any worse for other
> newline styles. Ideally, Python source files would be read in some kind
> of universal newlines mode...
>
> Could you please includ
rbage collected later. Personally I never use a
main() function and put the code at the module level under "if __name__ ==
'__main__'". It should only be a few lines anyway.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
anchors.centerIn: parent
> text: "Hello World"
> }
> MouseArea {
> anchors.fill: parent
> onClicked: {
> Qt.quit();
> }
> }
> }
You need to connect up the engine's quit() signal...
quickview.engine().quit.connect(app.quit)
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
For those interested, the current PyQt5 snapshot now fully supports Qt
v5.1 in all existing modules. The new modules (QtSensors and QtSerialPort)
are still to do.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http
SIP v4.15.1 has been released. This fixes a regression in v4.15 related to
the handling of hidden virtual methods. PyQt is unaffected.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Fri, 23 Aug 2013 16:53:44 +1200, Glenn Ramsey
wrote:
> On 18/08/13 22:32, Phil Thompson wrote:
>> The current PyQt5 and SIP snapshots are release candidates so any
testing
>> with them would be greatly appreciated.
>>
>
> I couldn't find QWidget::createWindo
hereas on the Pi, libpython lives here:
>> /usr/lib/arm-linux-gnueabihf/
>
> This patch solves the problem here: http://paste.debian.net/28414/
>
> "MULTIARCH" config var is available in Python 2.7.4+ and 3.3.1+
> according to https://wiki.
On Wed, 21 Aug 2013 19:51:59 +0200, Detlev Offenbach
wrote:
> Will we see a new QScintilla release in the next days as well?
No. PyQt v5.1 has priority.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.
On Wed, 21 Aug 2013 19:09:47 +0200, Detlev Offenbach
wrote:
> Hello Phil,
>
> is the latest QScintilla snapshot compatible with these releases of
PyQt4
> and sip?
Yes.
Phil
___
PyQt mailing listPyQt@riverbankcomput
cene.
- The DBus main loop module has been renamed to dbus.mainloop.pyqt5 from
dbus.mainloop.qt.
- Added the --no-qml-plugin and --qml-plugindir options to configure.py.
- Added many QtMultimedia, QML and QtQuick related examples.
- Classes now support co-operative multi-inheritance. (This may
PyQt v4.10.3 has been released. This is a minor bug fix release.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
SIP v4.15 has been released. This is a significant functional release and
is required by PyQt v5.0.1 and PyQt v4.10.3.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
is owned by Python." Could I get
> some clarification on this?
>
> [1]
>
http://pyqt.sourceforge.net/Docs/sip4/annotations.html#function-annotation-Factory
> [2] http://pyqt.sourceforge.net/Docs/sip4/using.html#id7
The first reference is incorrect, it should be Python.
Ph
gt; destructor of the wrapped c++ instance (this is done during
> destruction of ParentObject).
The Python destructor will not call the C++ destructor if the C++ instance
has a parent. If you think it does then provide a test case that
demonstrates it.
> I am wondering
details:
> http://bugs.python.org/issue17330
>
> Thanks,
> Richard Mitchell
Thanks - note to self, buy a faster Mac.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On 09/07/13 17:03, Giuseppe Corbelli wrote:
On 07/07/2013 11:51, Phil wrote:
Thank you for reading this.
How to I access my toggle button slot without clicking on the button?
For example:
if hr == 19:
# this button is accessible
self. on_pushButton_clicked()
# this fails because checked is
will be able to do it with the next release (PyQt v5.0.1).
The new features of Qt v5.1 will be supported by the release after that
(PyQt v5.1).
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
‘sipClassTypeDef {aka
_sipClassTypeDef}’
> make[1]: *** [sipQtCoreQTimerEvent.o] Erreur 1
> make[1]: quittant le répertoire «
> /home/vincent/Téléchargements/PyQt-x11-gpl-4.10.2/QtCore »
> make: *** [sub-QtCore-make_default-ordered] Erreur 2
Some more information would be useful.
As nobody
licate symbols. What I have not been able to figure out though is
> exactly why this is happing and how to fix it. I have not manually
edited
> any of the PyQt files and I would think "make clean" should have taken
care
> of duplicates from my prior i
l with PyQt4 and PyQt5.
It's a Qt bug - they've broken compatibility.
There will be a workaround in tonight's snapshots.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
@pyqtSignature("")
def on_pushButton_clicked(self):
@pyqtSignature("bool")
def on_ledButton_toggled(self, checked):
--
Regards,
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Sat, 6 Jul 2013 07:30:43 -0700, br...@stottlemyer.com wrote:
> Hi Phil,
>
> I am trying to see if SIP will help me with a task I'm trying to solve.
I
> started out by trying the More Complex C++ Example in the docs.
However,
> I'm using Qt5, and the example i
g google but i found only
> people with the same problem but no solution.
> Looks like an pylupdate4 issue.
pylupdate parses the Python source file. It can't know that you are using
a translation function with a different name.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
wever, this trick seems quite unreliable because these magic numbers
> (1800, 2100, etc.) might vary from version to version. So is there any
> elegant way to wrap these types?
>
> In addition, I personally think it is favourable to generate `sipType's
On Wed, 3 Jul 2013 06:58:56 -0700 (PDT), egus wrote:
> Thanks for the direction Phil.
>
> I added sip.setdestroyonexit(False) to__init__ in my MainWindow class
and
> that appears to have negated the crashing on the two apps I tried it on.
> Simply commenting that command out a
Fault Module Name:QtGui4.dll
> Fault Module Version:4.8.4.0
>
> About 10% of the time, the first time I run the app, it will not crash
> until I run it again, click on some widgets, etc, and then exit.
Try experimenting with sip.setdestroyonexit().
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
syntax? Any suggestions are welcome :)
>
> P.S. I know python is object-oriented, but I think this particular
> approach is still pratically useful in some situations (and OOP
> itself is not a "silver bullet"), so it might not be meaningless to
> implement this.
You can't do it. Python needs to support module level descriptors for it
to be implemented.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Fri, 28 Jun 2013 18:42:39 +0100, Anzir Boodoo
wrote:
> Phil,
> On 28 Jun 2013, at 17:39, Phil Thompson wrote:
>
>> On Fri, 28 Jun 2013 10:20:24 -0500, William Kyngesburye
>> wrote:
>>> Though I see now what you mean by those lines in configure.py -
whatever
&
On Fri, 28 Jun 2013 10:20:24 -0500, William Kyngesburye
wrote:
> Though I see now what you mean by those lines in configure.py - whatever
> you give for --spec will be overridden by that 'darwin' if block. And
if
> it isn't macx-xcode it defaults to whatever Qt5 was compiled with,
probably
> clan
On Fri, 28 Jun 2013 17:16:27 +0100, Phil Thompson
wrote:
> On Fri, 28 Jun 2013 10:20:24 -0500, William Kyngesburye
> wrote:
>> Though I see now what you mean by those lines in configure.py -
whatever
>> you give for --spec will be overridden by that 'darwin' if block
On Fri, 28 Jun 2013 10:20:24 -0500, William Kyngesburye
wrote:
> Though I see now what you mean by those lines in configure.py - whatever
> you give for --spec will be overridden by that 'darwin' if block. And
if
> it isn't macx-xcode it defaults to whatever Qt5 was compiled with,
probably
> clan
ot. In fact the current snapshot fully
implements QtMultimedia and QtMultimediaWidgets. I'm just in the process of
porting the camera example (seems to work fine).
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On 28/06/13 18:56, Phil Thompson wrote:
On Fri, 28 Jun 2013 15:35:20 +1000, Phil wrote:
Thank you for reading this.
I'd like to draw on a QFrame.
The following does draw a line but not on the frame, instead the line is
drawn on the main window.
I've done this years ago wit
On Fri, 28 Jun 2013 15:35:20 +1000, Phil wrote:
> Thank you for reading this.
>
> I'd like to draw on a QFrame.
>
> The following does draw a line but not on the frame, instead the line is
> drawn on the main window.
>
> I've done this years ago with Qt and
> -p macx-llvm
>
> It's odd though, even on OS X 10.7, I get macx-g++ as the default for
SIP.
>
> If PyQt 5 ignores SIP for the spec, maybe there's a similar option when
> compiling PyQt 5 to set the spec.
It's --spec
Phil
_
re.Qt.yellow, 4)
qp.setPen(pen)
frame.drawLine(event, qp)
qp.end()
def drawLine(frame, event, qp):
qp.drawLine(10, 10, 30, 30)
--
Regards,
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomput
example, I'll have
another play when I get a chance.
--
Regards,
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
ethodCode
> .
> %End.
>
>
> But sip complains about the syntax error at line "%MethodCode". I am
using
> sip_4_13_2.
You have to duplicate the %MethodCode in each of the %If blocks.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On 25/06/13 22:34, Robert Kent wrote:
Hi Phil,
I don't know about using Kled, but I have an LED widget written in pure
python/PyQt4 which may suit your needs. You can download it from my
google code page here:
https://code.google.com/p/gulon-soft/downloads/list
Thank you Robert, Olive
On Tue, 25 Jun 2013 20:46:57 +0530, Shriramana Sharma
wrote:
> On Tue, Jun 25, 2013 at 8:19 PM, Phil Thompson
> wrote:
>> The code generator is the same for all Python versions.
>
> Hi thanks for this quick [as always! :-)] reply!
>
> So then it seems to me that the pac
it as such? (Even the upstream Debian Sid
> packages have the same situation.) Or is Sip the same for both Py2 and
> Py3 in which case I should install python-sip-dev even for Py3?
The code generator is the same for all Python versions.
Phil
___
if os.access(os.path.join(qt_config.QT_INSTALL_LIBS,
>> 'QtCore.framework'), os.F_OK):
>> self.qt_framework = True
>
>
> I'm by no means a Python expert (I'm at the beginning of learning Qt,
> certainly), but qt_co
a Kled to a PyQt project?
--
Regards,
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
ific bug. I was trying to avoid a warning message
when stripping a shell script.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
PyQtChart v1.3 has been released. This supports the new features of Qt
Charts v1.3.0. See...
http://blog.qt.digia.com/blog/2013/06/19/qt-charts-1-3-0-released-2/
It can be built against PyQt4 and PyQt5.
Phil
___
PyQt mailing listPyQt
> these modules co-installable, and it will be possible to use
> dbus.mainloop.qt in PyQt4 apps and dbus.mainloop.qt5 in PyQt5 apps.
Good point. Maybe it would be more explicit to call it pyqt5 rather than
qt5 (to avoid confusion with the PyQt4 built on Qt5 case)?
Phil
_
27;m not including new Qt5 things in PyQt4.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
rsor has been deleted
>
> What is wrong with my code?
Probably...
overrideCursor() returns a pointer to an internal copy of the cursor. This
is deleted by restoreOverrideCursor().
Before calling restoreOverrideCursor() make a copy...
cursor = QCursor(cursor)
Phil
___
On Tue, 18 Jun 2013 19:14:35 -0400, Luke Campagnola
wrote:
> On Fri, May 24, 2013 at 1:42 PM, Phil Thompson
> wrote:
>
>> On Thu, 23 May 2013 16:21:26 -0400, Luke Campagnola
>> wrote:
>> > Howdy,
>> > I am using PyQt 4.10.1 (Py2.7-qt4.8.4-x32) on wind
On Tue, 18 Jun 2013 16:40:25 -0400, Scott Kitterman
wrote:
> On Monday, June 17, 2013 10:13:32 AM Phil Thompson wrote:
>> SIP v4.14.7 has been released. This is a minor functional release but
is
>> required by PyQt v5.
>
> It would be nice if new SIP versions that intr
On Tue, 18 Jun 2013 08:15:44 +0200, Vincent Vande Vyvre
wrote:
> Le 06/06/2013 12:52, Vincent Vande Vyvre a écrit :
>> Le 05/06/2013 23:13, Phil Thompson a écrit :
>>> In PyQt5 the plugin is called libpyqt5.so. Which directory it goes in
>>> depends on how your Qt5
On Mon, 17 Jun 2013 08:46:45 -0700 (PDT), ruidc wrote:
> Congrats and thanks,
> will there be windows binaries for Py2.7 coming to sourceforge?
No. Apart from wanting to limit the number of installers (and to encourage
people to move the Py3), there is an issue building ICU with MSVC 2008.
. Unfortunately these
cannot co-exist with the PyQt4 installers.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
PyQt v4.10.2 has been released. This is a minor bug fix release.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
PyQtChart v1.2.1 has been released. This adds support for PyQt v5.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
SIP v4.14.7 has been released. This is a minor functional release but is
required by PyQt v5.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
on
> DLL. Adding
> "-lpython33_d" to each Makefile.Debug and "-lpython33" to
Makefile.Release
> solves this.
>
> I tried adding LFLAGS_DEBUG+="-lpython33_d" as parameter to the
configure
> script, but it had
> no effect on the makefiles.
>
&g
On Tue, 11 Jun 2013 16:04:15 +0200, Sébastien Petitdemange
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 06/11/2013 03:31 PM, Phil Thompson wrote:
>> On Tue, 11 Jun 2013 14:42:55 +0200, Sébastien Petitdemange
>> wrote:
>>> -BEGIN P
On Tue, 11 Jun 2013 14:42:55 +0200, Sébastien Petitdemange
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 06/11/2013 10:27 AM, Phil Thompson wrote:
>> On Tue, 11 Jun 2013 10:04:31 +0200, Sébastien Petitdemange
>> wrote:
>>> -BEGIN PGP S
IP v4.12 this is done for you.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Mon, 10 Jun 2013 09:22:12 +0100, Brendan Donegan
wrote:
> On 09/06/13 08:24, Phil Thompson wrote:
>> The current PyQt5 snapshot now has a stable API - what is currently
>> implemented is what will be in v5.0.
>
> Out of curiousity will this include the QtQml module?
No.
to make a release in the next two weeks.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
gt;- PyQt 4.10.1
>- SIP 4.14.6
>- Python 2.7.4
>
> Is it still a bug?
Difficult to say without a short, complete example that demonstrates the
problem.
The user data is correctly owned by the QTextDocument that the highlighter
is operating on. However
similar.
> If I'm not doing something wrong, do you want my patches to SIP and
PyQt5?
Always happy to consider patches.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
gt; - Is there perhaps a known alternative to datetime.strptime, where I can
> define the locale temporarily or which works with pyqt ?
>
> Thanks in advance
>
> Michka Popoff
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
asses in QtGui where I expected them,
but
> didn't see them.
>
> Any help would be much appreciated!
> Thanks
> Jay
You need PyQt v4.7 or later.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
ten in Python.
>
> So, it's an other place for theses plugins or it's not already supported
> in PyQt5 ?
In PyQt5 the plugin is called libpyqt5.so. Which directory it goes in
depends on how your Qt5 installation is configured.
Phil
ttr(widget, "set%s%s" % (ascii_upper(prop_name[0]),
> prop_name[1:]))(prop_value)
> AttributeError: 'QHBoxLayout' object has no attribute 'setMargin'
>
>
> The log_window.ui instantiates a QHBoxLayout,
On Thu, 30 May 2013 23:27:04 +0100 (BST), John Lee wrote:
> On Thu, 30 May 2013, Phil Thompson wrote:
>
>> On Thu, 30 May 2013 22:49:24 +0100 (BST), John Lee
wrote:
>>> Hi
>>>
>>> Is it possible to guarantee that a C++ destructor of a QObject
cess has terminated for other reasons). Is that possible?
>
> If I can't guarantee that from PyQt, can I write a simple sip wrapper
that
> will achieve the same end, without copying and pasting the Qt code?
sip.setdestroyonexit() might do what you want.
Phil
___
On Tue, 28 May 2013 16:46:16 +0100, Brendan Donegan
wrote:
> On 28/05/13 16:44, Phil Thompson wrote:
>> On Tue, 28 May 2013 14:18:20 +0100, Brendan Donegan
>> wrote:
>>> Hi,
>>>
>>> I'm interested in using PyQt5 to implement an application I'
cessary I'd be willing to add
> the support myself with a little guidance (depending on how complicated
> it is).
It will be added after the release of PyQt 5.0.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Fri, 24 May 2013 11:49:28 -0600, Larry Shaffer
wrote:
> Hi Phil,
>
> On Fri, May 24, 2013 at 10:34 AM, Phil Thompson
> > wrote:
>
>> On Tue, 21 May 2013 11:12:59 -0600, Larry Shaffer
>>
>> wrote:
>> > Hi Phil,
>> >
>>
t;>>> import weakref
>>>> ref = weakref.ref(img)
>>>> del img
>>>> ref
> # QImage was collected
>>>> sys.getrefcount(addr) # but refcount is still 3
> 3
>
>
> Can anyone recommend a good way to convert from ndarray to QImage
>
explode.txt" logfile in append mode, while C++
> uses
> qDebug()
They work the same as far as I can tell - though it's difficult to see as
the outputs are different.
The programs themselves are too different to be a sensible comparison.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
1 - 100 of 4339 matches
Mail list logo