27 #ifndef MYCOLUMNHEADER_H_
28 #define MYCOLUMNHEADER_H_
30 #include "ColumnIndex.h"
31 #include "Utils/Library/Sortorder.h"
32 #include "Utils/Pimpl.h"
50 int preferredWidth,
bool isStretchable =
false);
51 virtual QString hashPrefix()
const = 0;
56 virtual QString title()
const = 0;
60 bool isStretchable()
const;
61 bool isSwitchable()
const;
62 int defaultSize()
const;
66 ColumnIndex::IntegerType columnIndex()
const;
75 int preferredWidth,
bool isStretchable =
false);
76 QString title()
const override;
79 QString hashPrefix()
const override;
88 int preferredWidth,
bool isStretchable =
false);
89 QString title()
const override;
92 QString hashPrefix()
const override;
101 int preferredWidth,
bool isStretchable =
false);
102 QString title()
const override;
105 QString hashPrefix()
const override;
108 using ColumnHeaderPtr = std::shared_ptr<ColumnHeader>;