feat: turn sentinel dock tab into "+" new tab button

Instead of hiding the sentinel tab (which leaked space on macOS),
repurpose it as a visible "+" button that creates a new struct tab
on click. Compact 32px icon-only tab with pixel-perfect cross drawn
via fillRect. Skips context menu and middle-click. Always positioned
as the last tab in the group.
This commit is contained in:
IChooseYou
2026-03-16 07:39:18 -06:00
committed by IChooseYou
parent ecb954f9e2
commit d22661446b
11 changed files with 531 additions and 188 deletions

View File

@@ -434,7 +434,8 @@ QIcon KernelMemoryPlugin::Icon() const
bool KernelMemoryPlugin::canHandle(const QString& target) const
{
return target.startsWith(QStringLiteral("km:"))
|| target.startsWith(QStringLiteral("phys:"));
|| target.startsWith(QStringLiteral("phys:"))
|| target.startsWith(QStringLiteral("msr:"));
}
std::unique_ptr<rcx::Provider> KernelMemoryPlugin::createProvider(const QString& target, QString* errorMsg)