#include <RingEditor.h>
List of all members.
Public Member Functions |
QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| RingEditorDelegate (QObject *parent=0) |
void | setEditorData (QWidget *editor, const QModelIndex &index) const |
void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
Constructor & Destructor Documentation
References TRACE.
: QItemDelegate(parent)
{
TRACE;}
Member Function Documentation
References w.
{
if(index.column() < 2) {
DoubleSpinBox * w=new DoubleSpinBox(parent);
connect(w,SIGNAL(valueChanged(double)), this, SLOT(commitSpin()));
w->setMinimum(0.0);
w->setMaximum(1e99);
return w;
} else return 0;
}
The documentation for this class was generated from the following files: