On Qt doc website in QHeaderView class i found two signals with similar descriptions: and what's the difference between the two of these? When s ...
On Qt doc website in QHeaderView class i found two signals with similar descriptions: and what's the difference between the two of these? When s ...
You can access the underlying model of a Headerview with self.model(), but when you use this in the constructor it returns None. For example, this wi ...
I am trying to change the horizontal header labels of a QTableWidget, but for some reason it doesn't work and the header labels stay the default numbe ...
I'm working on a project that has a lot of tables. I used QTableWidget. Horizontal headers are visible, verticals are hiddden. I wrote style sheet for ...
I want to create a custom header view and add it to a table view using model. This is my approach: But the header doesn't appear in the table. I ha ...
I have a QTreeWidget with two columns and I'm trying to set the second column width to a very small value. If I set the width to over 35 it will resi ...
In a QTableView I need the last (rightmost) column to be empty, expandable but not movable. The goal is that the table not to suddenly end (for I use ...
The solution given at the related question removes the grey band show in the image given. If you change QtWidgets.QHeaderView.Stretch into QtWidgets.Q ...
I have a custom header QProduitCartoHeaderView defined in a class inheriting from QHeaderView. In my header I have a checkbox used to check/uncheck a ...
I have a QTableView in my programm which I want to resize automatically. I used the functions to resize it and it works for when I resize the windo ...
I am implementing a small example using a QTableWidget with specific headers. However, as soon as I run the example the rows do not stretch properly a ...
Regarding great answer by @ekhumoro and modification by @Oak_3260548 and @eyllanesc, I would like to first have a normal view without filters below th ...
Just for a sport of it I am playing around with a demo code from @ekhumoro (all credits for original Qt4 code goes to him), where he inserted a new li ...
I would like to create a QHeaderView in PyQt5 like the one that is used in this project (DB Browser for SQLite). The problem is that I don't know C++ ...
I am trying to add a QLineEdit to QHeaderView so that I can filter words from QSortFilterProxyModel. At first, header may only show title and a searc ...
I have two QTableView with own simple models. After making the following: tv1->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretc ...
I am subclassing a QHeaderView within a QTableWidget to provide custom functionality for hiding/showing sections. Is there a way to get the text of a ...
I have default QTableView. I want to get following selection behaviour: If we selecting cells, selection will work like if we accepted SelectionM ...
I've been browsing everywhere and I just cannot find any information on how to create a certain type of header to a TableView in Qt Creator. I want i ...
need to add subscript to horizontal header of QTableWidget with QLabel where html will be the text of the QLabel. ...