On 10/28/22 21:31, DFS wrote:
> I found one person that said they did it but their syntax didn't work.
> But it doesn't throw an error either.
>
> model.setData(model.index(tblRow, col), font, Qt.FontRole)
I wouldn't expect that to work but it's understandable why it didn't
throw an error.
On 10/27/2022 3:47 PM, Thomas Passin wrote:
On 10/27/2022 11:15 AM, DFS wrote:
On 10/25/2022 1:45 PM, Thomas Passin wrote:
On 10/25/2022 1:03 PM, DFS wrote:
Having problems with removeRow() on a QTableView object.
removeRow() isn't listed as being a method of a QTableView, not even
an
On 10/28/2022 1:01 AM, Thomas Passin wrote:
{snip]
You might also be able to make the item bold using CSS, but I'm not sure.
Apparently so:
QTreeView::item:selected {
background-color: #1d3dec;
color: white;
}
See
This looks like a useful tutorial -
https://doc.qt.io/qt-6/modelview.html
On 10/27/2022 3:47 PM, Thomas Passin wrote:
On 10/27/2022 11:15 AM, DFS wrote:
On 10/25/2022 1:45 PM, Thomas Passin wrote:
On 10/25/2022 1:03 PM, DFS wrote:
Having problems with removeRow() on a QTableView object.
On 10/27/2022 11:15 AM, DFS wrote:
On 10/25/2022 1:45 PM, Thomas Passin wrote:
On 10/25/2022 1:03 PM, DFS wrote:
Having problems with removeRow() on a QTableView object.
removeRow() isn't listed as being a method of a QTableView, not even
an inherited method, so how are you calling
On 10/25/2022 1:45 PM, Thomas Passin wrote:
On 10/25/2022 1:03 PM, DFS wrote:
Having problems with removeRow() on a QTableView object.
removeRow() isn't listed as being a method of a QTableView, not even an
inherited method, so how are you calling removeRow() on it? (See
On 10/25/2022 2:03 PM, Barry Scott wrote:
There is an active PyQt mailing list that has lots of helpful and knowledgeable
people on it.
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
Barry
Thanks. I'll send some questions their way, I'm sure.
--
On 10/25/2022 1:45 PM, Thomas Passin wrote:
On 10/25/2022 1:03 PM, DFS wrote:
Having problems with removeRow() on a QTableView object.
removeRow() isn't listed as being a method of a QTableView, not even an
inherited method, so how are you calling removeRow() on it? (See
There is an active PyQt mailing list that has lots of helpful and knowledgeable
people on it.
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
Barry
> On 25 Oct 2022, at 18:03, DFS wrote:
>
> Having problems with removeRow() on a QTableView object.
>
> After calling removeRow(),
On 10/25/2022 1:03 PM, DFS wrote:
Having problems with removeRow() on a QTableView object.
removeRow() isn't listed as being a method of a QTableView, not even an
inherited method, so how are you calling removeRow() on it? (See
https://doc.qt.io/qt-6/qtableview-members.html)
After calling
Having problems with removeRow() on a QTableView object.
After calling removeRow(), the screen isn't updating. It's as if the
model is read-only, but it's a QSqlTableModel() model, which is not
read-only.
The underlying SQL is straightforward (one table) and all columns are
editable.
11 matches
Mail list logo