qtableview
How to disable Autoscroll to top in a QTableView when the underlying model changes?
I have created my own class that derives from QTableView, the associated model is is derived from QAbstractTableModel. The data in the model is performance data(process name, mem usage etc.) which con[详细]
2023-04-11 10:14 分类:问答Setting the Height of a QPlainTextEdit Delegate in a QTableView
I\'m working here on a project and currently I\'m stuck on the following problem. It is about a QTableView which has a column called \"Description\", the cells of this column 开发者_C百科contain a QPl[详细]
2023-04-06 08:49 分类:问答HowTo create model/view QTableView with custom (non-editable) delegates?
Here is what I\'m trying to get ( this is a QTableView widget + MVC based on QAbstractTableModel with multiply delegates ):[详细]
2023-04-01 13:57 分类:问答Different headers for two table which inherit from the same tableModel class
I have 2 tableViews that inherit from the same class (TableModel) which in turn inherits from QAbstractTableModel. I would like to add headers for the 2 tables but these headers should be different fo[详细]
2023-03-27 00:02 分类:问答Data from model not inserted in QTableView
I am trying to insert some data in a TableView from a model but I am doing something wrong because the data is not inserted. The table is updated with the columns and rows though.[详细]
2023-03-25 23:33 分类:问答Qt: viewing data from tables with foreign key columns pointing to multiple other tables
I have a table Thingsies, with columns id, data1, otherTableId, otherTableRowId. I need the last 开发者_JAVA百科two columns instead of just a foreign key column because depending on the Thingy the typ[详细]
2023-03-24 13:53 分类:问答QTableView filtering with QSortFilterProxyModel (grouping filters)
It seems I am not capable of filtering more then one column at once. I think it\'s common usage when using filters, maybe I\'m missing something.[详细]
2023-03-17 13:29 分类:问答Displaying QAbstractListModel items in QTableView columns
I\'ve been toying around with Qt and ran into a small issue. I want to display a list of pictures as a table of icons. Right now, I\'m doing this by subclassing QAbstractTableModel, and plugging it i[详细]
2023-03-14 17:35 分类:问答Some cells in QtableView are not repainted automatically after a clicking on a table cell
I\'m using a QTableView in the implementation of an interactive board game. Images are to be displayed in the cells of the table. I\'m using a QStyledItemDelegate with a paint function to draw the ima[详细]
2023-03-11 02:51 分类:问答How do I call dataChanged
The follow开发者_如何学JAVAing is my add a row class. It is called by the code, not the table and I want it to properly call dataChanged when a new row is added, although this isn\'t working, the tabl[详细]
2023-03-06 09:11 分类:问答