Commit Graph

53 Commits

Author SHA1 Message Date
G.K.MacGregor
6d79329442 [Qt6] Include QActionGroup 2023-08-20 19:09:24 +01:00
G.K.MacGregor
6185ca7110 Make full screen+row colours and CLUT remapping undoable 2023-08-13 21:47:22 +01:00
G.K.MacGregor
27ae092b5e Lock out CLUT 0-1 editing when Level is not 3.5 2023-06-14 18:21:23 +01:00
G.K.MacGregor
c0670c8281 Never mark a document cleanly saved after .t42 export
Amendment to 7493c8f so that a document even with only one subpage will not
be marked as cleanly saved. This should reinforce the fact that only TTI
files will be guaranteed to store everything.
2023-02-26 18:06:14 +00:00
G.K.MacGregor
7493c8f527 Add re-export option if .t42 file is loaded or exported
This allows a single keypress or menu click to repeatedly export a subpage
over the same .t42 file, like "Save" does for TTI files. If further teletext
page formats are added in the future this option should remember which
format was exported.

This option is deliberately different from "Save" as .t42 files are only
exported as the current subpage on view, and some metadata stored in TTI
files but not in .t42 files could be lost.

When exporting .t42 files the document is only marked as cleanly saved if it
consisted of a single subpage. Documents of more than one subpage will still
cause a confirmation dialog to be shown if unsaved, as the other subpages
will be lost unless the document is saved again as TTI.
2023-02-26 17:29:09 +00:00
G.K.MacGregor
9bd9f180c2 Don't hide control codes or grid when exporting PNG 2023-02-02 18:18:51 +00:00
G.K.MacGregor
c64be6a4c9 Update copyright notices to 2023 2022-12-31 21:19:15 +00:00
G.K.MacGregor
abf649d2ab Add reload from disk
This is typically mapped to the F5 key, so the "secret force refresh"
key has been temporarily moved to F6.
2022-07-17 15:16:53 +01:00
G.K.MacGregor
a8798260dc Rename Level method and variable 2022-05-02 22:24:04 +01:00
G.K.MacGregor
d5487140cf Split compositional links from page enhancements 2022-05-01 12:55:08 +01:00
G.K.MacGregor
e16bb15310 Split decoder and render
decode.* will solely decode the teletext packets into a grid of characters and
colours and other attributes stored in an agnostic way, then render.* will read
this grid and render the characters onto the screen with the Qt specific
methods.
2022-04-02 22:38:38 +01:00
G.K.MacGregor
9d27ae24e7 Show selection size in status bar
Also remove the "subpage", "row" and "column" texts from the status
bar to better cope with tiny screens.
2022-02-13 18:50:50 +00:00
G.K.MacGregor
406ab6c6ed Update copyright notices to 2022 2021-12-31 21:40:36 +00:00
G.K.MacGregor
f5402d216a Show filename when asking about unsaved changes 2021-12-14 22:06:18 +00:00
G.K.MacGregor
3d68e384a5 Tag version 0.5-alpha 2021-09-10 17:14:27 +01:00
G.K.MacGregor
f61dfbf654 Allow deeper zoom 2021-09-09 21:40:36 +01:00
G.K.MacGregor
d8afb84861 Add exporting of X/28 packets as M/29 2021-09-06 22:07:14 +01:00
G.K.MacGregor
1104bc3c18 Add exporting of single page .t42 files, wrt #2 2021-09-05 18:24:51 +01:00
G.K.MacGregor
e466ef2afe Change to .tti suffix when saving imported file 2021-08-17 18:40:57 +01:00
G.K.MacGregor
1e943c3f26 Add importing of single page .t42 files, wrt #2 2021-08-15 19:03:40 +01:00
G.K.MacGregor
a3d4783796 Make smooth pixmap scaling optional 2021-06-07 21:58:14 +01:00
G.K.MacGregor
c8e57150eb Implement exporting PNG images 2021-06-03 22:26:54 +01:00
G.K.MacGregor
23c2623bcf Clarify that we export only the current subpage 2021-05-27 21:57:02 +01:00
G.K.MacGregor
72dbe94dc2 Tag version 0.2-alpha 2021-05-23 17:25:00 +01:00
G.K.MacGregor
19f74a1761 Focus main text widget on startup 2021-05-09 18:55:20 +01:00
G.K.MacGregor
8903703064 Scroll view to follow cursor 2021-05-09 16:34:53 +01:00
G.K.MacGregor
56e7b0500c Implement zooming with Control key and mousewheel 2021-05-04 21:52:51 +01:00
G.K.MacGregor
9fa86f8c4c Implement cut, copy and paste 2021-05-03 22:17:51 +01:00
G.K.MacGregor
7a0dbcca2b Compact allocating and pushing of commands 2021-05-02 12:36:37 +01:00
G.K.MacGregor
5739474957 Move selection rectangle from widget to scene 2021-04-26 22:08:28 +01:00
G.K.MacGregor
8bc0c2c886 Move cursor from widget to scene 2021-04-26 21:06:00 +01:00
G.K.MacGregor
dc93fe856d Move grid from widget to scene 2021-04-18 16:57:45 +01:00
G.K.MacGregor
2aad1e7f5e Tag version 0.1-alpha 2021-04-11 18:40:38 +01:00
G.K.MacGregor
f49a07e421 Make Insert key work again in triplet list 2021-04-11 13:03:07 +01:00
G.K.MacGregor
5fbec979f1 Add some keyboard shortcuts to menu items 2021-04-04 13:19:54 +01:00
G.K.MacGregor
27ad6701b4 Implement insert and overwrite editing modes 2021-02-14 17:35:11 +00:00
G.K.MacGregor
917f4fa7d6 Prevent Level radio buttons stealing focus 2021-02-12 21:43:14 +00:00
G.K.MacGregor
37d669a34a Add Esc+J shortcut to type block character 2021-02-09 15:50:06 +00:00
G.K.MacGregor
222a0b6d62 Add keyboard control to spacing attributes actions 2021-01-26 19:25:57 +00:00
G.K.MacGregor
d38bfcf902 Update copyright notices to 2021 2020-12-31 22:08:52 +00:00
G.K.MacGregor
377470da47 Auto-select level when loading 2020-12-20 19:38:23 +00:00
G.K.MacGregor
19be00f4fe Implement deleting of subpages 2020-12-15 21:57:42 +00:00
G.K.MacGregor
329d1cd9f4 Add statusbar widgets to flip between subpages 2020-12-13 15:46:23 +00:00
G.K.MacGregor
1855d8dacb Untangle loading TTI files into loadsave 2020-11-29 15:41:26 +00:00
G.K.MacGregor
492afba8b1 Untangle hashstring exporting into loadsave 2020-11-29 11:48:08 +00:00
G.K.MacGregor
4ce1b027b0 Untangle saving TTI files into new file
The saving code is an attempt to be page function and page coding
agnostic so the same code can save (G)POP, (G)DRCS and MOT pages in
the future.

loadsave will be the home of page loading, URL exporting and also for
importing and exporting of other teletext file formats.
2020-11-24 19:01:25 +00:00
G.K.MacGregor
cf00cff59d Move proxy widget from mainwindow to mainwidget
Mainly in preparation for editing different document types.
Also fixes some issues wrt border sizing.
2020-11-24 13:16:20 +00:00
G.K.MacGregor
79fac8b972 Split out commands into their own file 2020-11-10 18:48:12 +00:00
G.K.MacGregor
409c00f22e Add github URL to "about" box 2020-11-10 15:05:24 +00:00
G.K.MacGregor
b74eee7597 Add undo and redo icons to toolbar 2020-11-10 14:39:36 +00:00