title: How to create a template widget class with Qt Designer?
body: <p>My goal is to create two widgets for editing histogram plots (1D and 2D). They are both composed of several standard widgets (sliders, spin boxes, buttons and so on) and the actual plot widget. Except for the plot widget they are completely identical. I thought it would be best to create a template class with the plot widget class as template parameter, in order to avoid code duplication.</p>
  
  <p>The problem now is: I’d like to be able to build/modify this editor widget with Qt Designer. But I can’t think of a way to achieve this.</p>
  
  <p>Do you have any idea if this is possible?</p>
  
  <p>I’d prefer not having to put together this widget in pure C++ code...</p>