Hey ,
can any body tell me how to change the style sheet for QCalendarWidget?
mainly i want to change the backgroung-color of navigationbar...!

Qt Code:
  1. QWidget *widget = new QWidget;
  2.  
  3. QCalendarWidget *calendar = new QCalendarWidget(widget);
  4. QString style="QMenu { font-size:16px; width: 150px; left: 20px;"
  5. "background-color:qlineargradient(x1:0, y1:0, x2:0, y2:1, stop: 0 #cccccc, stop: 1 #333333);}"
  6. "QToolButton {icon-size: 48px, 48px;background-color: qlineargradient(x1:0, y1:0, x2:0,"
  7. "y2:1, stop: 0 #cccccc, stop: 1 #333333);"
  8. "height: 100px; width: 200px;}"
  9. "QAbstractItemView {selection-background-color: rgb(255, 174, 0);}"
  10. "QToolButton::menu-arrow {}"
  11. "QToolButton::menu-button {}"
  12. "QToolButton::menu-indicator{width: 50px;}"
  13. "QToolButton::menu-indicator:pressed,"
  14. "QToolButton::menu-indicator:open{top:10px; left: 10px;}"
  15. "QListView {background-color:white;}"
  16. "QSpinBox::up-button { subcontrol-origin: border;"
  17. "subcontrol-position: top right; width:50px; border-image: url(icons:arrow_up_n.png);}"
  18. "QSpinBox::down-button {subcontrol-origin: border; subcontrol-position: bottom right;"
  19. "border-width: 1px; width:50px;}"
  20. "QSpinBox::down-arrow { width:26px; height:17px;"
  21. "image: url(icons:arrow_down_n.png); } ";
  22.  
  23. calendar->setStyleSheet(style);
To copy to clipboard, switch view to plain text mode 

what should I add more to this?

thanks.