hi friends,
in dialog.cpp
label1
= new QLabel("please wait ...");
progressbar->setTextVisible(false);
//for progressbar
setStyleSheet("QProgressBar {border: 1px solid grey; border-radius: 8px;padding: 1px }");
//for chunk
setStyleSheet("QProgressBar::chunk {background: qlineargradient(x1: 0, y1: 0.5, x2: 1, y2: 0.5, stop: 0 red, stop: 1 white); }");
progressbar = new QProgressBar();
label1 = new QLabel("please wait ...");
progressbar->setTextVisible(false);
//for progressbar
setStyleSheet("QProgressBar {border: 1px solid grey; border-radius: 8px;padding: 1px }");
//for chunk
setStyleSheet("QProgressBar::chunk {background: qlineargradient(x1: 0, y1: 0.5, x2: 1, y2: 0.5, stop: 0 red, stop: 1 white); }");
To copy to clipboard, switch view to plain text mode
but here only one stylesheet is working at a time ... it QProgressBar::chunk stylesheet only works in my code .. if i commented the QProgressBar::chunk stylesheet ,, QProgressBar style sheet is working ... how can i modify both at a time ...?
please help ..
Bookmarks