rock_widget_collection  0.1
StreamAlignerWidget.h
Go to the documentation of this file.
1 #ifndef STREAMALIGNERWIDGET_H
2 #define STREAMALIGNERWIDGET_H
3 #include <QTreeView>
4 
5 class QStandardItemModel;
7 namespace aggregator {
8  class StreamAlignerStatus;
9 }
10 
11 class StreamAlignerWidget : public QTreeView
12 {
13  Q_OBJECT
14  public:
15  StreamAlignerWidget(QWidget *parent);
16  virtual ~StreamAlignerWidget();
17  QSize sizeHint() const;
18  public slots:
19  void updateData(const aggregator::StreamAlignerStatus &data);
20  private:
21  QAbstractItemModel *model;
22 };
23 
24 
25 #endif // STREAMALIGNERWIDGET_H
void updateData(const aggregator::StreamAlignerStatus &data)
StreamAlignerWidget(QWidget *parent)