qstandarditemmodel Questions

3

Solved

I have a QStandardItemModel with a single column (represents a list). Each item in the list has a unique integer ID stored as the QStandardItem's data (via QStandardItem::setData which I guess is i...
Mope asked 30/6, 2019 at 21:24

3

Solved

I am using QStandardItemModel inside QTableView. Here i have two button & Qtableview inside my mainwindow. I need only 4 columns inside this. And rows will vary. The two Buttons will be used to...
Tailrace asked 5/6, 2013 at 4:27

2

Solved

I am having some trouble with my QStandardItemModel. What I want to do is add a list to my model, and when the list is updated, I pass the new list in the parameter, clear the old model and add the...
Ridgeling asked 24/4, 2014 at 13:7

1

Solved

I have a QStandardItemModel, which I display in q QTreeView. Works fine. To highlight relevant rows I want to highlight some of them: Therefore I have a QStringList with the names of the QStandIte...
Magnanimity asked 14/10, 2015 at 12:8

2

Solved

Is there some way to Copy a QStandardItemModel to another QStandardItemModel? Or must I iterate over each tem and append it to the other Model?
Sagittate asked 17/9, 2014 at 6:6

1

Solved

I just switched from wxPython to PyQT and I am having some trouble with the QTreeview. I have a QTreeview that will display data categorized into sections that are expandable, but the data in this ...
Waiwaif asked 26/4, 2014 at 0:59

1

Solved

I have created a table using QTableView and a QStandardItem widget. How to remove the vertical header from QStandardItemModel?
Almazan asked 5/9, 2013 at 7:26

1

I have a QStandardItemModel that provides data for a QTableView and a thread that inserts data into the model. Is it possible to temporarily stop the model from updating the table view, and enable...
Roundy asked 22/6, 2013 at 15:34
1

© 2022 - 2024 — McMap. All rights reserved.