#pragma once #include "props/PropertySectionWidget.h" #include class QLabel; namespace gui { struct BlackholePropertyUiState { QString blackholeName; QString statusText; QString methodText; }; class BlackholePropertySection final : public PropertySectionWidget { Q_OBJECT public: explicit BlackholePropertySection(QWidget* parent = nullptr); void clearDisconnected(); void applyState(const BlackholePropertyUiState& s); private: QLabel* m_name = nullptr; QLabel* m_status = nullptr; QLabel* m_method = nullptr; }; } // namespace gui