WVectorEditor: Make use of in-class initializers where applicable
This commit is contained in:
parent
34da43e7d4
commit
8994a734dd
|
@ -29,7 +29,7 @@ WVectorEditor::~WVectorEditor()
|
||||||
delete mpLayout;
|
delete mpLayout;
|
||||||
}
|
}
|
||||||
|
|
||||||
CVector3f WVectorEditor::Value()
|
CVector3f WVectorEditor::Value() const
|
||||||
{
|
{
|
||||||
return mValue;
|
return mValue;
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,10 +30,11 @@ class WVectorEditor : public QWidget
|
||||||
QLabel *mpLabelZ;
|
QLabel *mpLabelZ;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit WVectorEditor(QWidget *pParent = 0);
|
explicit WVectorEditor(QWidget *pParent = nullptr);
|
||||||
WVectorEditor(const CVector3f& rkValue, QWidget *pParent = 0);
|
explicit WVectorEditor(const CVector3f& rkValue, QWidget *pParent = nullptr);
|
||||||
~WVectorEditor();
|
~WVectorEditor() override;
|
||||||
CVector3f Value();
|
|
||||||
|
CVector3f Value() const;
|
||||||
void SetOrientation(Qt::Orientation Orientation);
|
void SetOrientation(Qt::Orientation Orientation);
|
||||||
void SetValue(const CVector3f& rkValue);
|
void SetValue(const CVector3f& rkValue);
|
||||||
void SetDefaultValue(double Value);
|
void SetDefaultValue(double Value);
|
||||||
|
|
Loading…
Reference in New Issue