qtablewidget
Get previous value of QComboBox, which is in a QTableWidget, when the value is changed
Say I have a QTableWidget and in each row there is a QComboBox and a QSpinBox. Consider that I store their values is a QMap<QString /*Combo box val*/,int /*spin box val*/>theMap;[详细]
2023-01-06 00:49 分类:问答Qt setColumnWidth does not work
Have written the following code: m_selectCategoryTableWidget = new QTableWidget; m_selectCategoryTableWidget->setRowCount(0);[详细]
2023-01-05 09:48 分类:问答How to edit multiline text in cell of QTableWidget?
How to edit cell manually like in Excel: Alt + Enter -> line break (true break, not simply line break symbol on 开发者_StackOverflow社区the same line)[详细]
2023-01-03 11:31 分类:问答QTableWidget::itemAt() returns seemingly random items
I\'ve just started using Qt, so please bear with me. When I use QTableWidget->getItemAt(), it returns a different item from if I used currentItemChanged and clicked the same item. I believe it\'s nece[详细]
2023-01-02 05:48 分类:问答changing cell background color in qt
i\'m new to pyqt , and i\'m still facing some newbie p开发者_StackOverflowroblems :D i have a QTableWidget that is item delegated on a QChoice control ( hope i said it right )[详细]
2022-12-30 07:22 分类:问答Showing data on QTableWidget
I have a database table and I must read it and show it on tableWidget I read it but I cant show it on tableWidget, How开发者_运维技巧 can I do?[详细]
2022-12-29 18:06 分类:问答Which button was clicked?
How can I detect which mouse button was clicked (right or left) in the slot for QtCore.SIGNAL(\'cellClicked(int,开发者_开发知识库int)\')?You would probably pass the event to your cellClicked function.[详细]
2022-12-29 17:48 分类:问答How to make a column in QTableWidget read only?
I would like to have one column in QTableWidget NOT editable. In forums I have read a lot about s开发者_运维技巧ome flags but could not manage to implement.Insert into the QTableWidget following kind[详细]
2022-12-25 08:20 分类:问答QTableWidget alignement with the borders of its parent QWidget
Let\'s consider we have QWidget that contains QTableWidget (only). So we want to resize the table by resizing the widget, and we dont want to have an indet between the QWidge开发者_Go百科t border and[详细]
2022-12-24 13:51 分类:问答Change table columns width on resizing window or splitter
Consider there is a QTablWidget and a QTextEdit. Both of them are in a horisontal QSplitte. Let the QTable widget has 2 columns.[详细]
2022-12-24 03:17 分类:问答