i0mapmon.h 914 Bytes
Newer Older
Giacomo Strangolino's avatar
Giacomo Strangolino committed
1
2
3
4
5
6
7
8
9
#ifndef I0mapmon_H
#define I0mapmon_H

#include <QWidget>

// cumbia
#include <qulogimpl.h>
#include <cucontrolsfactorypool.h>
class CumbiaPool;
Giacomo Strangolino's avatar
Giacomo Strangolino committed
10
class CuData;
Giacomo Strangolino's avatar
Giacomo Strangolino committed
11
12
// cumbia

Giacomo Strangolino's avatar
Giacomo Strangolino committed
13
14
class CheckableComboBoxModel;

Giacomo Strangolino's avatar
Giacomo Strangolino committed
15
16
17
18
19
20
21
22
23
24
25
26
namespace Ui {
class I0mapmon;
}

class I0mapmon : public QWidget
{
    Q_OBJECT

public:
    explicit I0mapmon(CumbiaPool *cu_p, QWidget *parent = 0);
    ~I0mapmon();

27
28
29
private slots:
    void onNamesReady(const QStringList& n);
    void applyWavelenX();
Giacomo Strangolino's avatar
Giacomo Strangolino committed
30
31
32
33
34
    void onYChanged(const QString& y);
    void onWlensChanged(const CuData &s);
    void onWlenSelectionChanged(const QString &wl, bool enab);

    void m_plot_reconf();
35

Giacomo Strangolino's avatar
Giacomo Strangolino committed
36
37
38
39
40
41
42
43
private:
    Ui::I0mapmon *ui;

    // cumbia
    CumbiaPool *cu_pool;
    QuLogImpl m_log_impl;
    CuControlsFactoryPool m_ctrl_factory_pool;
    // cumbia
44
45

    int m_fel0x;
Giacomo Strangolino's avatar
Giacomo Strangolino committed
46
47
48
49
50

    CheckableComboBoxModel* m_cb_model;

    // methods
    void m_setup_x_list();
Giacomo Strangolino's avatar
Giacomo Strangolino committed
51
52
53
};

#endif // I0mapmon_H