Commit Graph

26 Commits

Author SHA1 Message Date
G.K.MacGregor
798630bd50 Allow setting page number from int value 2021-08-08 19:34:14 +01:00
G.K.MacGregor
9edaa2fda7 Show colours in X/26 table and comboboxes 2021-07-18 21:39:41 +01:00
G.K.MacGregor
4387e9ffbd Overhaul draggable selection rectangle logic
The cursor always forms one corner of the selection area.
The area can also be selected with the keyboard using Shift and the
arrow keys.
2021-04-27 22:07:54 +01:00
G.K.MacGregor
f258c6e095 Moving cursor cancels selection 2021-04-26 22:16:05 +01:00
G.K.MacGregor
5739474957 Move selection rectangle from widget to scene 2021-04-26 22:08:28 +01:00
G.K.MacGregor
3455625fb6 Fix potential non-refresh on selecting last subpage 2021-01-03 20:35: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
f9ce912e79 Get "empty document detection" working 2020-12-06 17:57:05 +00:00
G.K.MacGregor
1855d8dacb Untangle loading TTI files into loadsave 2020-11-29 15:41:26 +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
e205846f97 Add enum representing page Control Bits 2020-11-22 12:19:48 +00:00
G.K.MacGregor
9a57ae5469 Move page function and packet coding to document 2020-11-17 17:46:31 +00:00
G.K.MacGregor
bea96413ba Don't save FL command if first FastText link is xFF 2020-11-15 12:24:04 +00:00
G.K.MacGregor
c1f5445465 No need to keep page number within every subpage 2020-11-15 11:34:15 +00:00
G.K.MacGregor
79fac8b972 Split out commands into their own file 2020-11-10 18:48:12 +00:00
G.K.MacGregor
3ebfbff369 Moved FastText links from document to subpages
This paves the way for different FastText links per subpage.
Will also be some help when we come to splitting out document loading
and saving.
2020-10-29 21:31:23 +00:00
G.K.MacGregor
abba8127d9 Implement row insertion and deletion 2020-10-27 15:17:54 +00:00
G.K.MacGregor
01dcff944d Swap order of undo and redo commands 2020-10-25 18:03:10 +00:00
G.K.MacGregor
151d842bc0 Implement draggable rectangle selection 2020-10-25 11:07:04 +00:00
G.K.MacGregor
0a24aff1fa Add X/27/4 and X/27/5 compositional link editing 2020-09-19 19:34:41 +01:00
G.K.MacGregor
4cd080ab0e Store page numbers in Page classes
Although the document class keeps the page number, the sub pages may
need to know the page number as well. For example X/27 packets
contain relative magazine numbers which need the current page number
to calculate the actual page numbers referenced.
2020-09-18 17:37:16 +01:00
G.K.MacGregor
0f864c7787 Rename TeletextPage class to LevelOnePage 2020-09-16 11:15:46 +01:00
G.K.MacGregor
fcc9280391 Begin refactoring of page class 2020-09-11 12:06:06 +01:00
G.K.MacGregor
c24505796a Initial commit. 2020-09-06 16:47:38 +01:00