summaryrefslogtreecommitdiff
path: root/models/DecodeHighlightingModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'models/DecodeHighlightingModel.cpp')
-rwxr-xr-xmodels/DecodeHighlightingModel.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/models/DecodeHighlightingModel.cpp b/models/DecodeHighlightingModel.cpp
index e57ff91e..5b60b335 100755
--- a/models/DecodeHighlightingModel.cpp
+++ b/models/DecodeHighlightingModel.cpp
@@ -26,6 +26,7 @@ public:
}
HighlightItems static const defaults_;
+ HighlightItems static const defaults2_;
HighlightItems data_;
QFont font_;
};
@@ -49,6 +50,25 @@ QList<DecodeHighlightingModel::HighlightInfo> const DecodeHighlightingModel::imp
, {Highlight::Tx, true, {}, {Qt::yellow}}
};
+QList<DecodeHighlightingModel::HighlightInfo> const DecodeHighlightingModel::impl::defaults2_ = {
+ {Highlight::LotW, true, {Qt::black}, {}}
+ , {Highlight::MyCall, true, {{0xaa, 0x00, 0x00}}, {{0x00, 0xff, 0xff}}}
+ , {Highlight::Continent, true, {{0xaa, 0x00, 0x00}}, {{0xff, 0x50, 0xff}}}
+ , {Highlight::ContinentBand, true, {{0xaa, 0x00, 0x00}}, {{0xff, 0x82, 0xff}}}
+ , {Highlight::DXCC, true, {{0xaa, 0x00, 0x00}}, {Qt::yellow}}
+ , {Highlight::DXCCBand, true, {{0xaa, 0x00, 0x00}}, {{0xff, 0xff, 0x9b}}}
+ , {Highlight::CQZone, true, {{0xaa, 0x00, 0x00}}, {{0xaa, 0xaa, 0x00}}}
+ , {Highlight::CQZoneBand, true, {{0xaa, 0x00, 0x00}}, {{0xaa, 0xaa, 0x7f}}}
+ , {Highlight::ITUZone, true, {{0xaa, 0x00, 0x00}}, {{0x37, 0xbd, 0xff}}}
+ , {Highlight::ITUZoneBand, true, {{0xaa, 0x00, 0x00}}, {{0x91, 0xde, 0xff}}}
+ , {Highlight::Grid, true, {{0xaa, 0x00, 0x00}}, {{0xff, 0xa8, 0x80}}}
+ , {Highlight::GridBand, true, {{0xaa, 0x00, 0x00}}, {{0xff, 0xcd, 0x9b}}}
+ , {Highlight::Call, true, {{0xaa, 0x00, 0x00}}, {{0x64, 0xff, 0x64}}}
+ , {Highlight::CallBand, true, {{0xaa, 0x00, 0x00}}, {{0xb4, 0xff, 0xb4}}}
+ , {Highlight::CQ, true, {{0xaa, 0x00, 0x00}}, {{0xc3, 0xc3, 0xc3}}}
+ , {Highlight::Tx, true, {Qt::black}, {{0xff, 0xa5, 0xc6}}}
+};
+
bool operator == (DecodeHighlightingModel::HighlightInfo const& lhs, DecodeHighlightingModel::HighlightInfo const& rhs)
{
return lhs.type_ == rhs.type_
@@ -134,6 +154,11 @@ auto DecodeHighlightingModel::default_items () -> HighlightItems const&
return impl::defaults_;
}
+auto DecodeHighlightingModel::default_items2 () -> HighlightItems const&
+{
+ return impl::defaults2_;
+}
+
auto DecodeHighlightingModel::items () const -> HighlightItems const&
{
return m_->data_;