[PyQt] New Riverbank Website look and feel

2008-04-30 Thread Dirk Wagener
Hi I love the clean look of the new website. What did you use to create it? I am also not a fan of php (to put it politely)... Regards Dirk -- Dirk Wagener <[EMAIL PROTECTED]> (MSc. Electronic Engineering, Stell.) Project Engineer Stone Three Venture Technology (Pty.) Ltd.

[PyQt] QTableView with link in table cell...

2008-04-16 Thread Dirk Wagener
Hi I want to have a QTableView with links to websites as the cell contents. If the user clicks on a link, the default system browser must open the link. How do I go about doing this? Returning html bla as the displayrole for the cell does not work. Kind regards Dirk -- Dirk Wagener

[PyQt] QTableModel (custom) with QComboBox in a cell... (take 2)

2008-03-19 Thread Dirk Wagener
some value from a drop-down list. I am not using delegates currently. What is the correct (easiest) way to achieve this? Kind regards Dirk -- Dirk Wagener <[EMAIL PROTECTED]> (MSc. Electronic Engineering, Stell.) Project Engineer Stone Three Venture Technology (Pty.) Ltd.

[PyQt] QTableModel (custom) with QComboBox in a cell...

2008-03-16 Thread Dirk Wagener
currently. What is the correct (easiest) way to achieve this? Kind regards Dirk -- Dirk Wagener <[EMAIL PROTECTED]> (MSc. Electronic Engineering, Stell.) Project Engineer Stone Three Venture Technology (Pty.) Ltd. http://www.stonethree.com +27 21 851 3123 (phone) +27 21 851 312

[PyQt] QModelTest and QAbstractTableModel models...

2008-02-19 Thread Dirk Wagener
asChildren(QtCore.QModelIndex()) AttributeError: QAbstractTableModel.hasChildren is a private method How do I need to change ModelTest to ensure that it still tests the model/view design contract? Kind regards Dirk -- Dirk Wagener <[EMAIL PROTECTED]> (MSc. Electronic Engineering, Stell.)

[PyQt] From object IDs to objects to model indexes...

2008-02-12 Thread Dirk Wagener
to create the index? I do not see a method like this in the QModelIndex API. Also, id(my_object) = ID. Is there a way to get my_object if I only have the ID? Thanks Dirk -- Dirk Wagener <[EMAIL PROTECTED]> (MSc. Electronic Engineering, Stell.) Project Engineer Stone Three

[PyQt] Closing QMainWindow with a bunch of child dialogs...

2007-11-27 Thread Dirk Wagener
garbage collection happens properly? I am confused about the use of accept(), close() or destroy() to get rid of dialogs. Also, the dialog that contains a tab widget - should I close all the tab widgets (QWidgets) and the QTabWidget when closing this dialog? Kind regards Dirk Wagener -- Dirk

[PyQt] Debugging PyQt access violations in Windows??

2007-11-27 Thread Dirk Wagener
his does not help me much. My PyQt app has a Main Window and a bunch of child dialogs. I suspect there is some garbage collection issue when I close the Main Window. How do I debug this?? Please help me... this year is getting too long.... :( Kind regards Dirk Wagener -- Dirk Wagener <

[PyQt] QMainWindow close button [X] signals...

2007-11-22 Thread Dirk Wagener
please advise me how to do this correctly. Kind regards Dirk -- Dirk Wagener <[EMAIL PROTECTED]> (MSc. Electronic Engineering, Stell.) Project Engineer Stone Three Signal Processing (Pty.) Ltd. http://www.stonethree.com +27 21 851 3123 (phone) +27 21 851 3127 (fax) We shall not ceas

[PyQt] QMessageBox.about() with html text

2007-11-12 Thread Dirk Wagener
Kind regards Dirk -- Dirk Wagener <[EMAIL PROTECTED]> (MSc. Electronic Engineering, Stell.) Project Engineer Stone Three Signal Processing (Pty.) Ltd. http://www.stonethree.com +27 21 851 3123 (phone) +27 21 851 3127 (fax) We shall not cease from exploration and the end of all our e

[PyQt] QTreeView: inserting and removing rows in view and underlying data...

2007-11-09 Thread Dirk Wagener
give me some advice. Where can I learn how to do this model/view interaction properly? Are there some rules which I am not obeying here?? Kind regards Dirk Wagener -- Dirk Wagener <[EMAIL PROTECTED]> (MSc. Electronic Engineering, Stell.) Project Engineer Stone Three Signal P

[PyQt] Qt.Queuedconnection queue size

2007-10-11 Thread Dirk Wagener
r just one specific signal to slot connection? Kind regards Dirk Wagener -- Dirk Wagener <[EMAIL PROTECTED]> (MSc. Electronic Engineering, Stell.) Project Engineer Stone Three Signal Processing (Pty.) Ltd. http://www.stonethree.com +27 21 851 3123 (phone) +27 21 851 3127 (fax) We shal

[PyQt] QTreeView access violation

2007-09-13 Thread Dirk Wagener
of a hack. What is the correct way to handle this? Kind regards Dirk -- Dirk Wagener <[EMAIL PROTECTED]> (MSc. Electronic Engineering, Stell.) Project Engineer Stone Three Signal Processing (Pty.) Ltd. http://www.stonethree.com +27 21 851 3123 (phone) +27 21 851 3127 (fax) We shal

[PyQt] QAbstractItemModel parent() receives messy model index...

2007-09-10 Thread Dirk Wagener
s this possible? How can parent() receive a model index pointing to something that is NOT my underlying data class? How do I handle this. Returning an invalid model index (line 10), does not work, since I get an exception after that. Kind regards Dirk Wagener

[PyQt] Catching Qt exceptions in PyQt

2007-09-07 Thread Dirk Wagener
Exception: print "Unexpected error:", string.join(traceback.format_exception(*sys.exc_info())) return False My code still produces exactly the same error, so it seems that the exception is still not caught! What am I doing wrong here? Kind