135 Commits

Autor SHA1 Nachricht Datum
Reinder Feenstra
eb11a91d2a WIP: throttle widget 2021-08-18 13:31:07 +02:00
Reinder Feenstra
70fba44bc4 abstract property: added setValueEnum and setValueSet methods 2021-08-18 12:58:06 +02:00
Reinder Feenstra
61aed34785 interface item: added getAttributeDouble() 2021-08-18 12:57:16 +02:00
Reinder Feenstra
cadc037e3e connection: added method to get world UUID 2021-08-18 12:56:10 +02:00
Reinder Feenstra
e79f254dd5 split decoder type into type and function property 2021-08-15 09:34:37 +02:00
Reinder Feenstra
885b788bae decoder functions are now sub objects of decoder 2021-08-11 21:08:59 +02:00
Reinder Feenstra
0b2ae5b9f1 Renamed: BlockInputMapWidget -> ItemsEditWidget 2021-08-10 21:28:34 +02:00
Reinder Feenstra
96697c23cc Implemented move up/down in block input map 2021-08-10 21:20:09 +02:00
Reinder Feenstra
4f20e77803 fixes for windows 2021-08-04 19:37:27 +02:00
Reinder Feenstra
b18c2269a6 added new log system:
- added message codes
- added support for translation
- added support for file logging
2021-08-03 23:56:36 +02:00
Reinder Feenstra
22a99ef4f2 added integer support to property combobox 2021-07-23 19:51:12 +02:00
Reinder Feenstra
d7c136f7f7 Leds/buttons now scale proportional in input monitor and output keyboard 2021-07-18 17:22:11 +02:00
Reinder Feenstra
7015edfc44 added developer setting: don't load fallback language 2021-07-14 00:51:36 +02:00
Reinder Feenstra
a0c9bb32d2 refactored client settings, added template setting class to simpify setting management 2021-07-14 00:50:10 +02:00
Reinder Feenstra
eb2117d507 fix: general settings weren't properly loaded, "general" has a special meaning in Qt 2021-07-13 23:57:54 +02:00
Reinder Feenstra
fb204a8217 Improved unit property edit handling while it has focus 2021-07-05 23:56:06 +02:00
Reinder Feenstra
4359c7a5ad added missing stretch in settings dialog 2021-07-05 23:56:06 +02:00
Reinder Feenstra
3e1d3ee797 fix: toolbar mute/no smoke enabled wasn't set for world/no world 2021-07-01 23:32:27 +02:00
Reinder Feenstra
9ffb2f752a fix: server menu must be enabled when connected 2021-07-01 23:31:32 +02:00
Reinder Feenstra
7f887d3c21 Added client setting pages, added board setting: Show block sensor states 2021-07-01 23:30:40 +02:00
Reinder Feenstra
27d87a66be Added block sensor states to board 2021-06-28 23:36:16 +02:00
Reinder Feenstra
dd759112ac Added/implmented sensor state and type enums 2021-06-26 19:55:06 +02:00
Reinder Feenstra
9c8edc866a Added forceDisabled option to MethodAction 2021-06-26 15:36:51 +02:00
Reinder Feenstra
a4c443afe2 Added output map remove output support 2021-06-26 09:59:21 +02:00
Reinder Feenstra
4d2ffc2c0d Added basic block sensor support 2021-06-25 00:32:38 +02:00
Reinder Feenstra
e6ccd75230 Added MethodAction, a QAction based wrapper for methods 2021-06-25 00:29:07 +02:00
Reinder Feenstra
33001d64fe Added support for object vector properties (prepaired for other types) 2021-06-25 00:23:29 +02:00
Reinder Feenstra
80b2c7846c board: improved drawing by only invalidating changed rects 2021-06-25 00:08:30 +02:00
Reinder Feenstra
2b583411ff added block state property and enum 2021-06-25 00:06:31 +02:00
Reinder Feenstra
595abeb702 Added extra icons to clarify that smoke and sound are enabeld on the toolbar 2021-06-18 20:33:49 +02:00
Reinder Feenstra
5db904ba5a Added Qt5::Svg 2021-06-12 00:06:25 +02:00
Reinder Feenstra
179e84051b added Traintastic logo to client background 2021-06-12 00:05:44 +02:00
Reinder Feenstra
2921a0eee5 centered buttons in client mdi area 2021-06-11 00:05:57 +02:00
Reinder Feenstra
e76f1b023e fix: added missing returns 2021-06-10 00:14:44 +02:00
Reinder Feenstra
88c0910172 board: implemented sensor state drawing 2021-06-10 00:06:06 +02:00
Reinder Feenstra
f13ffdf54b Added support for response to set property command
Improves handling of text property edits
Moved property related network commands from Connection to Property implementation
2021-06-09 22:40:36 +02:00
Reinder Feenstra
7ec5fe3855 board: fix: click on non top-left block tile didn't work 2021-06-07 23:02:23 +02:00
Reinder Feenstra
6066b5516d board: tile add/delete only allowed when not running 2021-06-06 23:52:38 +02:00
Reinder Feenstra
33bbb2d84c board: fixed signal toolbar item 2021-06-06 00:11:35 +02:00
Reinder Feenstra
5be8c2717a board: implemented board (re)size 2021-06-05 22:56:58 +02:00
Reinder Feenstra
3648b7d084 board: fix: place tile no longer drawn when mouse is outside board 2021-06-04 22:36:06 +02:00
Reinder Feenstra
be918bb999 board: when placing tiles it is now drawn as overlay
todo: handle larger (>1x1) tiles
2021-06-04 00:31:43 +02:00
Reinder Feenstra
74b34fe10d board: moved tile paint stuff to own class, for easier reuse 2021-06-04 00:28:59 +02:00
Reinder Feenstra
2bbb7c94a4 Added missing includes for macOS 2021-05-29 21:48:31 +02:00
Reinder Feenstra
36d045709a Added icons for light background and auto detect meganism using background color lightness 2021-05-27 22:30:03 +02:00
Reinder Feenstra
3f2d8b9766 fix: added missing this when connecting a lambda depended on this to make sure it is properly disconnected. 2021-05-26 23:52:46 +02:00
Reinder Feenstra
ce02c278b1 moved dark.qrc file to dark folder 2021-05-26 23:31:46 +02:00
Reinder Feenstra
906cb3f5cf missing in 0e1cbf1dfce21443b3065360c7f26fbcd80435c6 2021-05-26 23:31:09 +02:00
Reinder Feenstra
0e1cbf1dfc Fixed network protocol bug
The client could release an object handle while at the same the
handle was on the wire from the server to the client.
The client then expected a serialized object which the server didn't
send because the handle not yet release by the client at the time it
was sent.
Solution:
The client and server both count how many times an handle is send from
the server to  the client. The client object release only succeeds if the
counters match, to be sure no handles are "on the wire".
2021-05-26 23:02:05 +02:00
Reinder Feenstra
5352179495 added language files to traintastic-client DEB 2021-05-26 20:43:50 +02:00