cutter/src/widgets/CutterTreeWidget.h
2021-01-24 18:34:16 +02:00

27 lines
490 B
C++

#ifndef CUTTERTREEWIDGET_H
#define CUTTERTREEWIDGET_H
#include "core/CutterCommon.h"
#include <QStatusBar>
#include <QVBoxLayout>
class MainWindow;
class CUTTER_EXPORT CutterTreeWidget : public QObject
{
Q_OBJECT
public:
explicit CutterTreeWidget(QObject *parent = nullptr);
~CutterTreeWidget();
void addStatusBar(QVBoxLayout *pos);
void showItemsNumber(int count);
void showStatusBar(bool show);
private:
QStatusBar *bar;
};
#endif // CUTTERTREEWIDGET_H