Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (column == StudentColumn) {
- QFont showAllFont;
- switch (role) {
- case Qt::DisplayRole:
- if (file->tags().contains("sent")) {
- return "Show all...";
- }
- if (file->tags().contains("received")) {
- return sentToList->first();
- }
- case Qt::FontRole:
- if (file->tags().contains("sent")) {
- showAllFont.setUnderline(true);
- }
- return showAllFont;
Add Comment
Please, Sign In to add comment