Top "Qt4.8" questions

For issues relating to using the Qt framework, version 4.8 and no other version.

How change the background color for a blank cell in QTableWidget

If a cell have some data, using tableWidget->item(8,0)->setBackgroundColor(Qt::red); to change the background color …

qt qt4 qtablewidget qt4.8 qtablewidgetitem
Visual studio 2012 and Qt4.8.5 : How to see QString contents in debug mode.

I use visual studio 2012 and Qt4.8.5, unfortunately I can not see the QString text variable when I work in debug …

visual-studio-2012 visual-studio-debugging qt4.8
QTabWidget: close tab button not working

I have set ui->tabWidget->setTabsClosable(true); but QTabwidget only showing a cross on each tab that is …

qt qt4 qt4.8 qtabwidget
QTableWidget auto stretch last field just like QTreeWidget does

Is there anyway to let QTableWidget's header items stretch to full size just like QTreeWidget does ?

qt qtablewidget qt4.8
Manipulate data in a QAbstractListModel from a QML ListView

I have a QML ListView which uses a QAbstractListModel subclass as a model. ListView { id: myListView x: 208 y: 19 width: 110 height: 160 …

c++ qt qml qt4 qt4.8
Obtaining the Qt 4.8 SDK

I haven't used Qt on Windows in a while. I know that now we're supposed to download the open source …

qt sdk qt4.8
How to Remove the Header in QTableView?

As shown in the Image below, How can i remove the unwanted header section ? My Table has to display only 4 …

qt qt5 qtableview qt4.8
How to Move Up a Selected Row in Qt

I have a QTableView with 3 rows and 2 columns. (Here I am using a QStandardItemModel). I want to move up/move …

qt qt5 qtableview qt4.8 qstandarditemmodel
Drag and Drop of QListView Items

Please help me out to solve this.... I have a QListView on the Left side and a QWidget on the …

qt drag-and-drop qt4.7 qlistview qt4.8
Strange behaviour overriding QWidget::resizeEvent(QResizeEvent* event)

I am developing a GUI in qt. i have a QWidget with four QPushButton inside a QHBoxLayout. Those buttons have …

c++ qt qt4 qt4.7 qt4.8