cutter/src/widgets/CutterTreeWidget.h
smhaziq 7c7cb4083c Add status bar and display items count (#779)
* Add status bar and display items count
2018-10-10 14:34:46 +02:00

25 lines
410 B
C++

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