You don't call paintCell(). It's a virtual method of the table that gets called by the table itself. You have to use your subclass of QTable instead of QTable in your form, for example using the custom widgets mechanism available in Designer's menu. You need to place an instance of "Table" on the form and C++ will pick up your implementation of paintCell().
Bookmarks