python3-jinja2 and python3-pygments with py3
sphinx requires.
--
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
oppose it.
There is actually a Reply-To-List field that can be optionally added
to mails for this purpose but few mail clients (only KMail and
Thunderbird to my knowledge) actually support it. GMail certainly
doesn't!
--
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा
-I/usr/include/qt5/QtCore -I. -o rcc.o rcc.cpp
g++ -m64 -Wl,-O1 -o pyrcc5 main.o rcc.o -lQt5Xml
-L/usr/lib/x86_64-linux-gnu -lQt5Core -lpthread
make[1]: Leaving directory `/mnt/sda8/samjnaa/sr/PyQt-gpl-5.0/pyrcc'
... which seems to be OK. Help please!
--
Shriramana Sharma ஶ்ரீரமணஶர்மா
@Scott: Do you perhaps have some PyQt5 packages for Raring in a PPA
somewhere? Thanks!
--
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
but no
similar file in the python3-sip-dev package. Is this then a packaging
error and should I report 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?
--
Shriramana
for this.
--
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
packaging.
Thanks again!
--
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
-common.
--
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
the line to try to get the attribute
instead of set it.
Adding parantheses around the list corrected it. I forgot that only
when there is an enclosing parantheses or bracket (or with explicit \
like in C) will multi-line commands be recognized.
--
Shriramana Sharma
!
--
Shriramana Sharma
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
in the minimal test case which however doesn't have the
prohibitive problem). Besides, I'm using Py3 (see the first line of
the program) which automatically produces a float out of integer
division. And despite that I tried your suggestion and it makes no
difference.
--
Shriramana Sharma
!
--
Shriramana Sharma
#! /usr/bin/env python3
from PyQt4 . QtCore import *
from PyQt4 . QtGui import *
from math import sqrt
# float-string formatting function
def str_three_decimals ( a ) :
return str ( int ( a * 1000 + 0.5 ) / 1000 )
# mathematical function
def quadraticroots ( a, b, c
my Android phone
On Sep 20, 2012 2:19 PM, Phil Thompson p...@riverbankcomputing.com
wrote:
On Thu, 20 Sep 2012 07:34:10 +0530, Shriramana Sharma samj...@gmail.com
wrote:
In my recent work with Beziers I ran across this. A QPoint is *not*
automatically converted into a QPointF in Python/PyQt
(2.0, 2.0)
2*QPointF(1,1)
Traceback (most recent call last):
File stdin, line 1, in module
TypeError: unsupported operand type(s) for *: 'int' and 'QPointF'
Why is this? Thanks.
--
Shriramana Sharma
___
PyQt mailing listPyQt
only wrote the minimal thing in C++ so far.)
Thanks!
--
Shriramana Sharma
#! /usr/bin/env python
from PyQt4 . QtCore import *
from PyQt4 . QtGui import *
class BezierWidget ( QWidget ) :
def __init__ ( self, parent = None ) :
super ( BezierWidget, self ) . __init__ ( parent )
self
Hello. I previously reported a problem with drawing a rubberband and a
workaround was provided. I now find that I am unable to resize a
rubberband using a QRect which has been modified using setLeft etc.
Please see the attached files. The C++ version works whereas the Python
version does not.
//
Hello. See the following:
$ python
Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type help, copyright, credits or license for more information.
from PyQt4.QtGui import *
w = QWidget ()
QWidget: Must construct a QApplication before a QPaintDevice
see why.
Please look into the matter. Thanks for PyQt.
Shriramana Sharma.
References:
http://www.qtcentre.org/forum/f-qt-programming-2/t-qrubberband-doesnt-show-x11linux-16549.html
http://www.qtcentre.org/forum/f-qt-programming-2/t-unable-to-properly-implement-a-qrubberband-20109.html
// g
Hello. Didn't anyone notice this report? I now confirm that this bug
exists even in PyQt 4.4.4 / Qt 4.5.0 on Kubuntu Jaunty.
Shriramana Sharma.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo
is changed, no?
It also means that the minimum size of the widget becomes
fixed (10 * (height + (2 * margin))).
That's not a problem, is it? Or could it be?
Shriramana Sharma.
___
PyQt mailing listPyQt@riverbankcomputing.com
http
items increases when
items are added and how I can stop that from happening. The spacing
between the list items must be constant whether there are items or not.
Thank you list.
Shriramana Sharma.
#! /usr/bin/env python
# Copyright Shriramana Sharma 2007
# This program may be used under the GNU
items must be constant whether there are items or not.
Thank you list.
Shriramana Sharma.
#! /usr/bin/env python
# Copyright Shriramana Sharma 2007
# This program may be used under the GNU General Public License v 2.
# No warranty is provided for this program.
import sys
from PyQt4 . QtCore
to improve the PyQt uic
module documentation. Thank you.
Shriramana Sharma.
___
PyQt mailing list[EMAIL PROTECTED]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
this is happening and should it happen like
this. If not, can it be fixed?
Thanks.
Shriramana Sharma.
___
PyQt mailing list[EMAIL PROTECTED]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
written is C/C++ must have had to face this?
Shriramana Sharma.
___
PyQt mailing list[EMAIL PROTECTED]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
at the beginning. I
don't see any changes obtained by using 4.2 in this matter.
Shriramana Sharma.
___
PyQt mailing list[EMAIL PROTECTED]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
, is there any performance difference between
from PyQt4 import QtCore, QtGui
and
from PyQt4.QtCore import *
from PyQt4.QtGui import *
Thanks for PyQt and your help.
Shriramana Sharma.
___
PyQt mailing listPyQt@riverbankcomputing.com
http
change it to range(3).
3)
In the tutorial #08, in line 39 it should be LCDRange.setRange and not
LCDRange::setRange since :: is only in C++. This is a nitty-gritty since
the string is not in syntax but only user visible but still for the sake
of perfection.
Thanks for PyQt.
Shriramana Sharma
28 matches
Mail list logo