anpstudio
0.1.0
ANP Studio — Analytic Network Process desktop application
Loading...
Searching...
No Matches
gui
panels
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
12
class
Document
;
13
class
QLabel;
14
class
QListWidget;
15
19
class
SynthesisSummaryPanel
:
public
QWidget {
20
Q_OBJECT
21
public
:
22
explicit
SynthesisSummaryPanel
(
Document
* doc, QWidget* parent =
nullptr
);
23
24
public
slots:
25
void
setAlternatives(
const
std::vector<std::pair<QString, double>>& ranked);
26
void
refreshStale();
27
28
private
:
29
Document
* doc_ =
nullptr
;
30
QLabel* staleLabel_ =
nullptr
;
31
QListWidget* list_ =
nullptr
;
32
};
Document
Owns the root anpcpp::AnpNetwork, undo stack, file path, and dirty flag.
Definition
document.hpp:23
SynthesisSummaryPanel
Ranked alternatives summary and stale-results badge.
Definition
synthesis_summary_panel.hpp:19
Generated by
1.9.8