I have table, in two columns there may be qlineedits or qcomboboxes. There are many rows and in most of them there are cellwidgets in those two columns.
When I'm moving focus between cells in table by using keyboard arrows I don't know if there is any way to move focus from cell to cell widget that is placed into that cell. So even when I move to cell with QLineEdit I can't start editing it's contents from keyboard (or I don't know how to do it) and I can't go back to moving between cells by arrows (escape just closes form).
Second problem is that when I start moving focus by pressing tab key it will move to first cell widget in first row of the table, to second, to last and then it will go back to first. I can't move focus by tabbing to cell widgets of second, third and all other rows, except for first and I can't move focus to other widget on that form, except for that cell widgets in first row of the table.
Yes this is a subclass of QTextEdit. I do see that I have to do all the blinky cursor stuff myself. QPlainTextEdit has a really nice convenience function called getPaintContext that handles the state of the cursor for you, wish they had the same call in QTextEdit. oh well.
I have read this documentation - but experimenting with static linking takes a lot of time (i.e. you need to completely rebuild Qt) - and it does not build WebKit when you do configure -static. As I am not sure if it is really doable, I wonder if somebody could try to build it if he already have the configured information.
Yes, the cmd shell does obviously not support Latin1. I can change the font using the chcp command, but no avaiable font matches Latin1.
But QT supports encoding to the console encoding, which is "IBM 850" in my case. What I need is a method that tells me the current encoding of the console font, so I can set the correct encofing in my program.
Unless you mean a tool bar or the status bar, this is in general not possible since the title bar is outside of Qt's control (it is provided by the window manager).
There may be platform-specific solutions for adding things to the title bar though. At least I've seen applications that appear to do that on Windows and Mac. But you would have to use the platform API for that.
You will need a font for the languages you want to use. If such a font is provided then Qt can render "most of the world's writing systems". This refers to being able to do all the complex arranging of the individual bits and pieces found in the font file correctly.
Thanks for the notification. Disregard the bugreport above since it seems to be unrelated to this issue. The build servers for the SDK had to be upgraded to a new version and a few dependencies required for GTK support were unfortunately lost in the process. We will rebuild and update the packages very soon as neither Qt itself or the SDK should be affected. The standalone builds of creator seems to work fine.
Are you aware that 'ä' can be encoded in different ways in unicode? Your simple comparison only detects one way to encode it!
You might want to normalize (see "QString::normalized":http://doc.qt.nokia.com/4.7/qstring.html#normalized) both strings before comparing them or be prepared to have strings that produce the same sequence of glyphs (the little drawings on the screen) be considered different.
Some normalization forms encode 'ä' in a sequence of unicode codepoints. In that case your character-by-character comparison will miss it.
If you use setPlainText(), the whole QTextItem will get cleared and all previous undo/redo info is lost, so the cursor moves to 0 position. If you use movePostion or setPosition, the cursor doesn't seem to move.
So why not use insertText() and then use your logic to repaginate. I tried a quick example and this works.
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.