Model Run Analysis Dialog with Qt4 QHeaderView for Rotated Column Header Text
... Confounding Problem with Crosshatch Drawing

Phil Weinstein -- 9-26-2008 -- Hit Refresh

Status 9-26-2008 (am): Crosshatch Drawing in Headers

I created a "thin" QHeaderView subclass which draws a red crosshatch (conditioned by a predicate in a client listener interface, implemented in RunAnalGridQTableModel). It's working well as a base class for RwColumnHeaderView, but there are, at the moment, some problems using this as the instantiated class for the row headers (in progress). Those problems are:

  1. Drawing is occuring only in the topmost row header (this could be a clipping problem), and
  2. Used in this way, the crosshatches must be drawn on top of the text.

I may choose to take over the drawing completely also for the row header (i.e. as we have done for the column header).

Crosshatch should be shown on the first and third row headers (but it is appearing only on the first row header).