qt4
HowTo draw ico+text data with delegate in QTreeWidget (when selecting a row)?
Problem: When I select a row with a mouse on the table, pic #1 becomes pic #2 - as you can see, all my drawn icons are disappear![详细]
2023-04-12 20:26 分类:问答How to install Qt documentation for PyQt demo and Qt tools
I installed PyQt on windows 7 with python 2.6 and when trying to execute the demo I got the following warning:[详细]
2023-04-12 08:08 分类:问答When should i save settings with QSettings in a class?
I used to save settings in closeEvent , now i found that\'s bit of flaw , because when you close a window , that function开发者_如何学Go will be called as well. ( my app have a system tray , and hide[详细]
2023-04-12 07:14 分类:问答Visual Studio 2010 devenv.exe qtappwrapper.exe
I had installed QT for some proje开发者_开发技巧ct sometime back but don\'t use it now(may need it later). I noticed that whenever I start Visual Studio 2010, it hogs my RAM. Is it possible to disable[详细]
2023-04-12 06:02 分类:问答QFileDialog doesn’t list tty* files in /dev/ on Linux
I’m wor开发者_JAVA技巧king on a Linux desktop application that needs to open a USB serial port, typically /dev/ttyUSB0 or /dev/ttyUSB1. I’m using QFileDialog to let the user select the file:[详细]
2023-04-12 01:26 分类:问答How can I optimize the performance of a QGraphicsView-based app?
I have an app which is based on the Qt Graphics View framework. It\'s a jigsaw puzzle game which basically cuts a pixmap into smaller pixmaps (puzzle pieces) and displays them as QGraphicsItems in a Q[详细]
2023-04-11 23:46 分类:问答emit std::string with qt signal
I am trying to emit standard string with qt signal. The signal will be delivered as queued. I registered the type with qRegister开发者_Python百科MetaType , like it says in the qt documentation, but no[详细]
2023-04-11 12:05 分类:问答Looking for QT function to round a variable (integer) of type qint64 to the nearest ten
I\'m looking for a QT function to round a variable (integer) of type qint64 to the nearest ten. For example:[详细]
2023-04-11 10:18 分类:问答QSerialDevice: Compilation error "libudev.h: No such file or directory"
I checked-out the QSerialDevice from (https://gitorious.org/qserialdevice). I have to download the UDEV (http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html) but 开发者_开发百科the link is[详细]
2023-04-11 09:06 分类:问答Why can't i use global variable in a QThread based class?
Suppose the minimal case , which contains one class named Worker based on QThread , and another named Parser , which is a global class , resided in Worker c开发者_如何学Golass.[详细]
2023-04-11 06:29 分类:问答