26 QVariantAnimation(parent),
88 grid_ -> setColumnFixedWidth(
index_, value.toReal());
QGraphicsGridLayout * grid_
Grid this class will animate.
GridLayoutAnimation(QGraphicsGridLayout *=nullptr, QObject *=nullptr)
void setGrid(QGraphicsGridLayout *)
~GridLayoutAnimation() override
int index_
Index of the row/column to be animated.
bool row_
Whether we should animate a row or a column.
void updateCurrentValue(const QVariant &) override
QGraphicsGridLayout * grid()