Not displaying 0 values for int and double columns in table view, but still using a SpinBox delegate when editing.
This commit is contained in:
@ -20,6 +20,8 @@ class ModelItem {
|
||||
|
||||
private:
|
||||
ModelItemValues m_values;
|
||||
|
||||
QVariant getValueButReplaceZeroValueWithEmptyString(const int role) const;
|
||||
};
|
||||
|
||||
#endif // MODELITEM_H
|
||||
|
||||
Reference in New Issue
Block a user