[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] How to update the list of items in the combobox delegate which represents the data of a QSqlR
From:       Rafal Obrzud <rafal.obrzud () gmail ! com>
Date:       2020-01-05 20:30:12
Message-ID: CAPyeuTE-fxKPCtV1Tx90bpRqC8G80madJb7=uK2y89cF-szSMA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I've recently examined an example from Chapter 15 of "Rapid GUI Programming
with Python and Qt" by Mark Summerfield which presents the use of SQL
Database TableView modelling. In this original example, I found a little
dysfunctionality which prevents the table views from refreshing combobox
delegates (being QSqlRelation). Simply, the combobox delegates in the table
view which represent the data of QSqlRelationalTableModel, are not updated
once relational tables have been modified.
I describe the problem in detail under the following link:
https://stackoverflow.com/q/59482845/12597742?sem=2

How can I programmatically update the list of items in the combobox
delegate (QSqlRelation) in a table view which represents
QSqlRelationalTableModel data?

[Attachment #5 (text/html)]

<div dir="ltr"><div>

        
    
    <div class="gmail-post-text">

<p>I&#39;ve recently examined an example from Chapter 15 of "Rapid GUI Programming \
with Python and Qt"  by Mark Summerfield   which presents the use of SQL Database \
TableView modelling. In this original example, I found a  little dysfunctionality \
which prevents the table views from refreshing  combobox delegates (being \
QSqlRelation). Simply, the combobox delegates in the table view which represent the \
data of QSqlRelationalTableModel, are not updated once relational tables have been \
modified.</p></div>

</div><div>I describe the problem in detail under the following link:</div><div><a \
href="https://stackoverflow.com/q/59482845/12597742?sem=2" \
style="color:blue;text-decoration:underline">https://stackoverflow.com/q/59482845/12597742?sem=2</a>
 <span></span></div><div><br></div><div>
How can I programmatically update the list of items in the combobox delegate \
(QSqlRelation) in a table view which represents QSqlRelationalTableModel \
data?<br></div><div>





</div></div>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic