36 bool eventFilter(QObject* watched, QEvent* event)
override;
39 void onInvertToggled(
bool checked);
40 void onSetAlternatives();
42 void onSynthesisKindChanged(
int index);
43 void onCustomExprEdited();
44 void onLimitMethodChanged(
int index);
45 void onLimitFlagChanged();
47 void onDescriptionEdited();
48 void onSubnetItemActivated(QTreeWidgetItem* item,
int column);
51 enum class Mode { Network, Cluster, Node };
53 void refreshSynthesisControls();
54 void refreshLimitControls();
55 void setModeWidgets(Mode mode);
56 void fillSubnetTree();
57 void fillConnections();
58 void fillMatrixColumns(
const QString& nodeName);
59 [[nodiscard]] QString displayNetworkName()
const;
60 [[nodiscard]] anpcpp::LimitMatrixOptions currentLimitOptionsFromUi()
const;
63 QLabel* title_ =
nullptr;
64 QLabel* typeLabel_ =
nullptr;
65 QLineEdit* nameEdit_ =
nullptr;
66 QTextEdit* descriptionEdit_ =
nullptr;
68 QCheckBox* invert_ =
nullptr;
69 QPushButton* setAlts_ =
nullptr;
70 QPushButton* openSubnet_ =
nullptr;
72 QLabel* formulaLabel_ =
nullptr;
73 QComboBox* synthKind_ =
nullptr;
74 QLineEdit* customExpr_ =
nullptr;
76 QLabel* limitOptsLabel_ =
nullptr;
77 QComboBox* limitMethod_ =
nullptr;
78 QCheckBox* limitWithLimit_ =
nullptr;
79 QCheckBox* limitStraight_ =
nullptr;
81 QLabel* subnetLabel_ =
nullptr;
82 QTreeWidget* subnetTree_ =
nullptr;
84 QLabel* connectionsLabel_ =
nullptr;
85 QTreeWidget* connectionsTree_ =
nullptr;
87 QLabel* matricesLabel_ =
nullptr;
88 QLabel* unscaledLabel_ =
nullptr;
89 QLabel* scaledLabel_ =
nullptr;
90 QLabel* limitLabel_ =
nullptr;
91 QTableWidget* unscaledCol_ =
nullptr;
92 QTableWidget* scaledCol_ =
nullptr;
93 QTableWidget* limitCol_ =
nullptr;
95 bool updating_ =
false;
Owns the root anpcpp::AnpNetwork, undo stack, file path, and dirty flag.
Definition document.hpp:71
Property inspector for the selected network, cluster, or node.
Definition inspector_panel.hpp:27