HasStyle instance for QDiagram