2.12.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

mainwindow.h 870 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef TUMVISMAINWINDOW_H__
#define TUMVISMAINWINDOW_H__

#include "sigslot/sigslot.h"
#include "application/tumvisapplication.h"
#include "application/gui/pipelinetreewidget.h"

#include <QMainWindow>
#include <vector>

namespace TUMVis {
    class MainWindow : public QMainWindow, public sigslot::has_slots<> {
        Q_OBJECT;

    public:
        MainWindow(TumVisApplication* application);

        ~MainWindow();


        void onPipelinesChanged();

    signals:
        void updatePipelineWidget(const std::vector<AbstractPipeline*>&);


    private:
        void setup();

        TumVisApplication* _application;            ///< Pointer to the application hosting the whole stuff

        PipelineTreeWidget* _pipelineWidget;        ///< Widget for browsing the active pipelines

    };
}

#endif // TUMVISMAINWINDOW_H__