You shouldn't pass "this" to layouts' constructors, because they will call setLayout() on the parent.
Like it or not, but it would take you only a couple of minutes to set up this widget in Qt Designer.
Because you should use QPalette::WindowText instead of QPalette::Text and you have to set the changed palette back on the label to see the effect.
Jacek, thanks on tip on QLabel, it works now. But whenever I create Layouts with "this" parameter or without, result of placing QWIdgetTable is still the same.
Bookmarks