39 enum class Source { None, NodePairwise, NodeRatings, ClusterPairwise };
41 void setEntries(QVector<std::pair<QString, double>> entries,
42 const QString& subtitle);
45 QLabel* title_ =
nullptr;
46 QLabel* subtitle_ =
nullptr;
49 Source source_ = Source::None;
61 void setEntries(QVector<std::pair<QString, double>> entries);
64 void paintEvent(QPaintEvent* event)
override;
65 [[nodiscard]] QSize minimumSizeHint()
const override;
66 [[nodiscard]] QSize sizeHint()
const override;
69 QVector<std::pair<QString, double>> entries_;
Owns the root anpcpp::AnpNetwork, undo stack, file path, and dirty flag.
Definition document.hpp:23
Right-side Judgments chart of pairwise or ratings priorities.
Definition judgment_priorities_panel.hpp:21
void showNodeRatings(const QString &parent, const QString &destCluster)
Show priorities for a node→cluster ratings link.
void refresh()
Recomputes priorities for the current selection.
void clear()
Clears the chart.
void showNodePairwise(const QString &parent, const QString &destCluster)
Show priorities for a node→cluster pairwise link.
void showClusterPairwise(const QString &parent)
Show priorities for cluster-level pairwise.