mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 09:30:48 +08:00
0032429: Coding - Warnings during compilation on macosx arm64 with option BUILD_Inspector:BOOL=ON - part 2
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user