OpalLinkConfigurationWindow.h 629 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
#ifndef OPALLINKCONFIGURATIONWINDOW_H
#define OPALLINKCONFIGURATIONWINDOW_H

#include <QWidget>
#include <QDebug>

#include "LinkInterface.h"
#include "ui_OpalLinkSettings.h"
#include "OpalLink.h"

class OpalLinkConfigurationWindow : public QWidget
{
13
    Q_OBJECT
14 15 16 17
public:
    explicit OpalLinkConfigurationWindow(OpalLink* link, QWidget *parent = 0, Qt::WindowFlags flags = Qt::Sheet);
signals:

18 19 20
private slots:
    void _linkConnected(void);
    void _linkDisconnected(void);
21 22

private:
23 24
    void _allowSettingsAccess(bool enabled);
    
25 26 27 28 29
    Ui::OpalLinkSettings ui;
    OpalLink* link;
};

#endif // OPALLINKCONFIGURATIONWINDOW_H