[PyQt] Is it possible to write plugins with PyKDE

2010-01-18 Thread Arthur Pemberton
Would it be possible to write a plugin for something such as Kopete with PyKDE? Is there any sample code that can be used as an example? -- Fedora 11 (www.pembo13.com) ___ PyQt mailing listPyQt@riverbankcomputing.com

Re: [PyQt] Subject: Website and Mailing List Move

2010-01-04 Thread Arthur Pemberton
On Sun, Jan 3, 2010 at 4:07 PM, Diego Casella ([Po]lentino) polentino...@gmail.com wrote: GMail recognized this digest as spam O.o I hope this info could be useful, cheers ! The email I am replying to was also identified as spam by Gmail, however my filter is set to never sent pyqt emails to

[PyQt] Looking for a sample drawling tool in PyQt4

2010-01-01 Thread Arthur Pemberton
I am in search of a sample shape drawing tool utilizing QGraphicsScene. I am especially interested in how selecting of shapes, moving and resizing is handled.The closest I have found so far is the supplied diagram scene example. All I really need to be able to do is create and manipulate labelled

[PyQt] How to visually remove row when doing OnManualSubmit on an QSqlTableModel?

2010-01-01 Thread Arthur Pemberton
I have subclassed QtSql.QSqlRelationalTableModel and I am using OnManualSubmit so that I can use an Okay/Cancel on my dialog box. However, when I attempt to removeRows on the model the status returned is True, but there is no visible change in my QTreeView. I have attached the subclassed model.

Re: [PyQt] Qt trying to load .uic instead of .ui

2009-03-17 Thread Arthur Pemberton
On Tue, Mar 17, 2009 at 7:56 AM, Till Gerken till.ger...@gmail.com wrote: On Mon, Mar 16, 2009 at 7:05 PM, Arthur Pemberton pem...@gmail.com wrote: when I try to do a uic.loadUi, th euic module tries to load a .ui file instead a .uic file. According to the documentation, uic.loadUi

[PyQt] Qt trying to load .uic instead of .ui

2009-03-16 Thread Arthur Pemberton
I don't seem to get responses here, I'm not sure if I just don't form my posts correctly. when I try to do a uic.loadUi, th euic module tries to load a .ui file instead a .uic file. This happens whenever there is a valid .pyc file. If I make a change to the code it works again. -- Fedora 9 :

[PyQt] Loading .uic instead of .ui

2009-03-11 Thread Arthur Pemberton
I am passsing in .ui files, but every now and then PyQt changes the extension to .uic and fails to load. What exactly is going on? -- Fedora 9 : sulphur is good for the skin ( www.pembo13.com ) ___ PyQt mailing listPyQt@riverbankcomputing.com

[PyQt] How to use QDataWidgetMapper?

2009-03-07 Thread Arthur Pemberton
I am trying the QDataWidgetMapper and I just can't figure out hot to use it for anything more complex than the fairly trivial examples I have seen. I have a QListView attached to my model. And the mapper attached to the model. I also have several QLineEdits which are mapped to the

Re: [PyQt] PyQt4 and Qt plugins (imageformats, etc.) fully supported now

2009-03-07 Thread Arthur Pemberton
On Mon, Feb 23, 2009 at 5:33 AM, Giovanni Bajo ra...@develer.com wrote: Hello, I've just added a new feature to PyInstaller: a module hook is now able to specify additional data files that are needed for the module to work correctly. Those data files are automatically collected when using

Re: [PyQt] PyKDE Question : Anyone know what's up with the KDE4 sample code?

2009-03-06 Thread Arthur Pemberton
On Fri, Mar 6, 2009 at 9:13 AM, Simon Edwards si...@simonzone.com wrote: Arthur Pemberton wrote: URL: http://websvn.kde.org/trunk/KDE/kdebindings/python/pykde4/examples/ I originally sent this to the PyKDE list, but it seemed to have bounced. So i'm trying here. Wasn't sure if other people

[PyQt] Connecting to a QItemModel

2009-03-06 Thread Arthur Pemberton
How does one connect to the signals of a QItemModel? I tried the following, but it didn't work: self.connect( self.model, QtCore.SIGNAL('itemChanged(QStandardItem 8)'), self.on_model_itemChanged ) and

Re: [PyQt] Connecting to a QItemModel

2009-03-06 Thread Arthur Pemberton
On Fri, Mar 6, 2009 at 6:22 PM, Mads Ipsen m...@comxnet.dk wrote: How does one connect to the signals of a QItemModel? I tried the following, but it didn't work: self.connect( self.model, QtCore.SIGNAL('itemChanged(QStandardItem 8)'),

Re: [PyQt] PyKDE Question : Anyone know what's up with the KDE4 sample code?

2009-03-06 Thread Arthur Pemberton
On Fri, Mar 6, 2009 at 9:13 AM, Simon Edwards si...@simonzone.com wrote: Arthur Pemberton wrote: URL: http://websvn.kde.org/trunk/KDE/kdebindings/python/pykde4/examples/ I originally sent this to the PyKDE list, but it seemed to have bounced. So i'm trying here. Wasn't sure if other people

Re: [PyQt] PyKDE Question : Anyone know what's up with the KDE4 sample code?

2009-03-06 Thread Arthur Pemberton
On Fri, Mar 6, 2009 at 9:13 AM, Simon Edwards si...@simonzone.com wrote: Arthur Pemberton wrote: URL: http://websvn.kde.org/trunk/KDE/kdebindings/python/pykde4/examples/ I originally sent this to the PyKDE list, but it seemed to have bounced. So i'm trying here. Wasn't sure if other people

