Top "Qt4" questions

Questions specifically relating to the deprecated version 4.x.x of the Qt C++ GUI library.

How to use Model for QCombobox

I want to use QCombobox as a the Combobox of Swing in Java. So i need to use Model for …

c++ qt qt4 qcombobox qabstractitemmodel
Qt - How to convert from QObject to UI elements?

I am working in Qt 4.7, and I have a QWidget object in my dialog. I need to go through each …

c++ qt qt4 qwidget
How to color or make text bold for particular cell in QTableView?

I have used QTableView to saw tabular data in my Qt program and somehow I need to differentiate some cells …

c++ qt qt4 qtableview
How to set the background color of a tab widget in Qt Creator?

I’m using Qt Creator. In my GUI I use a tab widget. This widget should have the same grey …

user-interface qt4 qt-designer
How to make a QImage or QPixmap semi-transparent - or why is setAlphaChannel obsolete?

4.7 and like to overlay two images on a qgraphicsview. The image on top shall be semi-transparent to allow to see …

qt4 transparency qpainter qimage
Controls insist on being too large, and won't resize, in QtDesigner

I made a "widget" in Qt Designer with about a dozen controls organized into horiz. and vert. layouts. Oddly, every …

qt4 qt-designer
How should I use a QGraphicsScene with layouts and widgets

I'm creating some graphic data displaying widget in Qt4 and I was tempted to use the QGraphicsScene for it, create …

c++ user-interface qt qt4 qgraphicsview
QDialog remove title bar

The net is flooded with similar questions, but for all I have seen nothing suits to solve the problem at …

c++ qt4 qdialog
replacing layout on a QWidget with another layout

I have a widget which changes when an option is toggled. This invalidates all layouts and widgets. I keep list …

python layout qt4 pyqt4
QTableWidget edit only one column and leave the rest non-editable

In QT 4.7, I am trying to make one QTableWidgetItem in a QTableWidget Editable and the rest all columns should be …

qt qt4 qtablewidget qtablewidgetitem