Top "Qtablewidget" questions

QTableWidget is a Qt class providing an item-based table view with a default model.

Retrieving cell data from a selected cell in a tablewidget

I am making a stock control program and i have hit a problem with getting the value of a selected …

python pyqt4 qtablewidget
how to make a cell in a QTableWidget read only?

i have the following code defining the gui of my app class Ui (object): def setupUi(): self.tableName = QtGui.QTableWidget(…

python qt pyqt4 qtablewidget
Set widget background color

I use QCheckBox in QTableWidgetCell QWidget *widget = new QWidget(); QCheckBox *checkBox = new QCheckBox(); QHBoxLayout *layout = new QHBoxLayout(widget); layout->…

qt qtablewidget qcheckbox
How to change Qtablewidget's specific cells background color in pyqt

I am new in pyqt4 and I can't figure out how to do this. I have a QtableWidget with data …

python pyqt pyqt4 qtablewidget qtablewidgetitem
Qt QTableWidget Column resizing

I have a MainWindow with a QToolbar, QWidget and a QTabWidget. The layout is "Grid". However, my window is resizeable …

c++ qt qtablewidget
Selecting QComboBox in QTableWidget

One cell in each row of a QTableWidget contains a combobox for (each row in table ... ) { QComboBox* combo = new QComboBox(); …

c++ qt qt4 qtablewidget qcombobox
add custom widget to QTableWidget cell

I have custom widget made with qt designer and i want to add it to QTableWidget cell. But it doesn't …

qt qtablewidget qtablewidgetitem
PyQt : Checkbox in QTableWidget

I use following code to put a checkbox in the 9th column of my QTableWidget chkBoxItem = QtGui.QTableWidgetItem() chkBoxItem.setFlags(…

python checkbox pyqt qtablewidget
Qt - How to associate data with QTableWidgetItem?

I want to associate additional data with each QTableWidgetItem inserted into the table, in order to use that data in …

qt qt4 qtablewidget qtablewidgetitem
python qt : automatically resizing main window to fit content

I have a main window which contains a main widget, to which a vertical layout is set. To the layout …

qt pyqt resize qtablewidget