anpstudio
0.1.0
ANP Studio — Analytic Network Process desktop application
Loading...
Searching...
No Matches
gui
panels
inspector_panel.hpp
Go to the documentation of this file.
1
6
#pragma once
7
8
#include <QWidget>
9
10
class
Document
;
11
class
QLineEdit;
12
class
QCheckBox;
13
class
QLabel;
14
class
QPushButton;
15
19
class
InspectorPanel
:
public
QWidget {
20
Q_OBJECT
21
public
:
22
explicit
InspectorPanel
(
Document
* doc, QWidget* parent =
nullptr
);
23
24
public
slots:
25
void
refresh();
26
27
private
:
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
};
Document
Owns the root anpcpp::AnpNetwork, undo stack, file path, and dirty flag.
Definition
document.hpp:23
InspectorPanel
Property inspector for the selected cluster or node.
Definition
inspector_panel.hpp:19
Generated by
1.9.8