Commit Graph
6 Commits
Author SHA1 Message Date
HanifKoh 1a5f91d727 Add Missing Includes Across src/slic3r/GUI (#16048)
* Add Missing Includes Across src/slic3r/GUI

Every GUI source and header now directly includes the headers declaring what it uses, rather than relying on the precompiled header or transitive includes. Generated with clang-tidy misc-include-cleaner, plus one hand edit making CalibrationPanel.hpp self-contained.

* Drop the OS-Specific Includes Added Outside Their Platform Guards

GLib, GTK, D-Bus and POSIX headers are only used inside platform #if blocks, which already include them. Added unconditionally at the top of the file they broke the Windows build.

* Add the clang-tidy Configuration That Generated These Includes

Only misc-include-cleaner's missing-include check, with the headers it must never suggest: per-platform, internal and OS-specific ones that would break other platforms or are not meant to be included directly.

* Match Windows Paths in the clang-tidy Ignore List

Header paths use backslashes on Windows, so every / in a pattern is now [/\\]. The Windows SDK headers are ignored alongside the other OS-specific ones, and the list is one pattern per line. Suggested by @raistlin7447 from a Windows clang-cl run.
2026-10-02 14:56:56 +08:00
Noisyfox a9c0490c68 Update color 2025-10-05 16:02:17 +08:00
zhou.xu 517b6c09a8 FIX:WxColour (0x00AE42) represents bgr input, incorrect use
jira: STUDIO-12347
Change-Id: If03e23f2ee7cbb5dcb124453fb0a1ea67c3633a0
(cherry picked from commit 8a22fab6d73fe2694b5006712d5e72619ddea51c)
2025-09-24 10:40:45 +08:00
xin.zhang edc6f3c010 FIX: do not hide the cancel if there are errors
jira: [STUDIO-11564]
Change-Id: I16f4de119a1da0bd618ae7f60d2f4b42bc249386
(cherry picked from commit 994a2c3fdd481e1d2e825431a76bbfb8eb50ce10)
2025-09-21 13:47:58 +08:00
tao wang 2209f030ef FIX:optimize the layout of error messages
jira:[none]

Change-Id: I06ee3399b15ca78257e92af4e9ea0be69ffd1b4e
(cherry picked from commit 5860af44013af48b0f58a06a0258bf1d2b3957bd)
2025-09-16 20:11:02 +08:00
tao wang 8267224756 ENH:some UI optimizations
Change-Id: I3395ab87552d6beb3481bf2049bfd1096933f36d
(cherry picked from commit 66a783d126e55360cbbc35503c03f0366aacdf68)
2025-09-10 15:26:13 +08:00