qitemdelegate
Using QItemDelegate with QAbstractTableModel
I have a QAbstractItemModel and a QItemDelegate and here is my problem. The Delegate does nothing. Its subroutines are being called but nothing happens.[详细]
2023-03-29 06:41 分类:问答QListWidget or QListView with QItemDelegate?
Let\'s say I need to display a list of items. Each item contains a QPushButton an image and some text. When a user click开发者_运维百科s on the button something should happen (ie I need to get the sig[详细]
2023-03-05 17:29 分类:问答selected item of comboBox in custom Delegate from QTableView
I use a custom delegate to display a column of comboBoxes in my QTableView. The values are the same for all the comboBoxes so it\'s not really the population part that gives me trouble.[详细]
2023-03-04 16:02 分类:问答QAbstractItemDelegate painting while dragging problem
I\'m overloading the paint() function in QAbstractItemDelegate (my own Item delegate class). When dragging, it paints the contents of the entire cell, which I don\'t want.I\'m assuming that the paint[详细]
2023-02-19 20:17 分类:问答Call QFileDialog when trying to edit cell in QTableView
I开发者_运维技巧s there a way of doing this without using a QItemDelegate? I\'ve been having a lot of trouble with it. For example, if I use a Delegate:[详细]
2023-01-20 04:23 分类:问答'C++ object destroyed' in QComboBox descendant editor in delegate
I have modified combobox to hold colors, using QtColorCombo (http://qt.nokia.com/products/appdev/add-on-products/catalog/4/Widgets/qtcolorcombobox) as howto for the \'more...\' button implementation d[详细]
2022-12-23 13:55 分类:问答Show other data in QTableView with QItemDelegate
I have a QTableView connected with an QSqlTableModel. In the first column, there are only dates at this format: 2010-01-02[详细]
2022-12-15 11:16 分类:问答QTableWidget, allow to type numbers only
I have a QTableWidget with four columns. I want the user to be able to insert only integers in the first three and a double in the fourth.[详细]
2022-12-10 04:08 分类:问答