GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GRTTreeView.h
1 
29 #pragma once
30 
31 namespace GpgFrontend::UI {
32 
33 class GRTTreeView : public QTreeView {
34  Q_OBJECT
35  public:
41  explicit GRTTreeView(QWidget* parent);
42 
47  virtual ~GRTTreeView() override;
48 
49  protected:
55  void paintEvent(QPaintEvent* event) override;
56 
57  private slots:
58 
63  void slot_adjust_column_widths();
64 
65  private:
66  bool initial_resize_done_ = false;
67 };
68 
69 } // namespace GpgFrontend::UI
Definition: GRTTreeView.h:33
void paintEvent(QPaintEvent *event) override
Definition: GRTTreeView.cpp:52
GRTTreeView(QWidget *parent)
Construct a new GRTTreeView object.
Definition: GRTTreeView.cpp:36
virtual ~GRTTreeView() override
Destroy the GRTTreeView object.
Definition: FileReadTask.cpp:31