MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / flags

Method flags

Gui/TableModelView.cpp:860–876  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

858}
859
860Qt::ItemFlags
861TableModel::flags(const QModelIndex &index) const
862{
863 if ( !index.isValid() ) {
864 return Qt::ItemIsDropEnabled;
865 }
866 if ( TableItem * itm = item(index) ) {
867 return itm->flags();
868 }
869
870 return Qt::ItemIsEditable
871 | Qt::ItemIsSelectable
872 | Qt::ItemIsUserCheckable
873 | Qt::ItemIsEnabled
874 | Qt::ItemIsDragEnabled
875 | Qt::ItemIsDropEnabled;
876}
877
878////////////////TableViewPrivae
879

Callers 6

paintMethod · 0.45
createKnobNameItemFunction · 0.45
paintMethod · 0.45
addTableRowMethod · 0.45
itemChangedMethod · 0.45
paintMethod · 0.45

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected