cutter/src/widgets/sectionswidget.h

46 lines
956 B
C
Raw Normal View History

#ifndef SECTIONSWIDGET_H
#define SECTIONSWIDGET_H
#include <QWidget>
#include <QSplitter>
#include <QTreeWidget>
class MainWindow;
QT_BEGIN_NAMESPACE
class QAbstractItemModel;
class QAbstractItemView;
class QItemSelectionModel;
QT_END_NAMESPACE
namespace Ui {
class SectionsWidget;
}
class SectionsWidget : public QSplitter
{
Q_OBJECT
public:
explicit SectionsWidget(MainWindow *main, QWidget *parent = 0);
void fillSections(int row, const QString &str, const QString &str2,
const QString &str3, const QString &str4);
void adjustColumns();
QTreeWidget *tree;
private slots:
private:
//void setupModel();
void setupViews();
//QAbstractItemModel *model;
QAbstractItemView *pieChart;
QItemSelectionModel *selectionModel;
MainWindow *main;
2017-03-30 22:33:29 +00:00
bool eventFilter(QObject *obj, QEvent *event) override;
};
#endif // SECTIONSWIDGET_H