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
Reinder Feenstra
3225e7c6da
added type property to decoder function
2021-05-25 23:56:26 +02:00
Reinder Feenstra
2a7ec7f35a
changed InternalUpdateHolder to counter, to make nesting possible
2021-05-23 01:58:46 +02:00
Reinder Feenstra
3c8b8fd701
Added PropertyDoubleSpinBox widget
2021-05-22 00:09:09 +02:00
Reinder Feenstra
4157fec500
Added view toolbar menu item
2021-05-21 23:34:13 +02:00
Reinder Feenstra
fb1eed69f6
Added world properties menu item/dialog
2021-05-21 23:11:26 +02:00
Reinder Feenstra
06342baaa0
Added *no smoke* option to world.
...
(will force disable all smoke generation in future)
2021-05-21 00:20:54 +02:00
Reinder Feenstra
17cdcdf682
fix: make sure checked state of stop/run matches world state
...
due to the toggle feature, its checked state changes, but we need to wait for a world state change
2021-05-18 23:56:52 +02:00
Reinder Feenstra
69321a3154
Added world main menu to client
2021-05-18 23:47:24 +02:00
Reinder Feenstra
bda08e2362
removed zero margin in connect dialog
...
looks bad on Windows
2021-05-15 00:07:06 +02:00
Reinder Feenstra
aebc153c1a
implemented client language setting
2021-05-14 23:22:34 +02:00
Reinder Feenstra
23d00df4f1
Added DisplayName attribute, to override the default class_id:property_name
2021-05-13 21:31:14 +02:00
Reinder Feenstra
f311e38e4c
set cmake client property WIN32_EXECUTABLE to get rid of console window
2021-05-12 23:19:56 +02:00
Reinder Feenstra
7b17dfeca8
moved appicon ico/rc to shared
2021-05-11 23:13:02 +02:00
Reinder Feenstra
93099f7958
client: define QT_NO_DEBUG_OUTPUT for release builds
2021-05-07 18:57:58 +02:00
Reinder Feenstra
7967800dcb
windows: added version resource to client and server
2021-05-07 00:01:10 +02:00
Reinder Feenstra
38f79ac3a3
windows: added icon to client app
2021-05-06 23:19:29 +02:00
Reinder Feenstra
106da2041d
added application icon to client
2021-05-04 23:37:00 +02:00
Reinder Feenstra
bcbdca1a3b
Set client copyright year to 2021
2021-05-04 23:18:40 +02:00
Reinder Feenstra
75e17dcb96
moved project version to shared file
2021-05-04 23:14:28 +02:00
Reinder Feenstra
69a5dd4df7
Added --connect option to client
2021-05-03 23:22:06 +02:00
Reinder Feenstra
d5173dc1c8
Added --fullscreen option to client
2021-05-03 22:28:43 +02:00
Reinder Feenstra
2e362d7576
client: replaced Qt project by CMake
2021-04-23 22:06:50 +02:00
Reinder Feenstra
0b7c5967e1
enlarged stop/run icons a little
2021-04-05 23:20:00 +02:00
Reinder Feenstra
0eafd5018c
redesigned world states/events
...
- added online/offline for connection to e.g. command station(s)
- changed track power to more generic power on/off
- renamed emergency stop to stop
- added run, to clear stop
- added mute function (not yet handled internally)
2021-04-05 16:47:26 +02:00