blob: 4605a7bec3c171e26bbb9fd738f7aca32559a551 (
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
33
|
#ifndef PROGRAMDOCK_H
#define PROGRAMDOCK_H
#include <QDockWidget>
#include <QBoxLayout>
#include <QComboBox>
#include <QLabel>
#include <QLineEdit>
#include "qtmipsmachine.h"
#include "memoryview.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;
MemoryView *memory_view;
QComboBox *ctlbox_single;
QComboBox *ctlbox_pipelined;
};
#endif // PROGRAMDOCK_H
|