Compiles, links and runs (functionality not tested)
This commit is contained in:
parent
04723a289b
commit
6a97c0447a
48 changed files with 224 additions and 149 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#include "queryexplainmodel.h"
|
||||
#include "QueryExplainModel.h"
|
||||
#include <QColor>
|
||||
#include <QSize>
|
||||
#include <cmath>
|
||||
|
||||
const int c_ColumnNode = 0;
|
||||
const int c_ColumnExclusive = 1;
|
||||
|
|
@ -79,7 +80,7 @@ if (role == Qt::DisplayRole) {
|
|||
}
|
||||
}
|
||||
if (col == c_ColumnEstErr) {
|
||||
float e = fabs(item->estimateError());
|
||||
float e = std::fabs(item->estimateError());
|
||||
if (e > 1000.0f) {
|
||||
result = QColor(255, 192, 192);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue