version 1.4.0_alpha
add LogView patch MatrixEdit for old Qt
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
MatrixEdit::MatrixEdit(QWidget * parent): QWidget(parent) {
|
||||
ui = new Ui::MatrixEdit();
|
||||
ui->setupUi(this);
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)
|
||||
ui->table->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContents);
|
||||
#endif
|
||||
connect(ui->table, SIGNAL(cellChanged(int,int)), this, SIGNAL(changed()));
|
||||
ro = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user