is refreshed ok :-)
Il giorno 08/feb/2011, alle ore 10.35, Massimo Di Stefano ha scritto:
hello All
have you never tried to embed a matplotlib 3d graph inside pyqt ?
i'm tring to do it .. but i've problenms to refresh my plot.
The 3d data are displayed ok inside a pyqt simple widget
hello All,
i'm tring to use QtPainter to display a QImage object
this is my paint event :
def paintEvent(self, event):
painter = QPainter(self)
painter.fillRect(event.rect(), QBrush(Qt.black))
image = self.receiver.getimage()
print image , 'passed'
)
self.__PIL2Qt(self.PILimage)
thanks to All !!!
Massimo.
Il giorno 05/gen/2011, alle ore 22.46, Massimo Di Stefano ha scritto:
hello All,
i'm tring to use QtPainter to display a QImage object
this is my paint event :
def paintEvent(self, event):
painter = QPainter
Hello All,
tring to run pyuic on a .ui file generated by Qt-Designer, i had this error :
http://paste.debian.net/99004/
the same .ui file worked fine some weeks ago :-/
i'm on mac osx running python2.7 Qt-cocoa, pyqt4.8
thanks for any hints on how to fix/debug the problem.
the complete log
Thanks !
i updated pyqt to 4.8.1
pyuic now works fine :-)
Ciao,
Massimo.
Il giorno 04/nov/2010, alle ore 13.30, Phil Thompson ha scritto:
On Thu, 4 Nov 2010 13:27:13 +0100, Massimo Di Stefano
massimodisa...@yahoo.it wrote:
Hello All,
tring to run pyuic on a .ui file generated by Qt
Hello All
i'm tring to learn how to use Qthreads inside my app, so i wrote this example :
(it print out the text from the lineEdit widget, at any text-changes)
import sys
from PyQt4 import QtCore, QtGui
import time
class Gui(QtGui.QWidget):
def __init__(self, parent=None):
)
window = TableWidget()
window.show()
sys.exit(app.exec_())
thanks to All the PyQt community for the powerfull help you provide !!!
Happy coding to All,
Massimo.
Il giorno 09/set/2010, alle ore 19.01, Baz Walter ha scritto:
On 09/09/10 14:29, Massimo Di Stefano wrote:
tring
Hi All.
i'm tring to learn a similar things ... but i can't find a solution yet :-(
i wrote a sample code from where i'm tring to start to learn how to implement a
drag-ndrop action :
import sys
import os
from PyQt4 import QtCore, QtGui
from table_ui import Ui_Form
class Gui(QtGui.QWidget,
Hello All
i'm tring to learn PyQt and how to use it with threads.
the sample code is : http://paste.debian.net/87646/
the problem is at line 29 ,
i need to display in the lineEdit self.textout2
the value displayed in self.textout
to show the value when i stopped the thread :
line 29
Hi,
I'm tring to build sip on mac osx using python compiled from source
in a standard unix fashon, without framework.
i used this line to configure sip :
python configure.py -d /usr/local/gislib/unix/lib/python2.6/site-packages -b
/usr/local/gislib/unix/bin -e /usr/local/gislib/unix/include -v
Il giorno 01/giu/2010, alle ore 13.01, Phil Thompson ha scritto:
On Tue, 1 Jun 2010 12:49:16 +0200, Massimo Di Stefano
massimodisa...@gmail.com wrote:
i tried to remove :
-framework Python
from the file :
PyQt-mac-gpl-4.7.3/designer/Makefile
but the error persists :
I have
Hi,
i'm tring to modify the code you pasted
using the suggested modification, but i'm not able to run it
with a working pause action.
Can you point me to a working version,
i'm tring to learn from it.
It is a cool example to learn how to use thread in PyQt
Thanks a lot!!!
Massimo.
Il giorno
Hi All,
I'm tring to embedd a matplotlib_figure + matplotlib_mouse_action inside a pyqt
gui
the figure i'm plotting is displaied ok in pyqt but i have problems to send
the text from the mouse action to a line edit.
i id an external class delegate to this job, but i'm not a good programmer
and
Hi You need the 64bit version of Qt (cocoa)
then to build sip and pyqt i used :
SIP :
python2.6 configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin \
-e /usr/local/include -v /usr/local/share/sip --arch=x86_64
PYQT :
python2.6 configure.py -d /Library/Python/2.6/site-packages
\
-e /usr/local/include -v /usr/local/share/sip --arch=i386
PYQT :
python2.6 configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin
--use-arch i386
Il giorno 25/feb/2010, alle ore 15.01, Darren Dale ha scritto:
On Thu, Feb 25, 2010 at 8:33 AM, Massimo Di Stefano
massimodisa
Hi All,
the files :
http://www.geofemengineering.it/data/qt_proc.py
http://www.geofemengineering.it/data/wx_proc.py
are 2 examples extracted from a book,
they do the same things but the pyqt example give me :
Traceback (most recent call last):
File qt_proc.py, line 102, in module
Hi All,
i'm tring to install pyqt on my snow leopard, until the last week i used :
Qt-4.6 build from source (-cocoa) and pyqt4.6.2 (all worked fine)
for some reason i had to switch to a Qt4-4.6 (dmg installer -64bit)
and now tring to install pyqt (i tried both pyqt-4.7 (+sip-4.10) and
Hi,
i find an itersting python library that uses osg (openscenegraphic)
the libs are avaiable here : http://code.google.com/p/osgboostpython/[
have you any clue on what is needed to run
a such 3d viewer engine, inside a pyqt application ?
thanks for any hints!
Ok guys,
installing the stable release for sip and pyqt instead of the snapshot version
now all compile and works fine!
thanks!
Massimo.
Il giorno 06/dic/2009, alle ore 04.03, Massimo Di Stefano ha scritto:
hi,
have you any clue about this error
http://paste.debian.net/53267/
g
it works with no problems.
i'm on snow leopard using the system python.
thanks!
Massimo.
Il giorno 06/dic/2009, alle ore 22.41, Mitchell L Model ha scritto:
Date: Sun, 6 Dec 2009 04:03:11 +0100
From: Massimo Di Stefano massimodisa...@yahoo.it
Subject: [PyQt] build pyqt on mac osx 10.5.6
hi,
have you any clue about this error
http://paste.debian.net/53267/
g++ -c -pipe -fno-strict-aliasing -O2 -arch x86_64 -Xarch_x86_64
-mmacosx-version-min=10.5 -fPIC -Wall -W -DQT_NO_DEBUG -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.6.0/mkspecs/macx-g++ -I.
Hi,
Starting on a fresh osx Snow Lepoard installation, what it the procedure to
follow to have pyqt up and running ?
i tried to Qt-4.5.3 installer, but it fails with a nerror (no succesfull
installation)
So i tried the last Qt4.6 release candidate (i choose the sdk big download)
it install
,
Massimo
Il giorno 22/giu/09, alle ore 20:01, David Boddie ha scritto:
On Sun Jun 21 17:37:54 BST 2009, Massimo Di Stefano wrote:
I'm tring to get a solution,
i searced for similar code in the pyqt examples source code
but i can't find nothig similar.
is the question i proposed comprensible
I'm tring to get a solution,
i searced for similar code in the pyqt examples source code
but i can't find nothig similar.
is the question i proposed comprensible?
i hope some one can help me, thanks a lot to All!
regards,
Massimo
Il giorno 19/giu/09, alle ore 01:24, Massimo Di Stefano ha
(use the -d flag when calling
pyuic4)
i uploaded the -d log and the .ui file here :
http://www.geofemengineering.it/data/pyuic4__log.txt
http://www.geofemengineering.it/data/planetsashaui.ui
thanks to All for any suggestion on how to debug this problem!
regards,
Massimo Di Stefano
())
as you can see the gui do not exit from the while statment
and it freeze ...
i know, i need to learn more about QTrhead usage...
an example on how to change the previouse code, will give me a great
help!
thanks for help me !!!
Massimo Di Stefano
massimodisa...@yahoo.it
epifanio
the button,
tried with :
self.connect(self.gcenter, QtCore.SIGNAL(released()),
self.thread.quit)
but give :
AttributeError: stop
Il giorno 05/apr/09, alle ore 19:56, massimo di stefano ha scritto:
Hi All,
i'm doing my first experience using pyqt and tring to learn more
about
)
and compare the class and methods used to in your python-code.
.
really thanks for the help !!!
have good Q-time :-)
Massimo Di Stefano
massimodisa...@yahoo.it
epifanio on irc.freenode.net /join gfoss
Il giorno 06/apr/09, alle ore 00:04, Hazen Babcock ha scritto:
Arnold Krille wrote
]: *** [QtHelp.so] Error 1
make: *** [all] Error 2
at these link a text file with the complete log fro sip and pyqt build :
http://www.geofemengineering.it/data/pyqt_osx_build.log
Thanks a lot for any help!
regards,
Massimo Di Stefano
massimodisa...@yahoo.it
epifanio on irc.freenode.net /join
ok, the simlink did the job :-)
now
qt-4.5
sip-4.8-snapshot-20090311
PyQt-mac-gpl-4.5-snapshot-20090311
are compiled on osx.
i'll try to run some examples to see if all woks fine :-)
thanks for the help!
Massimo Di Stefano
massimodisa...@yahoo.it
epifanio on irc.freenode.net /join gfoss
Hi
i'm relative new to qt-pyqt
i'm not a developper, but for my study (and passion) i need to learn
about.
in these days i'm tring to know how to work with asyncronous data,
ma targhet is to make a gui to display data that come from a serial
port.
to do these .. googling i find a script
Hi,
i solved my issue:
i changed in my module the line :
from
L = io.read_array(input_uno)
to
L = io.read_array(str(input_uno))
now all works fine :-)
now read_arra is able to read the file, passed as string from the gui.
thanks to python and qt people that helped me!!!
hi,
i'm tring to write a gui for a python module,
the module run fine in the python shall.
i'm using it in this manner :
from affine import affine
print affine('/path/tu/file_1', '/path/tu/file_2', '/path/tu/file_3',
'/path/tu/file_3')
the module affine is :
#!/usr/bin/env python
Apologize me for a little sintax error in the previouse post , i
corrected it to :
Il giorno 29/ott/07, alle ore 03:28, massimo di stefano ha scritto:
hi,
i'm tring to write a gui for a python module,
the module run fine in the python shall.
i'm using it in this manner :
from affine
34 matches
Mail list logo