update
This commit is contained in:
parent
b560d9fe39
commit
70b7466f70
|
@ -17,14 +17,14 @@ class BehaviorsPresent;
|
||||||
class NodePresent : public QGraphicsItem {
|
class NodePresent : public QGraphicsItem {
|
||||||
private:
|
private:
|
||||||
BehaviorsPresent* const _widget_p;
|
BehaviorsPresent* const _widget_p;
|
||||||
QVector<double> &_columns_width_seqs;
|
QVector<double>& _columns_width_seqs;
|
||||||
std::shared_ptr<LogicalNode> _node_bind;
|
std::shared_ptr<LogicalNode> _node_bind;
|
||||||
|
|
||||||
AcceptType _drop_target = AcceptType::NONE;
|
AcceptType _drop_target = AcceptType::NONE;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static const double padding;
|
static const double padding;
|
||||||
NodePresent(BehaviorsPresent* pwidget, QVector<double> &columns_set, std::shared_ptr<LogicalNode> bind);
|
NodePresent(BehaviorsPresent* pwidget, QVector<double>& columns_set, std::shared_ptr<LogicalNode> bind);
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// °ó¶¨µÄÂß¼½Úµã
|
/// °ó¶¨µÄÂß¼½Úµã
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -51,13 +51,13 @@ protected:
|
||||||
/// </summary>
|
/// </summary>
|
||||||
class BranchPresent : public QGraphicsItem {
|
class BranchPresent : public QGraphicsItem {
|
||||||
private:
|
private:
|
||||||
const QHash<std::shared_ptr<LogicalNode>, NodePresent*> &_present_set_bind;
|
const QHash<std::shared_ptr<LogicalNode>, NodePresent*>& _present_set_bind;
|
||||||
NodePresent* const _head_node;
|
NodePresent* const _head_node;
|
||||||
|
|
||||||
QPointF _arrow_start, _arrow_end;
|
QPointF _arrow_start, _arrow_end;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
BranchPresent(const QHash<std::shared_ptr<LogicalNode>, NodePresent*> &present_set, NodePresent* head_anchor);
|
BranchPresent(const QHash<std::shared_ptr<LogicalNode>, NodePresent*>& present_set, NodePresent* head_anchor);
|
||||||
|
|
||||||
std::shared_ptr<LogicalNode> headNode() const;
|
std::shared_ptr<LogicalNode> headNode() const;
|
||||||
|
|
||||||
|
@ -164,13 +164,13 @@ private:
|
||||||
NodeTypesView* const _type_view;
|
NodeTypesView* const _type_view;
|
||||||
QStandardItemModel* const _type_model;
|
QStandardItemModel* const _type_model;
|
||||||
BehaviorsPresent* const _logical_present;
|
BehaviorsPresent* const _logical_present;
|
||||||
QTabWidget *const _message_panel;
|
QTabWidget* const _message_panel;
|
||||||
QStackedWidget *const _stacked_panel;
|
QStackedWidget* const _stacked_panel;
|
||||||
BehaviorMapConfigurationPanel *const _map_configuration;
|
BehaviorMapConfigurationPanel* const _map_configuration;
|
||||||
CompareNodeConfiguration *const _compare_configuration;
|
CompareNodeConfiguration* const _compare_configuration;
|
||||||
ActionNodeConfiguration *const _action_configuration;
|
ActionNodeConfiguration* const _action_configuration;
|
||||||
ModifyNodeConfiguration *const _modify_configuration;
|
ModifyNodeConfiguration* const _modify_configuration;
|
||||||
QLabel *const _default_configuration;
|
QLabel* const _default_configuration;
|
||||||
|
|
||||||
std::shared_ptr<BehaviorMapNode> _map_root;
|
std::shared_ptr<BehaviorMapNode> _map_root;
|
||||||
QUrl _current_fileurl;
|
QUrl _current_fileurl;
|
||||||
|
@ -182,8 +182,9 @@ private:
|
||||||
|
|
||||||
// ==============================================
|
// ==============================================
|
||||||
QTextBrowser* const _logs_present;
|
QTextBrowser* const _logs_present;
|
||||||
|
|
||||||
|
|
||||||
|
void configurationPanel();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
BehaviorEditor(QWidget* parent = nullptr);
|
BehaviorEditor(QWidget* parent = nullptr);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue