466 Commits

Autor SHA1 Nachricht Datum
Reinder Feenstra
43292e3a69 Merge remote-tracking branch 'origin/master' into 178-add-web-based-throttle-for-phone 2025-04-01 22:43:49 +02:00
Reinder Feenstra
729ebffa12 Restyled load world dialog and added search bar 2025-03-24 22:41:29 +01:00
Reinder Feenstra
3c59dfe4ac Added option to table model automatic set region to all columns/rows 2025-03-24 22:36:14 +01:00
Reinder Feenstra
4e2f2ca0fe fix: missing clearing of status widgets 2025-03-22 13:05:13 +01:00
Reinder Feenstra
30c9507026
Merge pull request #165 from gfgit/gfgit/work/fix_table_model
Fix Table Model
2025-03-10 22:36:43 +01:00
Reinder Feenstra
371566b8cd
Merge pull request #188 from gfgit/work/gfgit/model_fixes_1
Some model fixes extracted from #165
2025-03-10 20:27:23 +01:00
Filippo Gentile
4cb1eb5e83 client: use proper TableModel Region values 2025-03-10 13:44:55 +01:00
Filippo Gentile
af36c115dc client: fix TableModel Region
- Use `uint32_t` as done in server representation
- Use rowMin = 1 and rowMax = 0 to represent empty model

This is because we cannot set negative values so setting to zero would
make empty model and single row models indistinguishable.
2025-03-10 13:19:11 +01:00
Filippo Gentile
830cb131fa client: ObjectSelectListDialog call once per row only
- Do not call method on each column, just once per row
2025-03-10 13:16:00 +01:00
Reinder Feenstra
41eab3a873 [interface list] fix: invalid list items, see #187. 2025-03-06 23:11:11 +01:00
Reinder Feenstra
04eed28aa1 [interface list] added text to inform user about empty list, see #187. 2025-03-04 23:49:11 +01:00
Reinder Feenstra
764cca13ba [interface list] ctrl+click now open interface setting in seperate window, see #187. 2025-03-04 21:16:15 +01:00
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
028e14b5b2 client: added throttle list to trains dialog 2025-01-11 11:18:46 +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