Hi all,
I am having a QListwidget which contains some items in it.
Now what i am trying for is:When i click anyone of those items in the list it should display some information about it.
Here is the code of mine:
Qt Code:
void MainWindow:n_pushButton_clicked() { listWidget->setStyleSheet("* { background-color:black; padding: 7px ; color: white}"); listWidget->setStyleSheet( " QListWidget::item:selected:active {background: qlineargradient(x1: 0, y1: 0, stop: 0 red);}"); listWidget->showFullScreen(); }To copy to clipboard, switch view to plain text mode
If i click A-it should display something about "A" and for each and every item.
Is there any code of property so that i can finish my work.
Anyone help me with this.
Thanks and Regards,
Harish.M
Bookmarks