3 Commits

Author SHA1 Message Date
Gavin MacGregor
df7ce90d0f Set new object definitions to Levels 2.5 and 3.5 2026-02-12 20:56:38 +00:00
Gavin MacGregor
838a54d528 Ensure Level 1.5 active position warnings are cleared 2026-02-12 14:14:46 +00:00
Gavin MacGregor
2682554b79 Update copyright notices to 2026 2025-12-31 09:39:04 +00:00
50 changed files with 60 additions and 57 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*
@@ -346,17 +346,16 @@ void X26TripletList::updateInternalData()
case 0x2f: // G2 character
activePosition.setColumn(triplet->addressColumn());
if (activePosition.row() != triplet->m_activePositionRow || activePosition.column() != triplet->m_activePositionColumn)
triplet->m_activePosition1p5Differs = true;
triplet->m_activePosition1p5Differs = activePosition.row() != triplet->m_activePositionRow || activePosition.column() != triplet->m_activePositionColumn;
break;
default:
if (triplet->modeExt() >= 0x30 && triplet->modeExt() <= 0x3f) {
// G0 diacritical mark
activePosition.setColumn(triplet->addressColumn());
if (activePosition.row() != triplet->m_activePositionRow || activePosition.column() != triplet->m_activePositionColumn)
triplet->m_activePosition1p5Differs = true;
}
triplet->m_activePosition1p5Differs = activePosition.row() != triplet->m_activePositionRow || activePosition.column() != triplet->m_activePositionColumn;
} else
triplet->m_activePosition1p5Differs = false;
}
triplet->m_activePositionRow1p5 = activePosition.row();

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*
@@ -371,7 +371,7 @@ void MainWindow::about()
QMessageBox::about(this, tr("About"), QString("<b>%1</b><br>"
"An open source Level 2.5 teletext page editor.<br>"
"<i>Version %2</i><br><br>"
"Copyright (C) 2020-2025 Gavin MacGregor<br><br>"
"Copyright (C) 2020-2026 Gavin MacGregor<br><br>"
"Released under the GNU General Public License version 3<br>"
"<a href=\"https://github.com/gkthemac/qteletextmaker\">https://github.com/gkthemac/qteletextmaker</a>").arg(QApplication::applicationDisplayName()).arg(QApplication::applicationVersion()));
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*
@@ -1066,11 +1066,15 @@ void X26DockWidget::insertTriplet(int modeExt, int row)
} else
row = 0;
// Avoid reserved bits
// Avoid reserved bits or suggest sane defaults
switch (modeExt) {
case 0x07: // Address Row 0
newTriplet.setAddress(63); // set Address to notreserved
break;
case 0x15: // Define Active Object
case 0x16: // Define Adaptive Object
case 0x17: // Define Passive Object
newTriplet.setAddress(0x38); // Required at Levels 2.5 and 3.5
case 0x18: // DRCS mode
newTriplet.setData(0x70); // Normal DRCS at Levels 2.5 and 3.5
break;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2025 Gavin MacGregor
* Copyright (C) 2020-2026 Gavin MacGregor
*
* This file is part of QTeletextMaker.
*