How can i change the text orientation in a QLineEdit so that the text it will be displayed like in this picture (SIDEWAYS).
http://www.annemade-jewelry.com/text_orientation2.jpg
How can i change the text orientation in a QLineEdit so that the text it will be displayed like in this picture (SIDEWAYS).
http://www.annemade-jewelry.com/text_orientation2.jpg
You can't. You have to implement a new widget for it. Alternatively you can place a rotated QLineEdit in graphics view.
Is there another widget in Qt that can display text and accepts text orientation change?
(QLabel or QEdit... something like that)
No, but you can subclass an existing widget and implement it yourself, it's very easy.
10x for the answers.
can you give me some more hints
Dear Wysota,
As I saw you wrote many good answers on this forum, maybe you can prepare
some tutorials - answers for most frequently asked questions, for example
how to subclass QLineEdit and make possible to change text orientation.
I know that probably you have no time but this will decrease basic questions on
this forum so you answers also.
Greetings.
I would like to be a "Guru"
Useful hints (try them before asking):
- Use Qt Assistant
- Search the forum
If you haven't found solution yet then create new topic with smart question.
Maybe you should prepare such a tutorial?
It wouldn't decrease the number of basic questions here, trust me But that's true that it would be easier to answer such questions just by providing a link to the wiki. Unfortunately I don't have time to do everything myself. You have a vertical pushbutton example in the wiki, as pointed out by Filip - it has to suffice.I know that probably you have no time but this will decrease basic questions on
this forum so you answers also.
Bookmarks