Top "Qtableview" questions

QTableView is a Qt class providing a default model/view implementation of a table view.

How to display a Pandas data frame with PyQt5/PySide2

I have a problem with the line below self.tableView.set??????????(df) that supposed to display the data frame in …

python pandas pyqt pyqt5 qtableview
How to create filters for QTableView in PyQt

I am using QTableView to display data retrieved from QtSql.QSqlQuery I want to know how can i create filters …

python qt pyqt pyqt4 qtableview
Set color to a QTableView row

void MyWindow::initializeModelBySQL(QSqlQueryModel *model,QTableView *table,QString sql){ model = new QSqlQueryModel(this); model->setQuery(sql); } With this method …

qt qt4 qtableview qsqltablemodel
Qt - QTableView - Clickable button in table row

I require a button/link within a table row of a QTableView. This is to open a dialog to allow …

c++ qt qtableview qitemdelegate
Qt Delete selected row in QTableView

I want to delete a selected row from the table when I click on the delete button. But I can't …

c++ qt qtableview qabstracttablemodel
How to set stylesheet for the current item in QTableView

When QTableView edit control is visible for the current item the shylesheet of the edit takes place. When there is …

qt qt5 qtableview qtstylesheets
How to change the header background color of a QTableView

The following is what I've currently tried. The header text changes color correctly but the background will not change from …

c++ qt qtableview qabstracttablemodel
QTableView: how do I correctly create a QModelIndex?

I'm trying to enter edit mode on a specific cell like this: void MainWindow::on_addButton_released() { tm->addRow(); …

qt qtableview qmodelindex
How can I select by rows instead of individual cells in QTableView in PyQt?

In the sample code below (heavily influenced from here), I want the entire row of the clicked cell to be …

pyqt selection qtableview
QTableView: How can I get the data when user click on a particular cell using mouse

Actually I am new to Qt and unable to match up QMouseEvent with QTableview please help in solving this issue.

qt qtableview