Qt
QScriptValue::toVariant but no fromVariant?
QScriptValue::toVariant can turn basic string and number types, as well as arrays and objects (associative arrays), into a QVariant.[详细]
2023-04-13 09:47 分类:问答Terrible performance with QMediaPlayer and QVideoWidget
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).[详细]
2023-04-13 09:21 分类:问答How do you create cool "mirror" effect for items displayed in a graphical GUI?
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.[详细]
2023-04-13 08:04 分类:问答Executable not running R6010
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[详细]
2023-04-13 07:59 分类:问答Changing QAbstractTableModel headerData using the role
I have a subclass class TableModel : public QAbstractTableModel I override the headerData method as follow:[详细]
2023-04-13 07:50 分类:问答QWidget per-pixel translusency
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.[详细]
2023-04-13 07:47 分类:问答C++ shared memory leak, how to clear shared memory?
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)[详细]
2023-04-13 07:37 分类:问答Tracking mouse move in QGraphicsScene class
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[详细]
2023-04-13 07:13 分类:问答QList/QHash store abstract elements
I\'d like to store in QHash elements that inherits from one class. So I\'ve got: class ImageInterface {[详细]
2023-04-13 06:53 分类:问答Send a mail with Qt & php.exe
I have a problem with a program which I\'m creating for my job. It\'s a C++ program which is developing with Qt.[详细]
2023-04-13 06:29 分类:问答