REPLines: Add REP lines into model, view and minor change.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-03-26 10:40:57 +01:00
1 parent 1ff895368e
commit aedb8c46fc
16 files changed
+735 -5

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ class TabListModel(PamhyrListModel):
if status is STATUS.OK:
color = Qt.green
elif status is STATUS.WARNING:
color = Qt.yellow
color = QColor("orange")
elif status is STATUS.ERROR:
color = Qt.red
+2 -2
View File
@@ -57,7 +57,7 @@ class TableModel(PamhyrTableModel):
if self._data[row].is_ok():
color = Qt.green
elif self._data[row].is_warning():
color = Qt.yellow
color = QColor("orange")
elif self._data[row].is_error():
color = Qt.red
@@ -136,7 +136,7 @@ class TabTableModel(PamhyrTableModel):
if status is STATUS.OK:
color = Qt.green
elif status is STATUS.WARNING:
color = Qt.yellow
color = QColor("orange")
elif status is STATUS.ERROR:
color = Qt.red