示例#1
0
/*!
  Constructor
  \param parent Parent widget
*/
QwtKnob::QwtKnob( QWidget* parent ):
    QwtAbstractSlider( Qt::Horizontal, parent )
{
    initKnob();
}
示例#2
0
/*!
  Constructor
  \param parent Parent widget
  \param name Object name
*/
QwtKnob::QwtKnob(QWidget* parent, const char *name): 
    QwtAbstractSlider(Qt::Horizontal, parent)
{
    setName(name);
    initKnob();
}