anpstudio 0.1.0
ANP Studio — Analytic Network Process desktop application
Loading...
Searching...
No Matches
synthesis_summary_panel.hpp
Go to the documentation of this file.
1
6#pragma once
7
8#include <QWidget>
9#include <utility>
10#include <vector>
11
12class Document;
13class QLabel;
14class QListWidget;
15
19class SynthesisSummaryPanel : public QWidget {
20 Q_OBJECT
21public:
22 explicit SynthesisSummaryPanel(Document* doc, QWidget* parent = nullptr);
23
24public slots:
25 void setAlternatives(const std::vector<std::pair<QString, double>>& ranked);
26 void refreshStale();
27
28private:
29 Document* doc_ = nullptr;
30 QLabel* staleLabel_ = nullptr;
31 QListWidget* list_ = nullptr;
32};
Owns the root anpcpp::AnpNetwork, undo stack, file path, and dirty flag.
Definition document.hpp:23
Ranked alternatives summary and stale-results badge.
Definition synthesis_summary_panel.hpp:19