mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
REPLines: Add REP lines into model, view and minor change.
This commit is contained in:
1 parent
1ff895368e
commit
aedb8c46fc
16 files changed
+735
-5
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user