Commit aca7ec1f authored by Jan Möbius's avatar Jan Möbius

overrides

parent cf2c39a1
......@@ -99,12 +99,12 @@ class Button : public Text
protected:
// catch mouse hover events
virtual void hoverEnterEvent (QGraphicsSceneHoverEvent *_event);
virtual void hoverLeaveEvent (QGraphicsSceneHoverEvent *_event);
virtual void hoverEnterEvent (QGraphicsSceneHoverEvent *_event) override;
virtual void hoverLeaveEvent (QGraphicsSceneHoverEvent *_event) override;
// catch mouse press/release events
virtual void mousePressEvent (QGraphicsSceneMouseEvent *_event);
virtual void mouseReleaseEvent (QGraphicsSceneMouseEvent *_event);
virtual void mousePressEvent (QGraphicsSceneMouseEvent *_event) override;
virtual void mouseReleaseEvent (QGraphicsSceneMouseEvent *_event) override;
private:
QBrush backgroundBrush_;
......
......@@ -65,7 +65,7 @@ class TypeBool : public Type {
bool hasWidget () override;
/// Returns configuration widget
TypeWidget *widget (QMap<QString, QString> _hints, QString _typeName, QWidget *_parent = NULL);
TypeWidget *widget (QMap<QString, QString> _hints, QString _typeName, QWidget *_parent = NULL) override;
};
//=============================================================================
......
......@@ -65,7 +65,7 @@ class TypeFilename : public Type {
bool hasWidget () override;
/// Returns configuration widget
TypeWidget *widget (QMap<QString, QString> _hints, QString _typeName, QWidget *_parent = NULL);
TypeWidget *widget (QMap<QString, QString> _hints, QString _typeName, QWidget *_parent = NULL) override;
};
//=============================================================================
......
......@@ -65,7 +65,7 @@ class TypeMatrix4x4 : public Type {
bool hasWidget () override;
/// Returns configuration widget
TypeWidget *widget (QMap<QString, QString> _hints, QString _typeName, QWidget *_parent = NULL);
TypeWidget *widget (QMap<QString, QString> _hints, QString _typeName, QWidget *_parent = NULL) override;
};
//=============================================================================
......
......@@ -65,7 +65,7 @@ class TypeNumber : public Type {
bool hasWidget () override;
/// Returns configuration widget
TypeWidget *widget (QMap<QString, QString> _hints, QString _typeName, QWidget *_parent = NULL);
TypeWidget *widget (QMap<QString, QString> _hints, QString _typeName, QWidget *_parent = NULL) override;
};
//=============================================================================
......
......@@ -65,7 +65,7 @@ class TypeObjectId : public Type {
bool hasWidget () override;
/// Returns configuration widget
TypeWidget *widget (QMap<QString, QString> _hints, QString _typeName, QWidget *_parent = NULL);
TypeWidget *widget (QMap<QString, QString> _hints, QString _typeName, QWidget *_parent = NULL) override;
};
//=============================================================================
......
......@@ -65,7 +65,7 @@ class TypeSelection : public Type {
bool hasWidget () override;
/// Returns configuration widget
TypeWidget *widget (QMap<QString, QString> _hints, QString _typeName, QWidget *_parent = NULL);
TypeWidget *widget (QMap<QString, QString> _hints, QString _typeName, QWidget *_parent = NULL) override;
};
//=============================================================================
......
......@@ -65,7 +65,7 @@ class TypeString : public Type {
bool hasWidget () override;
/// Returns configuration widget
TypeWidget *widget (QMap<QString, QString> _hints, QString _typeName, QWidget *_parent = NULL);
TypeWidget *widget (QMap<QString, QString> _hints, QString _typeName, QWidget *_parent = NULL) override;
};
//=============================================================================
......
......@@ -65,7 +65,7 @@ class TypeVec3D : public Type {
bool hasWidget () override;
/// Returns configuration widget
TypeWidget *widget (QMap<QString, QString> _hints, QString _typeName, QWidget *_parent = NULL);
TypeWidget *widget (QMap<QString, QString> _hints, QString _typeName, QWidget *_parent = NULL) override;
};
//=============================================================================
......
......@@ -64,7 +64,7 @@ class TypeVec4D : public Type {
bool hasWidget () override;
/// Returns configuration widget
TypeWidget *widget (QMap<QString, QString> _hints, QString _typeName, QWidget *_parent = NULL);
TypeWidget *widget (QMap<QString, QString> _hints, QString _typeName, QWidget *_parent = NULL) override;
};
//=============================================================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment