G.K.MacGregor
72dbe94dc2
Tag version 0.2-alpha
2021-05-23 17:25:00 +01:00
G.K.MacGregor
8d415f1a0f
Add a couple of examples
2021-05-23 16:38:03 +01:00
G.K.MacGregor
2c04c898ab
Handle non-Latin characters when pasting plain text
2021-05-23 14:03:28 +01:00
G.K.MacGregor
a66474b7cf
Handle plain text in clipboard
...
This does not word-wrap single lines of text at all, it assumes the
plain text is in a neat block with newlines at the end of each line.
We can't yet handle non-ASCII Unicode characters as that will need
further work on the keymapping tables.
2021-05-18 22:03:08 +01:00
G.K.MacGregor
3906bfde80
Stop cursor going too far right on paste
2021-05-18 18:13:44 +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
551172aed3
Keep selection position valid if nothing selected
2021-05-02 13:05:49 +01:00
G.K.MacGregor
7a0dbcca2b
Compact allocating and pushing of commands
2021-05-02 12:36:37 +01:00
G.K.MacGregor
1a7e5aff5f
Move repetitive variables into intermediate class
2021-05-02 11:35:02 +01:00
G.K.MacGregor
c24a6b1fa1
Remove unused prototype
2021-04-30 22:30:24 +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
8bc0c2c886
Move cursor from widget to scene
2021-04-26 21:06:00 +01:00
G.K.MacGregor
4584ba668d
Enforce 16 packet limit in Local Enhancement list
2021-04-25 18:51:59 +01:00
G.K.MacGregor
d3607f5b00
Enforce subobject types invoked within objects
2021-04-18 21:41:44 +01:00
G.K.MacGregor
2ad5d45153
Fix compiling on Qt < 5.14
2021-04-18 21:21:41 +01:00
G.K.MacGregor
690f340922
Fix wrong positioning of subobjects within objects
2021-04-18 19:33:32 +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
75f06ce064
Add some more examples
2021-04-11 18:22:21 +01:00
G.K.MacGregor
63438a398e
Make hex values on palette widget optional
2021-04-11 15:14:43 +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
be1cb458b5
Change DRCS mode level 2.5/3.5 widget
2021-04-06 18:54:51 +01:00
G.K.MacGregor
2e082dbc19
Change object invocation level 2.5/3.5 widget
2021-04-06 18:24:42 +01:00
G.K.MacGregor
5fbec979f1
Add some keyboard shortcuts to menu items
2021-04-04 13:19:54 +01:00
G.K.MacGregor
578aca4281
Update widgets when switching Invoke Object source
2021-03-18 19:22:06 +00:00
G.K.MacGregor
fc8b969af0
Tiny fix to incorrect character in comment
2021-02-28 21:50:14 +00:00
G.K.MacGregor
4f6669cc4b
Detail row and column triplet types
2021-02-28 19:15:28 +00:00
G.K.MacGregor
0a541cb873
Update all raw triplet widgets when mode is changed
2021-02-28 18:54:58 +00:00
G.K.MacGregor
1177f97842
Try to avoid reserved bits on triplet mode change
2021-02-28 18:53:44 +00:00
G.K.MacGregor
0abc96af5d
Filter Ctrl keypresses in main widget
2021-02-16 18:19:29 +00:00
G.K.MacGregor
4ce8f56e28
Fix non-refresh when grid was toggled
2021-02-16 17:31:45 +00: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
9a997d1bfa
Implement Delete key command
2021-02-12 21:33:06 +00:00
G.K.MacGregor
d5bb0417af
Prevent x26dockwidget stealing keys from main widget
2021-02-12 19:19:33 +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
572c23b1ae
Implement keymapping.
2021-02-08 21:39:17 +00:00
G.K.MacGregor
d6ac961e4d
Use QPair in enhancement list
2021-01-31 11:54:45 +00:00
G.K.MacGregor
222a0b6d62
Add keyboard control to spacing attributes actions
2021-01-26 19:25:57 +00:00
G.K.MacGregor
3761280603
Change character selector to combobox
2021-01-24 22:08:06 +00:00
G.K.MacGregor
42c0552600
Promote enhancements-list access function
2021-01-24 19:36:53 +00:00
G.K.MacGregor
a16c10ab46
Move CLUTtoQColor to inside levelonepage class
2021-01-19 18:27:30 +00:00
G.K.MacGregor
93e16c70e5
Group attributes and characters together
2021-01-17 11:10:06 +00:00
G.K.MacGregor
8ab3681b52
Merge adjacent "character typed" undo commands
2021-01-03 21:47:29 +00:00
G.K.MacGregor
3455625fb6
Fix potential non-refresh on selecting last subpage
2021-01-03 20:35:57 +00:00
G.K.MacGregor
3fe01932e3
Fix subpage check when merging edit triplet commands
2021-01-03 19:19:17 +00:00
G.K.MacGregor
d38bfcf902
Update copyright notices to 2021
2020-12-31 22:08:52 +00:00
G.K.MacGregor
aa25a27e17
Split X/26 packet handling into intermediate class
...
pagex26base holds methods for converting between the enhancements
QList and teletext packets. A future page subclass for POP pages will
re-use those same methods.
2020-12-26 15:34:23 +00:00
G.K.MacGregor
035c2c5a31
Hide enhancement QList behind access function
2020-12-25 18:06:00 +00:00
G.K.MacGregor
5edbf4fae0
Add some more examples
2020-12-25 15:17:57 +00:00
G.K.MacGregor
377470da47
Auto-select level when loading
2020-12-20 19:38:23 +00:00
G.K.MacGregor
c5d92eaf8a
Fix some cooked triplet widgets keeping wrong bits
2020-12-20 19:29:41 +00:00
G.K.MacGregor
df22fda290
Add function to check for default colours
2020-12-18 22:07:27 +00:00
G.K.MacGregor
19be00f4fe
Implement deleting of subpages
2020-12-15 21:57:42 +00:00
G.K.MacGregor
269500aeef
Remove unused function
2020-12-15 21:00:00 +00:00
G.K.MacGregor
61ac3574df
Rework page classes
2020-12-15 19:44:39 +00:00
G.K.MacGregor
0b7a9dd7fe
Don't crash when undoing "insert subpage at end"
2020-12-13 16:23:59 +00:00
G.K.MacGregor
329d1cd9f4
Add statusbar widgets to flip between subpages
2020-12-13 15:46:23 +00:00
G.K.MacGregor
81b3534a09
Port X/26 list editing operations to UndoCommands
2020-12-13 14:34:29 +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
50345b1627
Fix typos
2020-11-29 12:54:04 +00:00
G.K.MacGregor
492afba8b1
Untangle hashstring exporting into loadsave
2020-11-29 11:48:08 +00:00
G.K.MacGregor
1bb11ab20c
Fix polymorphism across pagebase and levelonepage
2020-11-27 20:57:21 +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
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
f7988fb70c
Make ZZTop example use G3 mosaics at Level 1.5 too
2020-11-15 12:25:33 +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
8d0b222672
Put application name into MainWindow titles
2020-11-13 21:37:36 +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
G.K.MacGregor
6b168ef9ac
Fix crash when loading too-short OL lines
2020-11-04 23:23:39 +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
af5f0ae74c
Clarify "Setting the Active Position" instructions
2020-10-18 21:06:59 +01:00
G.K.MacGregor
1c03481c13
Add stacked widget to edit triplet parameters
...
The knowledge of how colour, character etc parameters fit within the
address and data triplets is no longer required. We now present
widgets that explicitly refer to colour, character that are more
user friendly.
2020-10-18 20:59:04 +01:00
G.K.MacGregor
af6ec1cac9
Remove struct from triplet class
2020-10-18 20:56:16 +01:00
G.K.MacGregor
5d7175f75f
Fix un-nulled packets when copying page, wrt #1
2020-10-16 21:45:25 +01:00
G.K.MacGregor
04a06c7de5
Add shades of orange to 31Shades example.
2020-10-04 22:48:54 +01: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
02d8fba193
Add copy constructors to page classes
2020-09-16 20:49:52 +01:00
G.K.MacGregor
959822bd95
Move page status bits to PageBase superclass
2020-09-16 12:47:46 +01:00
G.K.MacGregor
0f864c7787
Rename TeletextPage class to LevelOnePage
2020-09-16 11:15:46 +01:00
G.K.MacGregor
a1e0986e5c
Port saving pages to packet handling framework
...
Any unhandled packets within pages are now loaded and saved intact
albeit with no way to edit them.
File handling is now two separate processes: parsing TTI files into
packets, and then interpreting the packets into how pages are
displayed. This will allow us to import other file formats, and to deal
with page functions other than Level 1 Teletext pages.
2020-09-15 22:37:50 +01:00
G.K.MacGregor
c99525abd4
Port loading pages to packet handling framework
2020-09-12 19:34:08 +01:00
G.K.MacGregor
4a5372f00a
Fix 2nd region language dropdown not updating
2020-09-11 22:43:47 +01:00
G.K.MacGregor
fcc9280391
Begin refactoring of page class
2020-09-11 12:06:06 +01:00
G.K.MacGregor
ac2e86f5e5
Rename X/28 dock widgets to "enhancements" widget.
2020-09-08 12:12:24 +01:00