1 #ifndef CUTTERTREEWIDGET_H
2 #define CUTTERTREEWIDGET_H
3 
4 #include "core/CutterCommon.h"
5 
6 #include <QStatusBar>
7 #include <QVBoxLayout>
8 
9 class MainWindow;
10 
11 class CUTTER_EXPORT CutterTreeWidget : public QObject
12 {
13 
14     Q_OBJECT
15 
16 public:
17     explicit CutterTreeWidget(QObject *parent = nullptr);
18     ~CutterTreeWidget();
19     void addStatusBar(QVBoxLayout *pos);
20     void showItemsNumber(int count);
21     void showStatusBar(bool show);
22 
23 private:
24     QStatusBar *bar;
25 
26 };
27 #endif // CUTTERTREEWIDGET_H
28