[PyQt] Drag and Drops on Mac OS X

2009-11-04 Thread Greg Smith
Hey everyone, I seem to be having difficulty getting drag and drops working on a tool I am porting over from Windows to OS X. The short and skinny is that I want to be able to drag a file from a finder into a model based list view and the file name show up in the list view. I get the cursor icon

RE: [PyQt] Using a QCompleter with a QLineEdit

2009-06-25 Thread Greg Smith
Awesome! Merci beaucoup. That did the trick! Greg -Original Message- From: projetmbc [mailto:projet...@club-internet.fr] Sent: Thursday, June 25, 2009 3:56 AM To: projetmbc Cc: Greg Smith; PyQt Subject: Re: [PyQt] Using a QCompleter with a QLineEdit projetmbc a écrit : Try to do

[PyQt] Using a QCompleter with a QLineEdit

2009-06-24 Thread Greg Smith
Hey Everyone, I'm trying to get a LineEdit I have in a tool I am writing to have the ability to auto complete the user's entry based on what they have typed. From the sounds of it, QCompleter is exactly what I am after and they work on QLineEdit widgets. However I am having difficulty getting

FW: [PyQt] Using a QCompleter with a QLineEdit

2009-06-24 Thread Greg Smith
Here is a very simple test. Just run it in a command shell, and be sure the .ui file lives in the same directory as the .py file. Greg -Original Message- From: projetmbc [mailto:projet...@club-internet.fr] Sent: Wednesday, June 24, 2009 11:00 AM To: Greg Smith Cc: pyqt

RE: FW: [PyQt] Using a QCompleter with a QLineEdit

2009-06-24 Thread Greg Smith
Sorry 4.4.3 for Python 2.5 -Original Message- From: Phil Thompson [mailto:p...@riverbankcomputing.com] Sent: Wednesday, June 24, 2009 5:45 PM To: Greg Smith Cc: pyqt@riverbankcomputing.com Subject: Re: FW: [PyQt] Using a QCompleter with a QLineEdit On Wed, 24 Jun 2009 13:44:30 -0500

[PyQt] uic.loadUi() and custom widgets

2009-06-24 Thread Greg Smith
I was curious if there was a way for a tool to have its Ui generated from a .ui file but still use custom widgets? I have a widget I wrote that inherits the QLineEdit widget in which I needed to modify the event() method so that a custom property will be modified if the backspace key was pressed

RE: [PyQt] trivial question regarding standarditemmodels

2009-06-12 Thread Greg Smith
? This is beginning to drive me nuts! Greg From: pyqt-boun...@riverbankcomputing.com [mailto:pyqt-boun...@riverbankcomputing.com] On Behalf Of Greg Smith Sent: Thursday, June 11, 2009 6:12 PM To: pyqt Subject: [PyQt] trivial question regarding standarditemmodels

RE: [PyQt] trivial question regarding standarditemmodels

2009-06-12 Thread Greg Smith
Nevermind figured out what my problem was, it was unrelated to PyQt and a threading issue. From: pyqt-boun...@riverbankcomputing.com [mailto:pyqt-boun...@riverbankcomputing.com] On Behalf Of Greg Smith Sent: Friday, June 12, 2009 9:36 AM To: pyqt Subject: RE

RE: [PyQt] images in PyQt QTextEdit widgets

2009-06-11 Thread Greg Smith
, 11. Juni 2009 schrieb Greg Smith: Hey everyone, I am having a bit of a problem when trying to display a jpg thumbnail image in a QTextEdit widget. I have a function that builds an html string that has includes the image as well as some properties regarding the image sequence that the thumbnail

RE: [PyQt] images in PyQt QTextEdit widgets

2009-06-11 Thread Greg Smith
One thing to try is to enter the following lines in an interactive Python session and see which formats are supported: from PyQt4.QtGui import * app = QApplication([]) QImageReader.supportedImageFormats() That looks like it was the case! I ran this in a python shell and low and behold no

[PyQt] trivial question regarding standarditemmodels

2009-06-11 Thread Greg Smith
Hey everyone. I have a QListView widget that is populated by a QStandardItemModel, which I populated using the appendRow method with a list containing QStandardItems. My question is that I am creating a gui to where the user can select multiple Items in the listview and press a button to remove

[PyQt] images in PyQt QTextEdit widgets

2009-06-10 Thread Greg Smith
Hey everyone, I am having a bit of a problem when trying to display a jpg thumbnail image in a QTextEdit widget. I have a function that builds an html string that has includes the image as well as some properties regarding the image sequence that the thumbnail represents. Once the string has been

[PyQt] compiling pyqt4 64-bit for local distribution

2009-05-06 Thread Greg Smith
to other machines at work? I'm fairly new with the world of compiling so I am not exactly sure what the process is to achieve what I am after. Thanks, Greg Smith Troublemaker Studios ___ PyQt mailing listPyQt@riverbankcomputing.com http

RE: [PyQt] PyQT64 for Windows

2009-05-04 Thread Greg Smith
I've been curious about that myself, I've scoured the internet and came to the conclusion that I need to compile one myself, which I am not looking forward to due to recent experiences. Greg From: pyqt-boun...@riverbankcomputing.com

[PyQt] QMessagebox audible alert question

2009-04-30 Thread Greg Smith
Just curious, if there was a way to silence the audible alert that occurs when a QMessageBox is invoked? I looked through the documentation briefly but didn't see any mention of such a procedure. Thanks, Greg Smith Troublemaker Studios ___ PyQt

RE: [PyQt] QLineEdit and focusOutEvent problem

2009-04-21 Thread Greg Smith
Well I found the solution, and it was simple enough to uses the editingFinished() signal, as this was exactly what I was looking for. Greg From: pyqt-boun...@riverbankcomputing.com [mailto:pyqt-boun...@riverbankcomputing.com] On Behalf Of Greg Smith Sent

[PyQt] QLineEdit and focusOutEvent problem

2009-04-20 Thread Greg Smith
Hello there, I'm new to the mailing list as well as PyQt in general, so please bare with me, and I apologize ahead of time for questions that may be trivial. So far I dig PyQt, I've been very pleased with everything, that is until I had my encounter with events. Maybe its lack of knowledge when it