I suggest you subclass them, set the focus policy to TabFocus, and then check out other classes like QSlider and QComboBox (search for #ifdef QT_KEYPAD_NAVIGATION) and check out how things are handled there, then do similar handling in your subclassed versions.
Or just install an event filter and hack a less elegant solution :)
So all 5th editon/Symbian^1 phones should run QT apps with the same performance.
As far as 3rd edition phones go i think it certainly depends on the Ram available and also the processor.I think Qt is compiled and runs on all ARM11s but doesn't on ARM9s,hence the reason why the N96 and a couple of other phones don't run QT.
Sorry for the very late reply.
Now, I think my application can find the correct plugins.
I dynamically load the plugins folder (including phonon_backend: phonon_ds94.dll and phonon_waveout4.dll) but the problem is that I think the plugins cannot find the correct filters or codecs.
Error message comes out when I try to play a video or audio.
"The specified module could not be found. (0x8007007e)"
Cannot you upload the image to imagebin or something like that? It should not look different if the screen resolution and text are the same in the simulator and device.
The layout you set should make the buttons remain at the left of the screen with their preferred size. You could also try removing the linear layout and using only the anchor one to try and see if it behaves differently. I mean, by anchoring each of the buttons to the left of the layout. Then one on top of the other, and finally glueing their right side together.
I am pretty sure you are not saving anything into the file. Check the generated file and make sure that the data you expect is there.
QVariant::toString() is not meant to serialize data but to convert simple data into strings when possible. It will most likely fail with complex data found in a typical QVariantMap and return a empty string.
What type is "contacts"? I guess a QVariantMap or something... You are generating a key "filename" there and put some data into that (not into any file).
You do not read any data from the file in the open_button_clicked method. So even if you had managed to put data into a file you will not be able to restore it.
No idea what you want to do with the iterator... There is no loop, so you are not iterating over the contacts data. You find the position of the element you care about, then move to the next element. If you are then at the end of the data structure you move to the first element... yeap, that works, but only if there is exactly one element in your structure.
I would suggest doing the following:
remove "contacts". I do not see why that is needed.
Print content and data variables in save_button_clicked. Make sure it is what you expect. Fix the code till it does.
Open a file, write a static string into it, close it again. Check that the file is really created and contains the string you wrote into it.
Replace the static string with the data. Check that the file is still created and contains the expected data. Fix the code till it does.
Only when all this works I would continue with the open_button_clicked method, using a similar approach. No, I will not provide code: Coming up with this code is your job, not mine:-)
For anyone else who is similarly intellectually challenged:
The Qt download is from http://qt.nokia.com/downloads. The required downloads are hidden behind the LGPL tab, so click on this tab or you won't find them (took me ages ;o( )
If you already have a Visual Studio installation then you can download "Qt libraries 4.6.3 for Windows (VS 2008, 194 MB)"
Or if like me you don't, and also want a minimal implementation, download "Qt libraries 4.6.3 for Windows (minGW 4.4, 280 MB)"
Other instructions as above
QGalleryRemoveRequest affects the whole operating system. There's no way to reverse the operation from within the document gallery API. If the document is in the crawl path of the indexer it may get added back automatically (which admittedly isn't ideal) if the indexer doesn't blacklist removed files. Otherwise if a document was inserted by other means it could be restored by repeating that process.
To continue on the idea of chetankjain, a QTextEdit holds a QTextDocument and that one can have its wrapping mode set to much more complicated modes than a QLabel. One of them is QTextOption::WrapAnywhere which seems to be what you want.
As far as I know you can just use them as keys; just a special keyboard. So listen to key events and handle them. There should be appropriate enum values in the Qt::Key enum, but you can just try by printing the int value of the key in the key event.
Disabled Categories are greyed out
This topic will be moved to the category
Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.