class EE::UI::Abstract::ModelEvent

#include <uiabstractview.hpp>

class ModelEvent: public EE::Scene::Event {
public:
    // construction

    ModelEvent(Model* model, const ModelIndex& index, Node* node, const ModelEventType& modelEventType = ModelEventType::Open, const Event* triggerEvent = nullptr);

    // methods

    const Model* getModel() const;
    const ModelIndex& getModelIndex() const;
    const ModelEventType& getModelEventType() const;
    const Event* getTriggerEvent() const;
};

Inherited Members

public:
    // enums

    enum EventType;

    // methods

    Node* getNode() const;
    const Uint32& getType() const;
    const Uint32& getCallbackId() const;
    const MouseEvent* asMouseEvent() const;
    const KeyEvent* asKeyEvent() const;
    const DropEvent* asDropEvent() const;
    const TextEvent* asTextEvent() const;
    const TextInputEvent* asTextInputEvent() const;
    const WindowEvent* asWindowEvent() const;
    const ItemValueEvent* asItemValueEvent() const;
    const RowCreatedEvent* asRowCreatedEvent() const;