hi friends,

in dialog.cpp
Qt Code:
  1. progressbar = new QProgressBar();
  2. label1 = new QLabel("please wait ...");
  3. progressbar->setTextVisible(false);
  4.  
  5. //for progressbar
  6. setStyleSheet("QProgressBar {border: 1px solid grey; border-radius: 8px;padding: 1px }");
  7.  
  8. //for chunk
  9. 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 ..