summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.h
blob: 7f792c529563a569245c7e48f62a325cb4ee9fb7 (plain) (blame)
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
#ifndef _MAIN_WINDOW_H_
#define _MAIN_WINDOW_H_

#include <QDialog>
#include <QMap>

#include "ui_mainwindow.h"

class SlxOutput;

class MainWindow : public QDialog, public Ui::MainWindow
{
    Q_OBJECT

public:
    MainWindow();
    virtual ~MainWindow();

    SlxOutput* getOutput(const QString &id, bool isSink, const QString &newTitle);

    void mark();
    void sweep();

private:
    QMap<QString, SlxOutput*> _widgets;
};

#endif