0032429: Coding - Warnings during compilation on macosx arm64 with option BUILD_Inspector:BOOL=ON - part 2

This commit is contained in:
kgv
2021-07-06 16:46:31 +03:00
parent 1f3c5058f2
commit 9e5e4c0c84
18 changed files with 38 additions and 49 deletions

View File

@@ -105,7 +105,7 @@ public:
//! \param theColumn a model index column
//! \param theRole a view role
//! \return true if the value is changed
virtual bool SetData (const int theRow, const int theColumn, const QVariant& theValue, int)
virtual bool SetData (const int theRow, const int theColumn, const QVariant& theValue, int) Standard_OVERRIDE
{
if (theColumn != 1 || theRow < 2 || theRow > 5)
return false;
@@ -138,7 +138,7 @@ public:
//! Returns editable flag for color RGB and alpha rows
//! \return flags
Qt::ItemFlags Flags (const QModelIndex& theIndex) const
virtual Qt::ItemFlags Flags (const QModelIndex& theIndex) const Standard_OVERRIDE
{
Qt::ItemFlags aFlags = ViewControl_TableModelValues::Flags (theIndex);

View File

@@ -90,7 +90,7 @@ public:
//! Returns flags for the item: ItemIsEnabled | Qt::ItemIsSelectable
//! \param theIndex a model index
//! \return flags
Qt::ItemFlags flags (const QModelIndex& theIndex) const
virtual Qt::ItemFlags flags (const QModelIndex& theIndex) const Standard_OVERRIDE
{ return myModelValues ? myModelValues->Flags (theIndex) : Qt::NoItemFlags; }
private: