qtablewidget
QTableWidget colors, styles
I\'m quite new to Qt and I\'d appreciate the ability to customize a QTableWidget开发者_运维问答. I found a nice CSS-like interface using the stylesheets as shown here[详细]
2023-02-27 06:06 分类:问答C++ QT4 detecting when a user double clickes a qtablewidget header
I am trying to detect when a user double clicks a header in a qtablewidget.To do this I am connecting to the signal \"sectionDoubleClicked(int)\" to a function with the same arguments (i got this from[详细]
2023-02-24 00:27 分类:问答QTableWidget setItem() segmentation fault using Qt
I\'m using the following code to add a row to a QTableWidget. QTableWidgetItem *item = new QTableWidgetItem(fileName);[详细]
2023-02-19 18:43 分类:问答Disable selecting row or column by clicking the header in QTableWidget
I have a QTableWidget and I want to disable the behavior that a row or column is selected when you click on a row or column header.[详细]
2023-02-19 06:48 分类:问答How to customize QTableWidget through stylesheet?
I\'m try开发者_开发问答ing to customize a QTableWidget through stylesheet and I\'m only limited to the items descibed here.[详细]
2023-02-19 05:30 分类:问答Retrieve value of QTableWidget cells which are QLineEdit widgets
I create a QLineEdit,set a val开发者_运维知识库idator and put it on the table with this code:[详细]
2023-02-09 06:40 分类:问答How do I get some slot/function to be executed when a certain QTableWidgetItem is checked / unchecked in PyQt
I have a dynamically created table, that has N rows and M QTableWidgetItems (that are only used as checkboxes) per row - I need to run code that knows the row and the column whenever a checkbox is che[详细]
2023-01-18 09:10 分类:问答How to keep header from being selected when there is one item in a QTableWidget?
I can\'t seem to keep the horizontal header from being selected when I select a single row in a QTableWidget.[详细]
2023-01-12 10:33 分类:问答Resizing a cell's height and Witdth and loading an image in QTableWidget
I want to make a 8*8 table with square cells ( a chess board ). Now I have the code to make the table but don\'t know how to resize the cells to be square shaped.[详细]
2023-01-06 16:47 分类:问答QComboBox and QSpinBox in QTableWidget with appropriate alignment
How to create a QTable widget which has 2 columnes, and in first column there is a QComboBox and in the second column there is a QSpinBox so that the com开发者_StackOverflow社区bo box gets all the spa[详细]
2023-01-06 09:56 分类:问答