Hi!
I'm learning Python and PyQt, I come from Java and C/C++.
I found PyQt very fast and effective but there's something that's killing my
brain. I'm trying to drop a file in a QWidget, i'm just interested about
getting the path. It's a file conversion tool.
I've implemented dropEvent, and set
can get the full path from every file or folder i drop inside the
QWidget. I didn't try under GNOME or XFCE.
El Friday 18 May 2007 14:39:56 David Boddie escribió:
On Fri May 18 03:57:43 BST 2007, Nahuel Defossé wrote:
I'm learning Python and PyQt, I come from Java and C/C++.
I found PyQt very
Hi!
I was, acctually i _am_ wondering if is possible to easily deploy pyqt apps
(speaking of GLP'd apps) under Windows?
Maybe a NSIS? Maybe another installer solution...
And if there's a way to make magical instllers is it possible to make them
without windows OS? I must be asking for too
Hi again
I'm trying to make a simple pdfnup gui, it's not a big deal, i know.
Is possible to render a PDF file to a GraphicScene or some other object...?
I think a preview feature would be nice for this kind of app.
Thanks
ps: i saw some qwt3d but i couldn't make it work...
I saw in ActiveState page the folowing code to make a singleton:
class Borg:
__shared_state = {}
def __init__(self):
self.__dict__ = self.__shared_state
# and whatever else you want in your class -- that's all!
And in all Qt classes I customize via inheritance I do the
El Wednesday 23 May 2007 08:09:15 Paul Giannaros escribió:
On Wednesday 23 May 2007 05:53:58 Nahuel Defossé wrote:
I saw in ActiveState page the folowing code to make a singleton:
class Borg:
__shared_state = {}
def __init__(self):
self.__dict__ = self.__shared_state
How can I create a table item that display some pixmap bar (like the stars in
amarok). I downloaded Amarok sourcecode, looked for delegate in all the
source codes, but i didn't find something useful.
Thanks
___
PyQt mailing list
Hi!
Is it possible to embed a video player (like mplayer, or xine) in a PyQt app.
If so, is it possible to go fullscreen and back?
Thanks
Nahuel
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Hi
I'm trying to build a PyQt (4.3) frontend for my CdCat catalogs. They are a
compressed XML files, which basicaly describes some kind of filesystem like
this:
catalog
media !-- This could be a CD, DVD, or Network Drive --
folder
file/file
Hi,
I'm sure there's a simple answer for this question.
I have a QSystemTrayIcon which sets its context menu with a custom class I
wrote with a few actions (exit, start, stop, status).
I conntect signals with QtCore.QMetaObject.connectSlotsByName(self), after
I've set up all actions in the menu
Hi!
I'm writing a small front end for my azureus using dopal (Swing ui is not for
me).
The thing is, I need to perform some background tasks so I need to use
threads. But, I have native python threads and also Qt threads. Seems like I
should use Qt's threads since they are QObject's, and
I've created my QApplication class like this:
class MyApp(QtGui.QApplication):
def __init__(self, *args):
super(MyApp, self).__init__(*args)
# bla bla bla
mywin = MyWin()
mywin.show()
self.exec_()
def say_hello(self):
print Hello
But, within
Hi!
I've made all my gui with designer. I have some List Views there that need
drag and drop funcitonality so I need to add them some methods to handle the
drop events properly, and set the accept drops to True... but I can't add
those methods with setattr, they don't work, it seems I have to
Hi,
I want to create some kind of QTextEdit, but for heximal data. What do you
recomend me?
Thanks
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Hi List,
I'm creating a little app which monitors file system alterations using
pyinotify. It works, but notifications are made with kde's kdialog, with
the --passivepopup dialog, and popen.
I wonder if I could make nice notifications similar to kdialog's or maybe
something like amarok osd.
I
Hi
I'd be glad to receive any hint about how to subclass QSpinBox in order to use
hex format.
Thanks
Nahuel
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Hi again,
when I build my application with PyInstaller 1.3, images are not loaded. In
the script these images are placed in the root folder of the project, but
even if I copy them to the dist folder which pyinstaller creates, they don't
get loaded :(
The code is pretty simple,
El Wednesday 19 November 2008 01:35:49 Nahuel Defossé escribió:
Hi!
I have a DWG drawing which I converted to svg, I would like to display it
on a QGraphicsView with zooming capabilities, scrolling seems natural to
QGraphicsView, but I haven't found any example of zoom (I don't care if
it's
Hi,
I'm trying to display a map on a QGraphicsView widget having some scrolling
and zooming. I need very basic interaction, add points, remove points, maybe
a contextual menu. The issue I'm experiencing is that zooming and scrolling
when on high zoom values is SLOW.
For zooming I use
Hi,
I'm trying to build a GUI for a CLI application which works with PIL (Python
Imaging Library). I'm experiencing image corruptions when I work with any
format but jpeg on a QGraphicsView/QGraphicsScene. I'm not sure if this is a
PyQt4 issue or a PIL issue.
Code attached.
I'm working on
Hi
my main development platform is linux, but I have to deliver win32 binaries
from time to time. I build them with py2exe and sometimes with PyInstaller,
but no matter which of them I use, it turns out that the minimum QtGui +
QtCore exe application footprint is 23MB. At least using the PyQt4
El Tuesday 13 January 2009 17:11:48 Nahuel Defossé escribió:
Hi
I'm working on a text editor (still in very early development state).
First, I tried to set my custom QTextDocument class (CodeDocument) each
time a new file was opened but I always got a segementation fault. So I
googled a bit
El Friday 16 January 2009 15:44:14 NoursBleu escribió:
Hi all !
I've created a simple QDialog with Qt-Designer 4, named ImageDialog and
only containing a pushButton called pushButton.
The file name is test.ui
Next I've used pyuic4 wich created a file named Ui_test.py containing :
El Sunday 18 January 2009 15:02:40 Matt Smith escribió:
I'm working on some image analysis, and displaying the result. One of
the problems I have is grayScale. I don't mind using 8bit for display,
but is there a default grayScale color table? I suppose I could make
one, but it would be nice
El Saturday 17 January 2009 20:37:15 Frédéric escribió:
I would like to implement this like Mark explains for tables, in its
paper, Qt 4's Model/View Delegates. As I'm new to Qt4, could you point
me to the good direction? I'm a bit lost in all the classes available
El Friday 16 January 2009 06:43:46 Frédéric escribió:
Hi,
My dialogs used some icons for buttons (move left, move right...), and
some of these buttons icons need to be changed dynamically according to
the current sequence.
They are very easy to use. Just create a qrc file, which is basically
El Tuesday 13 January 2009 06:17:36 Sergio Jovani escribió:
Hi list!
In my application I've created a process with QProcess and 'ffmpeg'
program. I offer to user cancelling process calling kill() method, but
I don't know if pausing it would be possible.
Is there any way to pause QProcess in
Hi,
I'm trying to reduce the size of my pyqt4 app executable so I'd like to
compile PyQt4 in different variations ( different modules compiled, for
example, some apps don't need QtSql module, or at least, some drivers, in
other cases QtSvg is not needed, some pieces of QtGui are not used on
Hi
I've created pdf output in a StringIO file which I'd like to print in my PyQt4
app. Should I save it and send it to the system default reader? or could I
automate this task? Is it possible to pirnt the file directly from PyQt?
Thanks
Nahuel
___
Hi,
after some google searches I discovered that I had to recompile PyQt to get
MySql support on windows. So I donwloaded Qt 4.4.3 from Trolltech (the version
recompiled and bundled with mingw), sip 4.7.9 and pyqt source 4.4.4.
I compiled sip with no problems. Then I compiled Qt's mysql driver
El Monday 09 March 2009 17:58:18 Nahuel Defossé escribió:
Hi,
after some google searches I discovered that I had to recompile PyQt to get
MySql support on windows. So I donwloaded Qt 4.4.3 from Trolltech (the
version recompiled and bundled with mingw), sip 4.7.9 and pyqt source
4.4.4. I
Stuart:
I was kind of hoping that PyQt's Qsql classes could save me some
work, but AFAICT, I need a Qsql.Database object to use them and
but a Postgreql driver is not available in binary for Windows.
You have to compile Qt and PyQt with Postgre suport on windows. I had to do
this for MySQL
Hi everyone
Has anyone tried to create windows executables with wine for your PyQt4 apps?
I've tried it in the past with no success but a strange behaviour.
Executables were
able to compile and run under wine, but when I tried to run them in
a actual windows
OS, they said they were no valid win32
Hi,
is there some way to detect weather a widget has been created from
Python (I belive through sip in the internals) and when it's been
created in C++.
I've come up with a very nasty solution that consists in checking for
a protected method and catching the RuntimeError. But I belive there
must
Hi
I've noticed that both QObject.trUtf8 and QObject.tr do not return
Python strings, what is rather unconvinient when using the % operator
to format strings.
I prefer str % operator since it accepts keyword arguments, something
that is not that simple QString.arg method.
What is your advice to
Hi,
we're working in a tabed text editor which uses QtGui's QTabWidget to
display a QPlainText edit for each tab.
We needed to enable or disable some menus depending on the QTextEditor
activity and some other
widgets surrounding the tab widget also need to be updated (for
example, the status bar
36 matches
Mail list logo