403 Commits

Autor SHA1 Nachricht Datum
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
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
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
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
Reinder Feenstra
229b06749d output map: added address X tooltip to columns
see #112
2024-04-16 22:57:38 +02:00
Reinder Feenstra
d94d49fc40 fix: #110 broke Qt5 support 2024-04-16 21:59:51 +02:00
Filippo Gentile
e1fbcc92bc client: port QVariant::Type to QMetaType::Type 2024-04-16 17:21:18 +02:00
Reinder Feenstra
c1f288ea47 add interface wizard: variables can now be used to set property values
see #107
2024-04-12 23:42:10 +02:00
Reinder Feenstra
5746fb88aa implemented support for setting interface sub properties
see #107
2024-04-11 00:03:06 +02:00