Top "Qt4" questions

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

How to use QPainter on QPixmap

I'm a newbie to Qt/Embedded. I want to use QPainter to draw stuff on a QPixmap, which will be …

qt qt4 qgraphicsscene qpainter qpixmap
easiest way to parse JSON in Qt 4.7

I need to parse JSON object through Qt. What is the easiest/fastest way to do it?

json qt parsing qt4 qjson
Serialization with Qt

I am programming a GUI with Qt library. In my GUI I have a huge std::map. "MyType" is a …

c++ qt serialization qt4
QWidget resize signal?

I want to take an action when a widget was resized. Is there a way to catch that without installing …

qt qt4 pyqt pyqt4
How can I emit a signal from another class?

I have a problem with my Qt application. I'm trying to emit a signal from within another class (it is …

c++ qt qt4 signals-slots
QGroupBox border

After searching for a while I saw that they way to set a visible border on a groupbox is to …

qt qt4
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
How to set selected filter on QFileDialog?

I have a open file dialog with three filters: QString fileName = QFileDialog::getOpenFileName( this, title, directory, tr("JPEG (*.jpg *.jpeg);; …

c++ qt qt4
How do I create a custom slot in qt4 designer?

Whenever I use the signal/slot editor dialog box, I have to choose from the existing list of slots. So …

c++ qt qt4 qt-creator qt-designer
How to detect if a QString is made up of all numeric characters?

What is the best way to tell if a QString is made up of just numbers? There doesn't appear to …

c++ qt qt4