541 Commits

Autor SHA1 Nachricht Datum
Reinder Feenstra
f255442e4e added highlight zone on board toolbar item 2024-10-30 23:17:41 +01:00
Reinder Feenstra
dd1521a1db Merge remote-tracking branch 'origin/master' into 144-add-zone-support 2024-10-26 21:32:15 +02:00
Reinder Feenstra
c400b9f7ac Added simulation status icon to status bar
Only shown if simulation is active.
2024-10-22 00:21:51 +02:00
Reinder Feenstra
f8604cef93 lua: highlight pv global 2024-10-21 23:03:52 +02:00
Reinder Feenstra
a7edcc62a0 fixed MSVC C4267 warnings 2024-10-21 22:16:12 +02:00
Reinder Feenstra
abc37635c4 fix: QLatin1String not constexpr on windows 2024-10-21 21:49:15 +02:00
Reinder Feenstra
cd3ca21194 fix for Qt6 compatibility 2024-10-21 21:35:32 +02:00
Reinder Feenstra
281eee947e block: train can now be assigned by dragging it from the train list to a block 2024-10-20 23:00:03 +02:00
Reinder Feenstra
57aa6b123e lua: added clear persistent variables toolbar action to script list 2024-10-12 22:05:26 +02:00
Reinder Feenstra
ae1902c18d lua: added clear persistent variables toolbar action 2024-10-07 23:52:54 +02:00
Reinder Feenstra
18617eb8d3
Removed close world shortcut (ctrl+w/CMD+w)
see #174
2024-10-03 18:52:17 +02:00
Reinder Feenstra
d7d2df57b3 Added zone icon
see #144
2024-09-25 18:26:15 +02:00
Reinder Feenstra
6cf226a294 Merge remote-tracking branch 'origin/master' into 144-add-zone-support 2024-09-23 22:54:57 +02:00
Reinder Feenstra
e622f1d61e fix: load world dialog wasn't closed if connection was lost 2024-09-05 23:22:34 +02:00
Reinder Feenstra
e51b3c03a9 Added unit attribute 2024-08-29 23:34:42 +02:00
Reinder Feenstra
72501c37e4 Implemented min/max attribute for property spinbox 2024-08-28 23:58:32 +02:00
Filippo Gentile
4c6f80afa7 server: World add new settings for external output change
- Refactored code in TurnoutRailTile and SignalRailTile
- Use early return pattern
- Added Enlish and Italian translations
- New Category::trains
2024-07-29 20:26:33 +02:00
Filippo Gentile
e28bf9f2f2 BoardWidget: replace QTimer with QTimerEvent
- This avoids heap allocation
- Added asserts for timerId to be null before being created again
2024-07-29 20:26:33 +02:00
Filippo Gentile
7315ed9fb3 client: BoardWidget rework NXButton timer
- Now release timer is stopped when pressing a third button
  which becomes first button of new pair.

- Timer is also stopped when editing mode is enabled

- Hold timer is stopped if same button is clicked again
2024-07-29 20:26:33 +02:00
Reinder Feenstra
b551146a0a linux: added .desktop file for system menu
see #158
2024-07-27 00:12:15 +02:00
Reinder Feenstra
380ad94692 Merge branch 'master' into 144-add-zone-support 2024-07-13 23:08:08 +02:00
Reinder Feenstra
18b1bebce9 Allow multi select when adding vehicles to a train, closes #154 2024-07-08 23:45:14 +02:00
Reinder Feenstra
1a9edd0492 outputmap: dialog now has icons for each row :) 2024-07-08 23:22:01 +02:00
Reinder Feenstra
e6a215825b output map: moved use to signal output map
(other output maps always use all values)
2024-07-07 00:15:10 +02:00
Reinder Feenstra
aa8228dd6b Added "dual motor/coil" option to single/double slip turnout, this controls the available turnout positions.
see #112
2024-07-05 23:51:01 +02:00
Reinder Feenstra
550626779e Merge remote-tracking branch 'origin/master' into 144-add-zone-support 2024-07-03 00:03:06 +02:00
Reinder Feenstra
10c7d732d1 Added train param to block.removeTrain and error reporting.
Client will now show an error in case the train can't be removed.
Added support for removing a specific train if multiple trains are in the block.
see #70
2024-07-02 23:42:22 +02:00
Reinder Feenstra
f6f2f57b7a client: PropertySpinBox now validates value in the background, fixes editing annoyance, see #145 2024-06-21 23:30:48 +02:00
Reinder Feenstra
16503e32ff added basic zone support with train tracking and events
see #144
2024-06-20 00:12:20 +02:00
Reinder Feenstra
e0203b626f Added "setup using wizard" to add interface menu. 2024-06-05 18:44:51 +02:00
Reinder Feenstra
7963b0bf4f board: added on hover tooltip for tiles 2024-06-02 23:47:06 +02:00
Reinder Feenstra
ff7e2971fc board: rail sensor can now be triggered by clicking (in simulation mode) 2024-06-01 00:45:25 +02:00
Reinder Feenstra
fb8ef340de added missing board toolbar icons 2024-05-29 22:30:30 +02:00
Reinder Feenstra
a8a9ef489d dcc-ex: added port to wizard, can be customized 2024-05-29 21:23:36 +02:00
Reinder Feenstra
67d6bbe662
Merge pull request #128 from traintastic/120-add-dcc-ex-over-tcp-support
Added DCC-EX over TCP support, closes #120
2024-05-29 17:59:19 +02:00
Reinder Feenstra
b35fa303ad merged train and rail vehicles dialogs into one
just a quick implementation to test if gives a better UX
(position/size save/restore doesn't work yet, should extend SubWindow, but that needs a refactor then)
2024-05-27 23:12:57 +02:00
Reinder Feenstra
90b8e8fc9a Merge remote-tracking branch 'origin/master' into 120-add-dcc-ex-over-tcp-support 2024-05-27 22:49:22 +02:00
Reinder Feenstra
f1287a679b output keyboard: re-implemented output used indication
Closes #130
Got lost in #95
2024-05-22 00:01:45 +02:00
Reinder Feenstra
af3b491c32 switch output map now lists off/on instead of false/true 2024-05-09 23:33:41 +02:00
Reinder Feenstra
ec829127a4 fix: client edit/trottle dialogs weren't closed when object is deleted on server
fixes #121
2024-05-06 08:51:01 +02:00
Reinder Feenstra
49ff1cb553 board: added switch tile 2024-05-05 18:28:43 +02:00
Reinder Feenstra
b21f46147f added dccex network to interface wizard
see #120
2024-04-30 22:59:02 +02:00
Reinder Feenstra
5f3bf103b3 Added enum translation for DCCEXInterfaceType
see #120
2024-04-29 23:21:51 +02:00
Reinder Feenstra
fe3589d135 fix: missing include 2024-04-28 09:46:03 +02:00
Reinder Feenstra
08b26ec1ff fix: removed unused lambda capture 2024-04-28 08:38:29 +02:00
Reinder Feenstra
66ac222adc use object name instead of id as window title 2024-04-27 23:59:36 +02:00
Reinder Feenstra
a480c53065 added new board wizard which explains som board basics. 2024-04-27 23:57:30 +02:00
Reinder Feenstra
08f9a40039 board: added label tile 2024-04-25 00:14:31 +02:00
Reinder Feenstra
3cf8a480d1 fix: set size policy for wizard text label, to make sure the text fits on the page
closes #111
2024-04-17 18:21:10 +02:00
Reinder Feenstra
2f42426e49 fix: only open dialog if object is editable
see #112 point 7
2024-04-17 17:09:17 +02:00