// SPDX-FileCopyrightText: 2026 Filip Leonarski, Paul Scherrer Institute // SPDX-License-Identifier: GPL-3.0-only #pragma once #include #include #include // Display-ready summary of a loaded reference MTZ, sent from the worker (which owns the heavy // reflection array and loads it off the GUI thread) to the settings dock. The worker pre-formats // everything, so the dock just fills its column combo and shows the strings. struct ReferenceMtzInfo { bool loaded = false; QStringList columns; // candidate column labels, for the combo QString used_column; // the column currently in use QString summary; // reflection count, resolution, space group and cell QString warning; // consistency warning vs the loaded data (empty = consistent) }; Q_DECLARE_METATYPE(ReferenceMtzInfo)