QScriptValue::toVariant can turn basic string and number types, as well as arrays and objects (associative arrays), into a QVariant.
I see a terrible performance while trying to play videos with QtMobility 1.2.0 and Qt 4.7.4 on Ubuntu 10.10 (Pentium 4 2.80GHz).
I have a QGraphicsScene and I add a couple of QGraphicsItem(s) to the scene. All the items being added to the scene are QGraphicsPixmapItem.
I developed a project on VS 2010 using c++ qt. When I run the project in debug or release mode it works great. But what I want is to run it by double clicking on the generated executable, unfortunatel
I have a subclass class TableModel : public QAbstractTableModel I override the headerData method as follow:
I\'m looking at making a QWidget partially transluscent. QWidget::setMask can set a per-pixel transparency, like this, but it\'s either-or: not transluscent.
I am using Qt and trying to achieve a single instance application by applying this solution in Linux(ubuntu). The problem is that if the application unexpectedly finishes(seg. fault or user kills it)
I subclassed QGraphicsScene and added method mouseMoveEvent to handle mouse move event. I created a ruler on top of GraphicsView and have the ruler 开发者_运维知识库tracking mouse movement. In the QGr
I\'d like to store in QHash elements that inherits from one class. So I\'ve got: class ImageInterface {
I have a problem with a program which I\'m creating for my job. It\'s a C++ program which is developing with Qt.