2018-10-10 12:34:46 +00:00
|
|
|
#ifndef CUTTERTREEWIDGET_H
|
|
|
|
#define CUTTERTREEWIDGET_H
|
|
|
|
|
2020-08-01 14:14:30 +00:00
|
|
|
#include "core/CutterCommon.h"
|
|
|
|
|
2018-10-10 12:34:46 +00:00
|
|
|
#include <QStatusBar>
|
|
|
|
#include <QVBoxLayout>
|
|
|
|
|
|
|
|
class MainWindow;
|
|
|
|
|
2020-08-01 14:14:30 +00:00
|
|
|
class CUTTER_EXPORT CutterTreeWidget : public QObject
|
2018-10-10 12:34:46 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit CutterTreeWidget(QObject *parent = nullptr);
|
|
|
|
~CutterTreeWidget();
|
|
|
|
void addStatusBar(QVBoxLayout *pos);
|
|
|
|
void showItemsNumber(int count);
|
2019-08-19 13:35:25 +00:00
|
|
|
void showStatusBar(bool show);
|
2018-10-10 12:34:46 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
QStatusBar *bar;
|
|
|
|
};
|
|
|
|
#endif // CUTTERTREEWIDGET_H
|