2222 Commits

Autor SHA1 Nachricht Datum
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
778ddc0314 server: TrainVehicleList fix propertyChanged not updating model 2025-03-10 13:16:00 +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
Reinder Feenstra
300b2b3628
Merge pull request #186 from gfgit/work/gfgit/fix_qt6_compile
ConnectDialog: use QCheckBox::checkStateChanged() from Qt 6.7
2025-03-02 16:41:09 +01:00
Filippo Gentile
1dbf6035ff ConnectDialog: use QCheckBox::checkStateChanged() from Qt 6.7 2025-03-02 13:26:27 +01:00
Reinder Feenstra
a89463d351 [check-sources] removed filepath from license header, added link to repo. 2025-02-19 23:13:54 +01:00
Reinder Feenstra
346393d92f Replaced boost::signals connection by scoped_connection to get rid of disconnects in destructors.
closes #171
2025-02-14 23:45:15 +01:00
Reinder Feenstra
ee04b50c36 webthrottle: improved styling of steal message
see #178
2025-02-14 23:02:19 +01:00
Reinder Feenstra
c7bc711e9a webthrottle: estop train(s) if browser is left 2025-02-14 17:23:06 +01:00
Reinder Feenstra
a3c65f457d removed boost from source tree, replaced by vcpkg 2025-02-14 17:01:30 +01:00
Reinder Feenstra
bbab760257 fix: missing include for Qt5 2025-02-14 16:59:28 +01:00
Reinder Feenstra
e1b399a156 fix: missing string 2025-02-13 23:05:16 +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
be3c4996e6
Merge pull request #181 from traintastic/replace-tcb-span-by-std-span
Replace tcb::span by std::span
2025-01-29 23:27:10 +01:00
Reinder Feenstra
af6dac1305 replaced tcb::span by std::span 2025-01-29 19:55:05 +01:00
Reinder Feenstra
131acc6081
Merge pull request #180 from traintastic/c++20-server
Change server C++ version to C++20
2025-01-28 19:25:45 +01:00
Reinder Feenstra
3501620f33 fix: restrict is a GCC warning 2025-01-24 00:31:02 +01:00
Reinder Feenstra
a9b94d4e9f fix: workaround GCC bug
see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329
2025-01-24 00:21:55 +01:00
Reinder Feenstra
2144913340 fix: workaround GCC bug
see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329
2025-01-23 22:58:31 +01:00
Reinder Feenstra
46a08e3c07 webthrottle: styled function button groups
see #178
2025-01-23 22:56:02 +01:00
Reinder Feenstra
04af5b8672
Merge pull request #179 from traintastic/more-vcpkg
More vcpkg
2025-01-22 18:02:35 +01:00
Reinder Feenstra
8673a606e5 fix: updated installer, server doesn't use DLLs anymore 2025-01-22 16:47:46 +01:00
Reinder Feenstra
377c73718b vcpkg: added lzma feature to libarchive to support xz on macos 2025-01-22 00:04:52 +01:00
Reinder Feenstra
989311e069 Merge remote-tracking branch 'origin/master' into c++20-server 2025-01-21 23:48:18 +01:00
Reinder Feenstra
c96a4c1aac replaced boost::random by std random 2025-01-21 23:33:12 +01:00
Reinder Feenstra
68f6e11963 windows/macos: get libarchive, lua and zlib via vcpkg 2025-01-21 23:22:56 +01:00
Reinder Feenstra
b1ec56fdba webthrottle: release / failed acquire fixes
see #178
2025-01-20 23:50:48 +01:00
Reinder Feenstra
9fa717d1ca webthrottle: add function button support (still requires some styling tweaks)
see #178
2025-01-19 21:39:56 +01:00
Reinder Feenstra
990f5cbac4 webthrottle: CSS fixes for iOS/iPadOS 2025-01-19 21:21:39 +01:00
Reinder Feenstra
ed7e0bc6da fix: missing include 2025-01-19 15:07:23 +01:00
Reinder Feenstra
71db228d40 throttle: removed functions wrapping, access function via train/decoder 2025-01-19 13:12:38 +01:00
Reinder Feenstra
4d317156f6 webthrottle: fix use height 100dvh for mobile, to prevent scrolling due to address bar
see #178
2025-01-17 23:53:54 +01:00
Reinder Feenstra
5acd8f1861 webthrottle: fixed css issue to get rid of the scrollbars
see #178
2025-01-17 23:42:29 +01:00
Reinder Feenstra
9278f70bf3 fix: added asserts to check thread 2025-01-16 23:37:37 +01:00
Reinder Feenstra
541a6f5fc9 webthrottle: improved handling of world load/close and added auto reconnect
see #178
2025-01-15 23:57:25 +01:00
Reinder Feenstra
994cc4d99c webthrottle: disable other direction button if train is moving 2025-01-13 23:38:03 +01:00
Reinder Feenstra
8ac68be121 webthrottle: added generic functions for sending errors 2025-01-13 23:36:29 +01:00
Reinder Feenstra
fcbec85ee8 webthrottle: moved common release code to function 2025-01-13 23:04:10 +01:00
Reinder Feenstra
bdcb5574f8 fix: release() caused loop by calling activate 2025-01-13 23:01:25 +01:00
Reinder Feenstra
712b317221 fix for macos build 2025-01-11 13:22:26 +01:00
Reinder Feenstra
028e14b5b2 client: added throttle list to trains dialog 2025-01-11 11:18:46 +01:00
Reinder Feenstra
36cf5f4f71 fixme: disabled stringop-overflow for now to get CI working again, still need to investigate 2025-01-11 11:18:22 +01:00
Reinder Feenstra
b73ed8c0eb Added list of active throttles to world 2025-01-11 11:18:09 +01:00
Reinder Feenstra
78a8e17958 fix: missing includes for Release build 2025-01-10 00:39:09 +01:00
Reinder Feenstra
0c5f71fc85 wip: added basic web throttle
see #178
2025-01-10 00:26:46 +01:00