Re: [PyQt] Re: Re: Any Large PyQt Projects?

2009-03-01 Thread Arthur Pemberton
On Sun, Mar 1, 2009 at 2:41 PM, Gustavo A. Díaz gustavo.d...@gmail.com wrote: Hi.    Yes... i try to maintain a clean code easy to understand (even if you don't understand the comments, the code is clean and readable). Indeed i am learning Python and Qt with this project.    About English as

Re: [PyQt] Re: Any Large PyQt Projects?

2009-02-20 Thread Arthur Pemberton
On Fri, Feb 20, 2009 at 9:13 AM, Toby Dickenson tdicken...@geminidataloggers.com wrote: Brent Villalobos wrote: I'm looking for examples from people who have written large PyQt applications and I would like to hear your opinions on what worked well and what did not specifically with choosing

[PyQt] QMovie not loading gif from resource after py2exe

2009-02-20 Thread Arthur Pemberton
I'm starting here as someone may be able to suggest something as it seems weird. I have a .py generated from a .qrc. I have several QActions which load PNGs successfully from my resources.py just fine. My .ui was done using Qt Designer. After py2exe, app seems to work just fine, including icons

[PyQt] Help with first desktop app: paths, and py2exe

2008-11-10 Thread Arthur Pemberton
have additional tips for deploying PyQt apps in Windows? Thank you, Arthur Pemberton -- Fedora 9 : sulphur is good for the skin ( www.pembo13.com ) ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo

[PyQt] Data binding to widgets/forms/dialogs

2008-11-07 Thread Arthur Pemberton
What is the best way to bind data (example from an SQLAlchemy entity) to a form (QDialog)? I have my own ideas of how to do it, but I'm trying to figure out what the best practices are for leveraging the power of Python in PyQt4. Thank you. -- Fedora 9 : sulphur is good for the skin (

Re: [PyQt] Re: PyQt4 and Python 3.0

2008-10-06 Thread Arthur Pemberton
On Mon, Oct 6, 2008 at 7:33 PM, Doug Bell [EMAIL PROTECTED] wrote: Giovanni Bajo wrote: On 10/6/2008 7:27 PM, Joshua Kugler wrote: Phil Thompson wrote: On Fri, 3 Oct 2008 17:11:19 +0200, Detlev Offenbach [EMAIL PROTECTED] wrote: Hi, will there be PyQt4 support for Python 3.0 once it goes

Re: [PyQt] PyQt4 and Python 3.0

2008-10-03 Thread Arthur Pemberton
On Fri, Oct 3, 2008 at 3:59 PM, Mark Summerfield [EMAIL PROTECTED] wrote: On 2008-10-03, Paul A. Giannaros wrote: On Fri, Oct 3, 2008 at 5:08 PM, Mark Summerfield [EMAIL PROTECTED] wrote: On 2008-10-03, Phil Thompson wrote: On Fri, 3 Oct 2008 17:11:19 +0200, Detlev Offenbach Here's my

Writing a PyQT4 app today (was Re: [PyQt] PyQt4 and Python 3.0)

2008-10-03 Thread Arthur Pemberton
On Fri, Oct 3, 2008 at 4:05 PM, Glenn Linderman [EMAIL PROTECTED] wrote: [ snip ] My personal situation is that I have only recently begun writing my first major PyQt application, using Python 2.5 and PyQt 4. This will take me a while also. Depending on how long our a whiles are, I hope to

[PyQt] PyKDE4 kioslave example

2008-07-06 Thread Arthur Pemberton
I am interested in developing a simple kioslave in python, something similar to this: http://kde-apps.org/content/show.php/New+sysinfo?content=84583 I am just looking for sample code since the PyQt/PyKDE4 references are a bit C++ heavy for me to use from scratch. Thank you. -- Fedora 7 :

Re: [PyKDE] Seperating logic code from gui code?

2005-12-18 Thread Arthur Pemberton
I think your advice wil be quite helpful, it wil take some rereading and googling, but thank you.On 12/18/05, David Boddie [EMAIL PROTECTED] wrote:On Fri, 16 Dec 2005, Arthur Pemberton wrote: Ideally, the console client would be simply a downloader, while the GUI would use the same mechanisms

Re: [PyKDE] Seperating logic code from gui code?

2005-12-16 Thread Arthur Pemberton
] wrote: On Thu, 15 Dec 2005, Arthur Pemberton wrote: I am new to Qt programming and PyQt. I am attempting to build a client for AllofMp3.com, I already have most of the logic code down. But now I want to build a GUI with PyQt. What rules should I follow to make the program useable in the console

[PyKDE] Seperating logic code from gui code?

2005-12-15 Thread Arthur Pemberton
Hello, I am new to Qt programming and PyQt. I am attempting to build a client for AllofMp3.com, I already have most of the logic code down. But now I want to build a GUI with PyQt. What rules should I follow to make the program useable in the console, but also with a GUI? Thank you.-- As a boy I

[PyKDE] Seperating GUI code from program logic

2005-12-04 Thread Arthur Pemberton
Hello, I am new to Qt programming and PyQt. I am attempting to build a client for AllofMp3.com, I already have most of the logic code down. But now I want to build a GUI with PyQt. What rules should I follow to make the program useable in the console, but also with a GUI? Thank you.-- As a boy I