I created a derivative of the QTableWidget, and in its .h file I set the stylesheet


Qt Code:
  1. setStyleSheet(
  2. "background-color: #2F2F2F;"
  3. "border: 1px solid #4181C0;"
  4. "color: #4181C0;"
  5. "selection-background-color: #4181C0;"
  6. "selection-color: #FFF;"
  7.  
  8. "QHeaderView::section {"
  9. "border-top: 0px solid 4181C0;"
  10. "border-bottom: 1px solid 4181C0;"
  11. "border-right: 1px solid 4181C0;"
  12. "background:#2F2F2F;"
  13. "color: #4181C0;"
  14. "}"
  15. );
To copy to clipboard, switch view to plain text mode 

This is the output:

dtw.jpg

How can I make the vertical scrollbar remain unstyled? I know I should write
Qt Code:
  1. setStyleSheet(
  2. "<something> {"
  3. "background-color: #2F2F2F;"
  4. "border: 1px solid #4181C0;"
  5. "color: #4181C0;"
  6. "selection-background-color: #4181C0;"
  7. "selection-color: #FFF;"
  8. "};"
  9. "QHeaderView::section {"
  10. "border-top: 0px solid 4181C0;"
  11. "border-bottom: 1px solid 4181C0;"
  12. "border-right: 1px solid 4181C0;"
  13. "background:#2F2F2F;"
  14. "color: #4181C0;"
  15. "}"
  16. );
To copy to clipboard, switch view to plain text mode 

Can you tell me what is "<something>"?

Thank you in advance