DynExp
Highly flexible laboratory automation for dynamically changing experiments.
|
Implements a QItemDelegate which forces e.g. a QTableWidgetItem's content to be boolean (0 or 1). More...
Public Member Functions | |
DigitalOnlyItemDelegate (QObject *parent=nullptr) | |
Public Member Functions inherited from Util::NumericOnlyItemDelegate | |
NumericOnlyItemDelegate (QObject *parent=nullptr, double min=std::numeric_limits< double >::lowest(), double max=std::numeric_limits< double >::max(), int precision=-1) | |
Constructs a NumericOnlyItemDelegate and sets constraints on the numeric values it considers valid. More... | |
virtual QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
Implements a QItemDelegate which forces e.g. a QTableWidgetItem's content to be boolean (0 or 1).
|
inline |