I am working on an application that should have a menu on the left side of the screen containing several elements (text). The only points I want to see are the actual text and highlighting. I would also like to change the backlight so that: a. I can animate it and move it from one selection to another b. I can use custom pixmap with rounded corners instead of the default highlight color
I tried using QListWidget and stylesheets and had some success, but I don’t think it is possible to get around the corners of my selection line using this method. I'm also not sure that I can animate the movement of the bar from one object to another:
preset_list_view->setStyleSheet("QListView {color: rgb(230, 230, 230); background-color: rgba(0,0,0,0); border-style: none} QListView::item:selected {background-image: url(:/ui_resources/elements-preset_select/highlight_bar_270x30-black_bg.bmp)}");
I looked online and did not find much. There is some mention of changing the QListWidget delegate, but the descriptions were vague. I'm also not sure if this will solve my animation problem.
Any ideas?
user672033
source
share