// SPDX-FileCopyrightText: 2026 Filip Leonarski, Paul Scherrer Institute // SPDX-License-Identifier: GPL-3.0-only #pragma once #include // Vector toolbar glyphs drawn with QPainter (Qt SVG module is not a build dependency). Toggle // icons carry a white "On" variant so they read on the navy checked-button background; momentary // icons are ink with a greyed disabled variant. Colours match the viewer palette. namespace ToolbarIcons { QIcon first(); QIcon prev(); QIcon next(); QIcon last(); QIcon movie(); // reel-on-top movie camera (distinct from the next/play triangle) QIcon openFile(); // 5.25" diskette with an outward arrow QIcon reanalyzeImage(); // single diffraction frame QIcon reanalyzeDataset(); // a stack of frames QIcon linePlot(); // line chart on axes (per-resolution plot view) QIcon table(); // grid of rows/columns (table view) QIcon halfSun(); // light/dark theme switch: a sun with a half-filled disc QIcon letterA(int size_step); // font size 0 (small), 1, 2 (large) enum class HttpState { Disconnected, Live, Frozen }; QIcon httpSync(HttpState state); // sync arrows + a status dot (grey / green / amber) // Shared stylesheet for flat toolbar buttons (coral hover, navy checked + white content). QString buttonStyle(); }