50 ColumnHeader(ColumnIndex::IntegerType columnIndex,
bool switchable, VariableSortorder sortAsc,
51 VariableSortorder sortDesc,
52 int preferredWidth,
bool isStretchable =
false);
53 virtual QString hashPrefix()
const = 0;
56 virtual ~ColumnHeader()
override;
58 virtual QString title()
const = 0;
62 bool isStretchable()
const;
63 bool isSwitchable()
const;
64 int defaultSize()
const;
66 [[nodiscard]] VariableSortorder sortorder(Qt::SortOrder sortOrder)
const;
68 ColumnIndex::IntegerType columnIndex()
const;
101 class ColumnHeaderArtist :
107 ColumnHeaderArtist(ColumnIndex::Artist columnIndex,
bool switchable, ArtistSortorder sortAsc,
108 ArtistSortorder sortDesc,
109 int preferredWidth,
bool isStretchable =
false);
110 QString title()
const override;
113 QString hashPrefix()
const override;