425 Commits

Autor SHA1 Nachricht Datum
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
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
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
0838aab817 added preset stuff for Uhlenbroch Intellibox II 2024-04-13 08:49:41 +02:00
Reinder Feenstra
f3dc85bd33 add interface wizard: select command station preset when possible
see #107
2024-04-12 23:42:10 +02:00
Reinder Feenstra
8a85277500 add interface wizard: interface now by default selected command station
see #107
2024-04-12 23:42:10 +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
Reinder Feenstra
4770643636 fix: wizard list page index was incorrect when filter was active 2024-04-10 17:01:15 +02:00
Reinder Feenstra
ca4e116733 added translation support for wizard buttons
see #107
2024-04-09 23:34:43 +02:00
Reinder Feenstra
fcccab334f Renamed DCC++ to DCC-EX, as only DCC-EX is and will be supported. 2024-04-09 00:26:04 +02:00
Reinder Feenstra
26694b1022 fix: add interface wizard, DR5000 network next pages were invalid
see #107
2024-04-07 23:20:14 +02:00
Reinder Feenstra
5365a54eef Added wizard for easier interface setup.
see  #107
2024-04-07 22:41:06 +02:00
Reinder Feenstra
b6a5bb0e4a added: Object::getObjectProperty 2024-04-07 22:26:36 +02:00
Reinder Feenstra
af3ed66cc6 moved more widgets to createWidget 2024-04-07 22:26:02 +02:00
Reinder Feenstra
0eb20396a8 added introduction wizard, show once at first startup 2024-03-26 23:22:09 +01:00