i have the following code defining the gui of my app class Ui (object): def setupUi(): self.tableName = QtGui.QTableWidget(self.layoutWidget_20)
I am using a QTableWidget. On the cellChanged()-signal I add or update a row in a sqlite databas开发者_运维知识库e. After executing my SQL statements i want to add a button/CellWidget to an item in th
I\'m trying to make a border for rows in QTableWidget with different ways, but all solutions don\'t respond my requirements. All that I want, is to draw a rectangle around a whole row. I had try QStyl
I made a form in QtDesigner. This form gets loaded from PySide with help of the function widget = loader.load(file, parent)
I have a slot which creates a context menu given a point.However, no matter which method I use to return the position from the point, table->itemAt(pos) always returns 0.Is there any way to print out
Currently, if the user clicks on a cell that is only partially visible开发者_StackOverflow社区, the window automatically scrolls over so that the cell is fully displayed. Is there any way to stop the
I would like one of the cells in a开发者_如何转开发 table to be a QComboBox. However, I don\'t want them displayed as such all the time, only when a user selects that cells. Are there any more conveni
Is it possible to have a two-line element in a cell (QTableWidgetItem) of a QTableWidget with different styles per line? I want to have the first line bold and the second line not bold. Or can I add t
I am using a QTableWidget for displaying data. I开发者_如何转开发 know that I can use the addAction method to add a context menu. How can I limit the context menu to only specific cells or columns? ad
I have an issue usign QTableWidgetItem. I normally use the QTableWidget like this this->setItem(i, j, new QTableWidgetItem());