274 Commits

Autor SHA1 Nachricht Datum
Reinder Feenstra
a52104f627 board: added block popupmenu with train actions 2023-03-30 00:10:49 +02:00
Reinder Feenstra
811c416ddc methodaction: added constructor overload 2023-03-30 00:10:39 +02:00
Reinder Feenstra
43a423e972 added Reserved to BlockState enum 2023-03-27 22:43:59 +02:00
Filippo Gentile
0b70278904 ObjectListWidget: override default move action names 2023-03-25 13:13:57 +01:00
Filippo Gentile
fa48b06871 ObjectListWidget: pass context object to connect lambda 2023-03-25 13:10:07 +01:00
Filippo Gentile
e304e2162f ObjectListWidget: convert move Up/Down to MethodAction 2023-03-25 13:09:54 +01:00
Reinder Feenstra
77851bbbc3 rail vehicle: added power property
for future physics simulation
2023-03-20 23:01:59 +01:00
Reinder Feenstra
2c39a304f3 speedometer: added target speed indicator 2023-03-20 22:57:35 +01:00
Reinder Feenstra
e172dcd5dd throttle: added support for train speed/direction control 2023-03-19 10:07:29 +01:00
Reinder Feenstra
0f99f69646 added throttle action to train list 2023-03-19 10:03:54 +01:00
Reinder Feenstra
411997a706 fix: objectlist move method enabled wasn't monitored 2023-03-19 10:03:05 +01:00
Reinder Feenstra
b5962714d7 unit property improvements 2023-03-19 10:02:26 +01:00
Reinder Feenstra
992c6ab988 Merge branch 'master' of github.com:traintastic/traintastic 2023-03-06 23:54:50 +01:00
Reinder Feenstra
6e03b67a08 added volume unit and property 2023-03-06 23:35:39 +01:00
Reinder Feenstra
14a442c943 fix: added missing RatioUnit support in client 2023-03-06 23:30:22 +01:00
Reinder Feenstra
2ecfb55c4a
Merge pull request #37 from gfgit/work/double_slip_switch
Add 4 new positions to Double Slip Switch turnout
2023-03-06 11:41:55 +01:00
Reinder Feenstra
5456fee119 fix: tablewidget: restore selection after model reset 2023-03-05 23:05:39 +01:00
Reinder Feenstra
0c4094b365 implemented add/remove vehicles to a train, see #25 2023-03-05 23:03:54 +01:00
Reinder Feenstra
41da61808d rename: m_requestIdAdd -> m_requestIdCreate
see 63a5b8c7af7136372899401c26a509d14ba4478c
2023-03-02 23:51:16 +01:00
Reinder Feenstra
f473285b85 fix: can't use m_object to cancel request, it isn't available yet
see #40
2023-03-02 23:47:12 +01:00
Filippo Gentile
6fe8f7af49 Add 2 new positions to Single Slip Switch
This matches recent addition to Double Slip Switch
2023-03-02 00:21:51 +01:00
Filippo Gentile
661b25c1e8 Add 4 new positions to Double Slip Switch turnout
- This adds Left/Right to double switch
- And adds new DoubleSlipStraightA / DoubleSlipStraightB to
TurnoutPosition enum
- Implemented new state drawing in TilePainter
- Updated logic in SignalPath::findBlocks()
2023-02-26 13:08:59 +01:00
Reinder Feenstra
63a5b8c7af rename list add/remove to create/delete
add = add existing item
remove = remove item, but don't destroy it
2023-02-25 23:15:38 +01:00
Reinder Feenstra
e147560e4c fix: added missing parent on widget creation
on windows: without a parent given a tiny window will appear for a short time
2023-02-07 23:14:18 +01:00
Reinder Feenstra
b6379bf5f8 remove trailing spaces 2023-02-04 23:37:27 +01:00
Reinder Feenstra
7ace4d2b31 #22 fix: update m_subWindows on object id change 2023-02-04 23:37:03 +01:00
Reinder Feenstra
536013c0ce use getObject() instead of objectId() to request the object
see #22
2023-01-30 23:47:49 +01:00
Reinder Feenstra
86c4685b69 ObjectProperty: added getObject() to request object without knowing the id on the client
see #22
2023-01-30 23:33:25 +01:00
Reinder Feenstra
58eb7b57e0 ObjectProperty added hasObject (for future remove of objectId)
see #22
2023-01-30 23:30:49 +01:00
Reinder Feenstra
f2f7f8b933 fixed unused warning 2023-01-23 13:37:15 +01:00
Reinder Feenstra
48fd7fa210 Merge branch 'master' of github.com:traintastic/traintastic 2023-01-22 22:50:18 +01:00
Reinder Feenstra
aca9f004b4 fix: don't connect destroyed if not in m_subWindows
closes #16
2023-01-22 22:50:15 +01:00
Reinder Feenstra
9ee10e8aff
Merge pull request #18 from gfgit/work/gcc_warnings
Fix gcc warnings
2023-01-22 21:56:07 +01:00
Reinder Feenstra
8665b44b83 fixed shadow warnings 2023-01-22 21:55:16 +01:00
Filippo Gentile
1bc5817ad0 LNCVProgrammer: use reference to avoid copying 2023-01-22 01:19:49 +01:00
Filippo Gentile
78ab1bf519 LuaScriptEditWidget: cannot bind QString reference to char
GCC gives warning
2023-01-22 01:19:45 +01:00
Filippo Gentile
bddb3eecf2 ObjectListWidget: fix shadow variable and unused lambda capture 2023-01-22 01:19:41 +01:00
Filippo Gentile
69482c48fe AbstractThrottleButton: fix member initialization order 2023-01-22 01:19:38 +01:00
Reinder Feenstra
c08f281f24 PropertyTextEdit now derives from QPlainTextEdit
It is only used for plain text, see #4
2023-01-11 00:11:45 +01:00
Reinder Feenstra
b94bd9cb66 fix #4: PropertyTextEdit: cursor is reset to start 2023-01-11 00:06:03 +01:00
Reinder Feenstra
fe53213fae added clock icon to dialogs 2022-12-26 23:59:58 +01:00
Reinder Feenstra
b6a2cbddac client: added dropdown support for string properties 2022-12-20 00:03:10 +01:00
Reinder Feenstra
8b3ff0b90e disabled maximize for subwindows 2022-12-10 09:40:06 +01:00
Reinder Feenstra
dad120e798 fix: window icon was not set properly 2022-12-10 09:39:14 +01:00
Reinder Feenstra
c1081cc0bf loconet: added fast clock support 2022-11-14 22:20:00 +01:00
Reinder Feenstra
abdf1c713f added support for Qt6 2022-11-13 00:49:10 +01:00
Reinder Feenstra
98f5b02361 added analog clock widget 2022-11-12 10:05:00 +01:00
Reinder Feenstra
2a5acb8d88 added clock to statusbar (can be disabled in settings) 2022-11-09 23:03:56 +01:00
Reinder Feenstra
469372f4e6 added toolbar/menu item to freeze/resume fast clock 2022-11-09 21:27:26 +01:00
Reinder Feenstra
654fc624ae missing in e02c077b51425f0fb02e48bf56fd940b97c9a36c 2022-10-30 23:03:14 +01:00