wumu
2024-10-28 aa013c2f4e69e2ba4eb72081dc004d8334d59257
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef CUSTOMHEADERVIEW_H
#define CUSTOMHEADERVIEW_H
 
#include <QHeaderView>
#include <QPainter>
 
 
 
class CustomHeaderView : public QHeaderView
{
public:
    CustomHeaderView(Qt::Orientation orientation, QWidget *parent = nullptr);
 
protected:
    void paintSection(QPainter *painter, const QRect &rect, int logicalIndex) const;
};
 
#endif // CUSTOMHEADERVIEW_H