2021-02-24 Fred Gleason <fredg@paravelsystems.com>

* Updated build system to use Qt5 instead of Qt4.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-02-24 16:12:22 -05:00
parent 5131b1d5fe
commit 57abeada3c
130 changed files with 481 additions and 441 deletions

View File

@@ -180,11 +180,11 @@ void RDGpioLogModel::addEvent(int line,bool state)
// State
if(state) {
texts.push_back(tr("On"));
d_text_colors.push_back(Qt::darkGreen);
d_text_colors.push_back(QColor(Qt::darkGreen));
}
else {
texts.push_back(tr("Off"));
d_text_colors.push_back(Qt::darkRed);
d_text_colors.push_back(QColor(Qt::darkRed));
}
d_texts.push_back(texts);
@@ -277,11 +277,11 @@ void RDGpioLogModel::updateRow(int row,RDSqlQuery *q)
// State
if(q->value(2).toUInt()==0) {
texts.push_back(tr("Off"));
d_text_colors[row]=Qt::darkRed;
d_text_colors[row]=QColor(Qt::darkRed);
}
else {
texts.push_back(tr("On"));
d_text_colors[row]=Qt::darkGreen;
d_text_colors[row]=QColor(Qt::darkGreen);
}
d_texts[row]=texts;