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

Subversion Repositories riscv_vhdl

[/] [riscv_vhdl/] [trunk/] [debugger/] [src/] [gui_plugin/] [CpuWidgets/] [MemControl.h] - Rev 5

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

/**
 * @file
 * @copyright  Copyright 2016 GNSS Sensor Ltd. All right reserved.
 * @author     Sergey Khabarov - sergeykhbr@gmail.com
 * @brief      Memory Editor control panel.
 */
 
#pragma once
 
#include "api_core.h"   // MUST BE BEFORE QtWidgets.h or any other Qt header.
#include "attribute.h"
#include "igui.h"
 
#include <QtWidgets/QWidget>
#include <QtWidgets/QLineEdit>
 
 
namespace debugger {
 
class MemControl : public QWidget {
    Q_OBJECT
public:
    explicit MemControl(QWidget *parent, uint64_t addr, uint64_t sz);
 
signals:
    void signalAddressChanged(AttributeType *cmd);
 
public slots:
    void slotModified();
    void slotUpdate();
 
private:
    bool isChanged();
 
private:
    QLineEdit *editAddr_;
    QLineEdit *editBytes_;
    QPalette paletteDefault_;
    QPalette paletteModified_;
    AttributeType cmd_;
};
 
}  // namespace debugger
 

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

powered by: WebSVN 2.1.0

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