I'm trying to display a QwtPlotLegendItem which has 2 columns and titles, something like:
Qt Code:
  1. long_bold_title1
  2. item1 item2
  3. item3 item4
  5. long_bold_title2
  6. item5 item6
To copy to clipboard, switch view to plain text mode 

Each entry in the legend is a custom plot item that only displays a text in the legend, and does not draw anything on the plot.

Everything works, except for title spanning. I cannot seem to make the title items span both columns, and the whole layout looks bad because of this.

Is there a way to do this?