272 Commits

Author SHA1 Message Date
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
798630bd50 Allow setting page number from int value 2021-08-08 19:34:14 +01:00
G.K.MacGregor
c356d0f5ae Import M/29 packets 2021-08-03 21:49:32 +01:00
G.K.MacGregor
c2ae42701c Tag version 0.4-alpha 0.4-alpha 2021-07-27 15:43:38 +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
2ec4039393 Refactor the model 2021-07-04 16:03:51 +01:00
G.K.MacGregor
69b6ad1976 Update "Define triplet" self-pointers automatically 2021-07-01 21:31:29 +01:00
G.K.MacGregor
d5a9469df1 Prefix "+" in front of Origin Modifier co-ordinates 2021-06-29 14:19:25 +01:00
G.K.MacGregor
e7f6a54d8d Show Active Position errors in X/26 triplet list
Attempts to move the Active Position upwards to a lesser numbered row,
or leftwards within the same row to a lesser numbered column, are now
highlighted red within the triplet list so the user can see which
triplets are being ignored due to these errors.

Detection for other triplet errors such as reserved bits/values or
object related errors will be added later on.

This is a part of moving the Active Position logic from the renderer
to the triplet list, so a renderer won't be needed if the ability to
editing (G)POP pages is added in the future.
2021-06-28 22:07:41 +01:00
G.K.MacGregor
e1a1bcf070 Encapsulate X/26 triplet list in composition class 2021-06-27 14:45:51 +01:00
G.K.MacGregor
cd531bd0a5 Tidy the model using const 2021-06-25 17:48:52 +01:00
G.K.MacGregor
a54385b8f5 Show character bitmaps in X/26 table and comboboxes
G0 and G2 bitmaps in those widgets are stuck on Latin at the moment.
2021-06-23 16:18:12 +01:00
G.K.MacGregor
38746c7f38 Put font bitmap into a shared class 2021-06-23 11:23:11 +01:00
G.K.MacGregor
f256e4ed28 Rename packetNeeded to packetExists 2021-06-22 13:22:35 +01:00
G.K.MacGregor
06970fd448 Tag version 0.3-alpha 0.3-alpha 2021-06-13 12:58:26 +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 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 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