const QString stylesheet = QString("QListView {" "background-color: palette(base);" "background-image: url(%1);" "background-position: bottom left;" "background-attachment: fixed;" "background-repeat: no-repeat;" "}") .arg(KStandardDirs::locate("data", "kcm_phonon/listview-background.png")); deviceList->setStyleSheet(stylesheet);