2#include <QTableWidgetItem>
22 this->setRange(min,
max);
23 this->setPageStep(step);
30 int deltaValue = pageStep() / 3 >= 1 ? pageStep() / 3 : 1;
32 this->setValue(this->value() - deltaValue);
34 this->setValue(this->value() + deltaValue);
80 void addItemToPosition(
const QString& qstr,
int row,
int column,
const QString& rowName,
const QString& columnName,
const bool resizeRow =
false,
const int height = 30);
105 if (event->key() == Qt::Key_Alt)
108 QTableWidget::keyPressEvent(event);
113 if (event->key() == Qt::Key_Alt)
116 QWidget::keyReleaseEvent(event);
This is an implementation of AdditiveCCD based on peridyno.