Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- QVariant TreeModel::headerData(int section, Qt::Orientation orientation, int role) const {
- if (role == Qt::DisplayRole) {
- return QVariant("display");
- } else {
- return QVariant("other");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement