aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/programdock.h
blob: 033cf545f87e7d3874be50eeb3bcfd708adfa31a (plain)
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
#ifndef PROGRAMDOCK_H
#define PROGRAMDOCK_H

#include <QDockWidget>
#include <QBoxLayout>
#include <QComboBox>
#include <QLabel>
#include <QLineEdit>
#include "qtmipsmachine.h"

class ProgramDock : public QDockWidget {
    Q_OBJECT
public:
    ProgramDock(QWidget *parent);
    ~ProgramDock();

    void setup(machine::QtMipsMachine *machine);

private slots:
    void ctlbox_single_changed(int index);
    void ctlbox_pipelined_changed(int index);

private:
    QWidget *widg;
    QBoxLayout *widg_layout;

    //QLineEdit *ctlline;
    QComboBox *ctlbox_single;
    QComboBox *ctlbox_pipelined;
};

#endif // PROGRAMDOCK_H