qtableview
Keep the selection after filtering a QTableView with a QSortFilterProxyModel
I created a QTableView linked to a QSortFilterProxyModel linked to another model. Under the QTableView (in the GUI) there is a QLineEdit used for \"searching\" an element in t开发者_如何学Che view.[详细]
2023-02-22 18:27 分类:问答QTableView with icons in rows
I have a QTableView showing rows of a database table. In this table I have a column called data type and I have icon images for each type. How can I add these icons in front of each data type?[详细]
2023-02-22 01:02 分类:问答QTableView: When selecting cells, how do I make the first cell selected the current index?
I have a simple class which inherits QTableView and I want the following behavior: when the user selects a few cells, I want the first cell selected to be set as the current index.[详细]
2023-02-20 13:02 分类:问答Edit all selected items into one editor
Using QTableView I would like to be able to select multip开发者_JAVA百科le cells and change all selected cells at once. How I can do it?I\'m not sure exactly what you mean by \"changing\" the selected[详细]
2023-02-14 06:34 分类:问答Update cell in QTableView with new value
I\'m new, I\'m learning to program in Qt and my English is not very good, my problem is that when I update a cell in a QTableView to use its value in another cell, it uses the previous value and not t[详细]
2023-02-04 15:31 分类:问答What is the best way to display an animated icon in a QTableView?
I\'ve been struggling with this for some times now, and I can\'t seem to find the right way to do this.[详细]
2023-01-29 12:35 分类:问答Can I use a table view for a table containing many images?
I have a table view in PyQt that needs to have an image in every cell. I have used delegation of a label (and added a pixmap to that label). But the problem is when I add 12 ce开发者_开发问答lls (12[详细]
2023-01-26 10:53 分类:问答Qt/C++: Getting the data at a certain cell in a QTableView
I\'m trying to get the text at a certain cell in a QTableView. For example: QString codestring = \"*\" + ui->tblInventory->indexAt(QPoint(0,2)).data().toString() + \"*\";[详细]
2023-01-26 07:31 分类:问答Row, deleted from model, stays in view, what am I doing wrong?
I have QTableView, filled by QSqlRelationalTableModel. Changes should be committed or reverted on button hit.[详细]
2023-01-24 23:38 分类:问答QTableView is extremely slow (even for only 3000 rows)
I have a table with 3000 rows and 8 columns. I use the QTableView. To insert items I do: QStandardItem* vSItem = new QStandardItem();[详细]
2023-01-22 17:31 分类:问答
加载中,请稍侯......