diff options
| author | Christoph Berg <myon@debian.org> | 2025-09-15 23:04:33 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2025-09-15 23:04:33 +0200 |
| commit | e1c678ef00f0159bbeb5571e5ebb0d4697121334 (patch) | |
| tree | 6547edef81a62a812a4d0f64e03fda226b5f0a7e /models/DecodeHighlightingModel.cpp | |
| parent | b9daa22c4c3ad51cd4bc0ef624a19f21d01c9305 (diff) | |
| parent | 0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff) | |
Update upstream source from tag 'upstream/3.0.0_rc1+repack'
Update to upstream version '3.0.0~rc1+repack'
with Debian dir 68c212e23136fecf9ebc6f12ff355579224d27ee
Diffstat (limited to 'models/DecodeHighlightingModel.cpp')
| -rwxr-xr-x | models/DecodeHighlightingModel.cpp | 25 |
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_;
|
