Problem with styleSheet
-
Hi,
I can't Thank you enough for the answers. I did it!@shahriar25
\o/ super :) -
wrote on 8 Jan 2016, 14:19 last edited by
I have one more Question:
I want the listview to show "Goto File->Add To List to add files"
or a background text for the labels saying "Album" when its empty
How shold I do that? -
I have one more Question:
I want the listview to show "Goto File->Add To List to add files"
or a background text for the labels saying "Album" when its empty
How shold I do that?@shahriar25 said:
well for the list view, you could have a start item saying that.
And then you then add thr real items, then remove it first. -
wrote on 8 Jan 2016, 15:15 last edited by
Yes that works but if I wanted it tobe in the middle if the listView than what?
and for the QLabel? -
Yes that works but if I wanted it tobe in the middle if the listView than what?
and for the QLabel?@shahriar25
Well im not sure if you can make
it go to middle of the view.Well for the QLabel, you can just set the text?
-
wrote on 8 Jan 2016, 15:41 last edited by
Yes I can but does it look good?
alright I will leave it empty.
thank you again -
Yes I can but does it look good?
alright I will leave it empty.
thank you againLifetime Qt Championwrote on 8 Jan 2016, 15:47 last edited by mrjj 1 Aug 2016, 16:00@shahriar25
well QLabel can show html so it can look pretty much as you like
http://doc.qt.io/qt-5.5/richtext-html-subset.html
Color and font wise. -
wrote on 8 Jan 2016, 16:43 last edited by
I did it with rich text
-
I did it with rich text
@shahriar25
So it turned out as you like? -
wrote on 8 Jan 2016, 17:53 last edited by
Yes it did
22/22