453 Commits

Autor SHA1 Nachricht Datum
Filippo Gentile
1dbf6035ff ConnectDialog: use QCheckBox::checkStateChanged() from Qt 6.7 2025-03-02 13:26:27 +01:00
Reinder Feenstra
bbab760257 fix: missing include for Qt5 2025-02-14 16:59:28 +01:00
Reinder Feenstra
da306fbbbf fix: missing forward decl for Qt5 2025-02-13 23:05:01 +01:00
Reinder Feenstra
8fd5ac3d1f Redesigned interface list widget, it now embeds the interface settings. 2025-02-13 22:41:19 +01:00
Reinder Feenstra
2ceae8ec9d MethodIcon: added support for custom trigger function 2025-02-13 22:34:03 +01:00
Reinder Feenstra
38efda81a9 fix: deprecation issue for Qt 6.5 2024-12-27 23:39:31 +01:00
Reinder Feenstra
307a99d4ea fix: typo 2024-12-15 23:55:04 +01:00
Reinder Feenstra
d4049d8295 client-server: replaced binary socket connection by http websocket connection 2024-12-15 23:25:01 +01:00
Reinder Feenstra
2fab42c960 fix: icon position and visibility 2024-12-11 00:28:02 +01:00
Reinder Feenstra
08ab09a551 fix: missing include 2024-12-11 00:27:14 +01:00
Reinder Feenstra
8570ef3cb9 output map: added swap outputs button when using one pair output (e.g. for standard turnouts) 2024-12-11 00:11:45 +01:00
Reinder Feenstra
0bc2609068 board widget: get rid of BoardWidget param in BoardAreaWidget constructor. 2024-12-08 23:44:46 +01:00
Reinder Feenstra
1c115bf1eb fix: add interface wizard did not close on disconnect or world close 2024-12-08 23:01:09 +01:00
Reinder Feenstra
f5a477ee7e add interface wizard: clearified dr5000 usb protocol page 2024-12-08 18:29:52 +01:00
Reinder Feenstra
78bd4605c1 fix: missing include 2024-12-01 22:47:08 +01:00
Reinder Feenstra
ec7e09d054 Improved light/dark detection for Qt6 2024-12-01 22:32:47 +01:00
Reinder Feenstra
facd8baa83 output map: replaced accessory dropdown by more visual (R) (G) toggle buttons. 2024-11-24 23:45:16 +01:00
Reinder Feenstra
c4ee37a6cd board: added crossover support
track can cross on tile corners, this actually is a crossover so a hidden crossover is inserted to prevent double reservation (and collisions)
2024-11-17 23:41:01 +01:00
Reinder Feenstra
6e5b35c682 Added UnitPropertyComboBox widget 2024-11-03 10:34:03 +01: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
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
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
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
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