I want to create table made of QLabels. It's gonna be two rows of at last 6 labels.
Problem is in showing labels borders. I was trying something like that
Qt Code:
  1. setText("<table width=\"100%\" height=\"100%\" border=1><tr><td>Test</td></tr></table>");
To copy to clipboard, switch view to plain text mode 
but it won't work fine with vertical layout (beside it's not nice).
So - time for stylesheets.
Qt Code:
  1. setStyleSheet("border-color: red ; border-width: 2px");
  2. setStyleSheet("border: 5px solid black;");
To copy to clipboard, switch view to plain text mode 
still nothing. Stylesheets for QLabel works - cause I used them to change label background. But when I extend them with above code - there's no border.