interface update

This commit is contained in:
codeboss 2025-07-12 03:17:40 +08:00
parent c47d8e5c77
commit 9473b645cc
3 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ ActionNodeConfiguration::ActionNodeConfiguration(QWidget* p)
auto new_inst = std::dynamic_pointer_cast<ExecuteDelegate>(inst->newDefault()); auto new_inst = std::dynamic_pointer_cast<ExecuteDelegate>(inst->newDefault());
_current_node->bindDelegate(new_inst); _current_node->bindDelegate(new_inst);
_current_present->itemUpdate(); _current_present->dataHasBeenUpdate();
}); });
} }

View File

@ -29,7 +29,7 @@ std::shared_ptr<LogicalNode> NodePresent::logicalBind() const
return _node_bind; return _node_bind;
} }
void NodePresent::itemUpdate() void NodePresent::dataHasBeenUpdate()
{ {
this->prepareGeometryChange(); this->prepareGeometryChange();
} }

View File

@ -30,7 +30,7 @@ public:
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
std::shared_ptr<LogicalNode> logicalBind() const; std::shared_ptr<LogicalNode> logicalBind() const;
void itemUpdate(); void dataHasBeenUpdate();
QRectF contentMeasure() const; QRectF contentMeasure() const;
AcceptType testAccept(const QPointF& local_pos, const QString& kind_str) const; AcceptType testAccept(const QPointF& local_pos, const QString& kind_str) const;