input.h
Go to the documentation of this file.
1 #ifndef INPUT_H
2 #define INPUT_H
3 
4 #include "io.h"
5 
6 namespace dnai
7 {
8  namespace views
9  {
10  class Input : public Io
11  {
12  public:
13  explicit Input(QQuickItem *parent = nullptr);
14 
18  virtual void refreshBackendIo() override;
19 
23  virtual void componentComplete() override;
24 
31  virtual LinkableBezierItem *findLinkableBezierItem(GenericNode *n, const QPointF &p) override;
32  virtual void updateLink() override;
33  void unlinkAll() override;
34  void asyncUnlinkAll() override;
35 
36  protected:
37  virtual void afterRealease(Link *l) override;
38 
39  };
40  }
41 }
42 
43 #endif // INPUT_H
Definition: genericnode.h:13
virtual void refreshBackendIo() override
Refresh BackendIO for Input.
Definition: input.cpp:21
Definition: linkablebezieritem.h:15
Definition: input.h:10
Definition: io.h:19
void unlinkAll() override
Definition: input.cpp:57
virtual void updateLink() override
Definition: input.cpp:46
virtual void afterRealease(Link *l) override
Definition: input.cpp:72
Definition: api.h:13
Input(QQuickItem *parent=nullptr)
Definition: input.cpp:14
virtual void componentComplete() override
Override componentComplete, and init some values.
Definition: input.cpp:26
void asyncUnlinkAll() override
Definition: input.cpp:63
virtual LinkableBezierItem * findLinkableBezierItem(GenericNode *n, const QPointF &p) override
Override findIo, return the IO under the point p of the Node n.
Definition: input.cpp:40