OpenCores
URL https://opencores.org/ocsvn/riscv_vhdl/riscv_vhdl/trunk

Subversion Repositories riscv_vhdl

[/] [riscv_vhdl/] [trunk/] [debugger/] [src/] [gui_plugin/] [CpuWidgets/] [AsmControl.h] - Blame information for rev 5

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 sergeykhbr
/**
2
 * @file
3
 * @copyright  Copyright 2016 GNSS Sensor Ltd. All right reserved.
4
 * @author     Sergey Khabarov - sergeykhbr@gmail.com
5
 * @brief      Disassembler control panel.
6
 */
7
 
8
#pragma once
9
 
10
#include "api_core.h"   // MUST BE BEFORE QtWidgets.h or any other Qt header.
11
#include "attribute.h"
12
#include "igui.h"
13
 
14
#include <QtWidgets/QWidget>
15
#include <QtWidgets/QLineEdit>
16
 
17
 
18
namespace debugger {
19
 
20
class AsmControl : public QWidget {
21
    Q_OBJECT
22
public:
23
    explicit AsmControl(QWidget *parent);
24
 
25
signals:
26
    void signalAddressChanged(AttributeType *cmd);
27
 
28
public slots:
29
    void slotModified();
30
    void slotUpdate();
31
 
32
private:
33
    bool isChanged();
34
 
35
private:
36
    QLineEdit *editAddr_;
37
    QLineEdit *editBytes_;
38
    QPalette paletteDefault_;
39
    QPalette paletteModified_;
40
    AttributeType cmd_;
41
};
42
 
43
}  // namespace debugger

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.