I need to drag from a QListWidget or something similar and drop on a QGraphicsScene, and create a subclass of QGraphicsItem at the drop location. Anyone have any ideas? I'm using Qt 4.6.3.
...
Let's say we have the follogin UI:
+--------------------------+
|W1 +--------------+ |
| |W2 | |
| | +----------+ | |
| | |W3 | | |
| | +----------+ | |
| | | |
| +--------------+ |
+--------------------------+
W3 is interested in a certain signal emi...
We have a qthreads-based workflow engine where worker threads pick up bundles of input as they are placed on a queue, then place their output on another queue for other worker threads to run the next stage; and so on until all the input has been consumed and all the output has been generated.
Typically, several threads will be running t...
I'm working on a multi-threaded Qt application and would like to connect a signal in a thread with slot in another thread. My problem is that I only have the string used to set the QObject:objectName in the signaling thread that is defined in a project wide constants file.
My overall goal is to avoid having to pass pointers to objects ...
Hi,
The effect I wanted to achieve is something like the Mail icon in iPhone. There is a rounded rectangle on the topright corner of the Mail icon. The number inside the rectangle shows the current number of unread emails and can be dynamically changed when new emails come in. I am wondering if it is possible to do this using Qt 4.6 for...
I don't see how Qt does the low level graphics work, in order to create its own custom GUI look/feel for each platform. Does it utilize each of the platforms APIs or something? I ask because I am really wondering how I could go about creating my own framework in order to make a custom GUI application with a unique graphical look.
...
Hi:
I'm using Qt, and I use a QWizard object which contains several pages.
when it comes to a specific page, I want to hide the "Next" button first, and shows it after the user do something (such as clicking on a radiobutton...)
I want to do some customize control of the wizard when this specific page shows up.
the question is, I know ...
I send the url to find the page what I need. Hovewer there is a misunderstanding with google.
QString baseurl("http://blogsearch.google.com/blogsearch?hl=tr&ie=UTF-8&q=C++");
I send searched string q=C++; but google search the string only C, it does not search C++.
What to do for change the searching key C to C++ ?
...
I'm using Nokia SDK. The updater tool is still using 1.0.1. How can I update to the new release?
I'm also using nokia smart installer, does it work with the 1.0.2 release?
...
Is it possible to loop a QHash by the insert order? The method below seem to loop the hash by some other factor:
QHashIterator<QString, QString> i(hash);
while (i.hasNext()) {
i.next();
qDebug() << i.key() << ": " << i.value();
}
EDIT:
I figured it was impossible with QHash but what should I use instead?
...
At present the QCalendarWidget only supports SingleSelection or NoSelection. I'd like to be able to write a widget that inherits from QCalendarWidget in Qt 4.6.2 and adds the ability for the user to select any day in a week and have that custom week selected.
e.g. Click on Thu 5 August 2010 and all days from Saturday 31 July to Friday ...
I had compiled Qt 4.6.2 from sources with VS 2008. Now I would like to be able to step into Qt sources while debugging my application. How do I make VS to pick up the framework sources?
Edit: I forgot to mention that qt was built statically, and I dont find any .pdb files anywhere... I belive that all the necessary data should be includ...
I am thinking about something that would allow to develop applications independent of the GUI library, but allow Qt and GTK being plugged in as needed.
...
hello,
can somebody please explain why do I create in qt public slots but not public signals, thanks in advance
...
Coming from the Symbian world, I'm used to using the heap as much as possible to avoid running out of stack space, especially when handling descriptors. CBase derived classes were always dynamically allocated on the heap, since if they were not, their member variables would stay uninitialized. Does the same convention apply to QObject-de...
Hello!
I wrote a piece of software which does nothing else than reading network status and signal strength for each network mode (gsm, wlan (wifi), bluetooth, ...) on my device (Nokia E51) and printing it out.
My test device is connected to bluetooth, wlan (wifi) and 3G (wcdma), but it's only able to give me the signal strength of 3G (...
I've been reading about the requirement that if OpenSSL is used in a multi-threaded application, you have to register a thread identification function (and also a mutex creation function) with OpenSSL.
On Linux, according to the example provided by OpenSSL, a thread is normally identified by registering a function like this:
static uns...
Hello,
I am trying to use the QGraphicsview, but I have lot of trouble with it.
My goal is very simple (for the moment): I want to create a basic pianokeyboard component, where you can set the number of keys, and where the keys automatically stretch when you resize the keyboard.
I am a newbie in QT, so maybe I am wrong in the design t...
I'm building a tool that has some .bmp icon images in it. When I build the application statically, the images must be placed inside the application's folder to run, which defeats the purpose of having a static application in the first place. Is there a way to get the images to be rolled into the application during the build process?
...
Hi, I need to display a hierarchical set of data in a qt view. I'm using QColumnView to display the model. However, there is a feature such that the last column in the view will be relegated to a preview widget. Is it possible to hide this? Ex, something like view.setPreviewWidget( NULL ), although this breaks the program
EDIT : I s...