anpstudio 0.1.0
ANP Studio — Analytic Network Process desktop application
Loading...
Searching...
No Matches
inspector_panel.hpp
Go to the documentation of this file.
1
6#pragma once
7
8#include <QWidget>
9
10class Document;
11class QLineEdit;
12class QCheckBox;
13class QLabel;
14class QPushButton;
15
19class InspectorPanel : public QWidget {
20 Q_OBJECT
21public:
22 explicit InspectorPanel(Document* doc, QWidget* parent = nullptr);
23
24public slots:
25 void refresh();
26
27private:
28 void onInvertToggled(bool checked);
29 void onSetAlternatives();
30 void onOpenSubnet();
31
32 Document* doc_ = nullptr;
33 QLabel* title_ = nullptr;
34 QLabel* nameLabel_ = nullptr;
35 QCheckBox* invert_ = nullptr;
36 QPushButton* setAlts_ = nullptr;
37 QPushButton* openSubnet_ = nullptr;
38 bool updating_ = false;
39};
Owns the root anpcpp::AnpNetwork, undo stack, file path, and dirty flag.
Definition document.hpp:23
Property inspector for the selected cluster or node.
Definition inspector_panel.hpp:19