PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 211 - table view widget model() method
: table view widget model() method
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: Examples
: HEAD
: All All
: P5 normal
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2010-04-16 16:17 EEST by Rodrigo Ferreira de Souza
Modified: 2010-06-07 09:32 EEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Ferreira de Souza 2010-04-16 16:17:29 EEST
when I call the model() method of a table view widget it is returning an
QAbstractItemModel object instead a QAbstractTableModel.

Example code: http://www.tecnow.com.br/PyCronometro.zip 

Look at line 397 of main.py file

To run the program, just do a "python main.py"
Comment 1 Rodrigo Ferreira de Souza 2010-04-16 16:19:39 EEST
of course.. you can just see this bug with my device attached... but with this
example you can write a simple example of table view using the model() method
Comment 2 renato filho 2010-05-20 12:27:02 EEST
fixed on:

commit 5ee62778c17d502d71ab9fc4199bd738fc432311
Author: Renato Filho <renato.filho@openbossa.org>
Date:   Thu May 20 11:53:31 2010 -0300
Comment 3 renato filho 2010-06-07 09:32:11 EEST
released 0.3.2.