Commit Graph

252 Commits

Author SHA1 Message Date
G.K.MacGregor
d184c50246 Implement mosaic shifting
When a selection box is dragged, holding Ctrl while pressing the arrow
keys will shift the mosaics one sixel at a time.

If a shifting sixel encounters a non-mosaic cell it will pass through to
the other side of it.
2024-07-10 21:13:54 +01:00
G.K.MacGregor
9045160d3a Convert storeCharacters to a function 2024-07-09 22:16:58 +01:00
G.K.MacGregor
98071d823c Split out X28 commands 2024-07-09 18:01:17 +01:00
G.K.MacGregor
eb0dd7266b Remove secret F6 refresh key
Not needed as all non-refresh bugs seem to be squashed now.
2024-07-08 21:32:39 +01:00
G.K.MacGregor
c32876600b Tweaks to mosaic character editing 2024-07-07 19:41:39 +01:00
G.K.MacGregor
fbdde54fe4 Allow monochrome images to be cut and pasted as mosaic sixels
For cut and copy sixels are converted to a monochrome image; unset sixels
are black and set sixels are white. Alphanumerics and control codes are
ignored. Held mosaics are not considered.

For paste a clipboard with only an image is converted to black and white
for unset and set sixels. This only works reliably with fully-black and
fully-white pixels.
2024-07-07 13:20:47 +01:00
G.K.MacGregor
54bdf1783a Don't paste plain text at column 0 unless selection is active 2024-07-02 16:33:49 +01:00
G.K.MacGregor
23a0d3c47e Add QIcon to font encapsulation 2024-07-02 15:52:44 +01:00
G.K.MacGregor
9b4ee66e1c Revert "Convert font image straight to QIcons"
This reverts commit 7cd632b4e2.

The commit would cause the font icons to be inverted sometimes. This
reversion is altered to return the font bitmaps as a QPixmap instead of a
QBitmap to be compatible with Qt6.
2024-06-25 18:49:38 +01:00
G.K.MacGregor
7cd632b4e2 Convert font image straight to QIcons
Fixes a compile error with recent Qt6 versions
2024-06-17 22:11:38 +01:00
G.K.MacGregor
a0dd98144a Show blast-through alphanumerics in G1 character selection 2024-06-09 22:13:24 +01:00
G.K.MacGregor
80a450e0de Implement object invoke context menu 2024-06-09 21:57:55 +01:00
G.K.MacGregor
f90ea6ca9c Add an easy way to get list of object definitions 2024-06-04 18:13:59 +01:00
G.K.MacGregor
dfff4c5e17 Implement font style context menu 2024-05-26 19:27:48 +01:00
G.K.MacGregor
e9855ceba3 Implement display attributes context menu 2024-05-26 18:24:21 +01:00
G.K.MacGregor
238515006d Implement flash functions context menu 2024-05-26 17:39:21 +01:00
G.K.MacGregor
771bc66b89 Add insert options to context menu 2024-05-22 17:28:43 +01:00
G.K.MacGregor
5b688d47ea Present same context menu in all table columns 2024-05-07 21:58:45 +01:00
G.K.MacGregor
05cf313b63 Implement CLUT context menu 2024-04-30 21:12:35 +01:00
G.K.MacGregor
12649e3adf Implement character context menu 2024-04-28 18:46:31 +01:00
G.K.MacGregor
539c6c9b32 Make the model return character set numbers 2024-04-24 19:51:06 +01:00
G.K.MacGregor
5d0241ad43 Implement right-click to change triplet mode 2024-04-24 17:57:01 +01:00
G.K.MacGregor
9e64033d7c Break out triplet mode menu 2024-04-22 22:15:10 +01:00
G.K.MacGregor
ecefa03559 Encapsulate the font bitmap 2024-04-17 22:15:01 +01:00
G.K.MacGregor
3db1815772 Add zoom slider to status bar 2024-04-09 21:33:17 +01:00
G.K.MacGregor
ebb389b6d7 Tag version 0.6.3-beta 0.6.3-beta 2024-02-05 18:02:30 +00:00
G.K.MacGregor
55814f1d6d Add some examples 2024-02-05 17:37:31 +00:00
G.K.MacGregor
7dc192e59b Say that it compiles with Qt 6 2024-02-05 17:29:16 +00:00
G.K.MacGregor
37f7be7db1 Render the page with QImage instead of QPixmap 2024-02-05 17:02:36 +00:00
G.K.MacGregor
680130f26e Remove a couple of spurious includes 2024-02-05 17:01:55 +00:00
G.K.MacGregor
cbe0ad14e5 Try to make status bar smaller 2024-02-02 20:49:16 +00:00
G.K.MacGregor
e3a8f43b52 Split text block saving into intermediate class 2024-02-02 18:00:43 +00:00
G.K.MacGregor
baa20d69b7 Really simplify refresh signalling
Amendment to a468032, where refresh signal was not taken out of row loops.
2024-02-02 16:34:34 +00:00
G.K.MacGregor
bd49ba9e47 Update copyright notices to 2024 2024-01-01 00:12:17 +00:00
G.K.MacGregor
16f6d353ed Revert "Make cycle time optional"
This reverts commit 3048e4dbc6.
Without a CT line vbit2 defaults to 1 cycle which could be too fast on
magazines with very few pages.
2023-11-30 22:05:14 +00:00
G.K.MacGregor
42d19b6e4b Properly set 2nd region combobox to unneeded 2023-11-29 22:10:58 +00:00
G.K.MacGregor
9759321566 Update URL of the ETS 300 706 teletext specification 2023-10-21 19:16:54 +01:00
G.K.MacGregor
426052f573 Port away from GNU case range extension
Hopefully this should now compile with MSVC and other compilers
2023-09-12 16:45:55 +01:00
G.K.MacGregor
3048e4dbc6 Make cycle time optional 2023-09-12 14:58:22 +01:00
G.K.MacGregor
a4680326f0 Simplify refresh signalling 2023-09-12 13:50:00 +01:00
G.K.MacGregor
a28e56797b Fix missing bottom half of double size text in passive objects 2023-09-05 20:25:08 +01:00
G.K.MacGregor
e56fc40f8f Put parameter names into header files too 2023-08-27 14:25:16 +01:00
G.K.MacGregor
24cafa00d4 Force reload shortcut to F5 key
GNOME/GTK environments could map the reload shortcut to Ctrl+R which clashes
with the Reveal shortcut.
2023-08-22 21:42:36 +01:00
G.K.MacGregor
8e14d144fd [Qt6] Fix shortcut key sequences 2023-08-22 21:34:10 +01:00
G.K.MacGregor
e001aa7896 [Qt6] Use setEncoding instead of deprecated setCodec 2023-08-20 22:16:51 +01:00
G.K.MacGregor
22703e4bfb [Qt6] Switch QRegExp usage to QRegularExpression 2023-08-20 19:39:13 +01:00
G.K.MacGregor
6d79329442 [Qt6] Include QActionGroup 2023-08-20 19:09:24 +01:00
G.K.MacGregor
fe69e0cd0f [Qt6] Be explicit about QChar() 2023-08-20 19:01:53 +01:00
G.K.MacGregor
fe53cabee1 [Qt6] Switch to Qt::SkipEmptyParts to fix deprecation warning 2023-08-20 18:50:55 +01:00
G.K.MacGregor
86e2856d50 Tag version 0.6.2-alpha 0.6.2-alpha 2023-08-15 19:50:56 +01:00