[Solve] Create vertical QLable
-
Hi all,
As appears in "this image":http://postimg.org/image/nxyg4av0f/ I need to add a QTableView and two QLables to a UI.
I already created QTableView but my problem is I don't know how to create a vertical QLable (highlighted one).
Can anybody please help me?
Thanks for reading..
P.S. : is there any problem with submit post here? I tried three times. Post dissapeared when I press 'Submit Post' button.
-
Zarkon,
Pushbutton??
Andre,
I read lot. But lot of guys said have to create a customized lable from QLable.For example "here":http://stackoverflow.com/questions/9183050/vertical-qlabel-or-the-equivalent.
But I'm finding easy way. :)
Thanks both of you for replying me.
-
Andre,
:D
Yeah. Actually it is easier to copy and paste the ready-made code. But I hope some method to change the properties of existing QLable.
I felt some uncomfortable to write a new class to do very simple thing like that.
Should I create a new class for a simple decorative thing which only work as a decoration to a project and not is an essential thing?Need some advice from expert.
Thank you..
-
There is no property on QLabel that will do it for you. Either use what has been handed to you, or give up the idea. And no, it is obviously not essential. Whole generations of Qt developers have managed to build very cool applications without having this feature in QLabel.
And if you note the logo under my picture, I am an expert.
-
@ Zarkon,
Should I disabled the pushbutton?
-
[quote author="Andre" date="1399456811"]And if you note the logo under my picture, I am an expert. [/quote]
Yes. I saw it. Because of that I said 'Need some advice from expert'. I mean you. :)
Thank you very much for support.
-
Thanks all. I "this link":http://stackoverflow.com/questions/9183050/vertical-qlabel-or-the-equivalent help me to successfully create vertical Qlable.