#pragma once #include class QLabel; class QPushButton; class KompanionAgentPanel : public QWidget { Q_OBJECT public: explicit KompanionAgentPanel(QWidget *parent = nullptr); void setActiveSessionInfo(const QString &title, const QString &directory); void setAttachEnabled(bool enabled); Q_SIGNALS: void requestAttach(); void requestLaunch(); private: QLabel *m_statusLabel = nullptr; QPushButton *m_attachButton = nullptr; QPushButton *m_launchButton = nullptr; };