541 Commits

Autor SHA1 Nachricht Datum
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
Reinder Feenstra
39f5a518c3 added methods to simplify some common actions 2021-04-05 16:24:17 +02:00
Reinder Feenstra
6f0c6d3dcf implmented client set type property support 2021-04-05 16:17:18 +02:00
Reinder Feenstra
f02b4863c4 Added icons 2021-04-05 16:14:17 +02:00
Reinder Feenstra
cc159459dd missing in f9b0e947a6d4666155d0d1031017ae90597b9e21 2021-04-05 00:22:52 +02:00
Reinder Feenstra
e0e915c9ac client: added codename to help url 2021-04-05 00:18:39 +02:00
Reinder Feenstra
f9b0e947a6 replaced QSharedPointer by std::shared_ptr 2021-04-05 00:18:39 +02:00
Reinder Feenstra
e59c2f793a fix 2021-04-03 17:00:32 +02:00
Reinder Feenstra
7ef46671f7 Added enum translations:
- OutputAction
- SignalAspect
- TurnoutPosition
2021-04-03 16:02:14 +02:00
Reinder Feenstra
2015da6a41 ObjectSelectListDialog: added support for method calling 2021-04-03 15:59:31 +02:00
Reinder Feenstra
1dbb37d041 OutputMap: added network messages and client widgets 2021-04-03 15:58:21 +02:00
Reinder Feenstra
1d233b225e callmethod: added support for object params/result 2021-04-03 15:50:10 +02:00
Reinder Feenstra
3242ddac72 moved value type traits to shared header 2021-04-03 11:08:12 +02:00
Reinder Feenstra
2640be2dee added translateEnum() overload 2021-04-01 23:35:59 +02:00
Reinder Feenstra
b276380411 client: added item name label that monitors item visible 2021-02-04 23:19:45 +01:00
Reinder Feenstra
5e03801850 added missing includes 2021-01-24 10:10:55 +01:00
Reinder Feenstra
2488c36794 added missing include 2021-01-24 01:08:32 +01:00
Reinder Feenstra
71f0a16b6d fix: all interface item should be hidden in obejct editor if ObjectEditor attribute is false 2021-01-09 12:11:41 +01:00
Reinder Feenstra
a32f18b4b8 board: in edit mode click on tile now opens tile edit dialog 2021-01-09 12:10:14 +01:00
Reinder Feenstra
9346c6b103 board: implemented turnout position/signal drawing and click to change 2021-01-09 11:19:38 +01:00
Reinder Feenstra
eaa9fb5283 abstractproperty: added toEnum<>() method 2021-01-09 11:12:46 +01:00