c323381f0b
This tool allows one to explore any register map. Register dumps (like produced by hwstub tools) can be loaded and decoded by the tool. Finally some analysers are provided for specific soc analysis like clock tree and emi on imx233 for example. Change-Id: Iaf81bd52d15f3e44ab4fe9bc039153fcf60cf92a
44 lines
673 B
C++
44 lines
673 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
#include <QTabWidget>
|
|
#include <QSettings>
|
|
#include "backend.h"
|
|
#include "settings.h"
|
|
|
|
class MyTabWidget : public QTabWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
MyTabWidget();
|
|
|
|
private slots:
|
|
void OnCloseTab(int index);
|
|
};
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
MainWindow(Backend *backend);
|
|
void center();
|
|
void ReadSettings();
|
|
void WriteSettings();
|
|
|
|
private:
|
|
void closeEvent(QCloseEvent *event);
|
|
|
|
private slots:
|
|
void OnQuit();
|
|
void OnAbout();
|
|
void OnLoadDesc();
|
|
void OnNewRegTab();
|
|
|
|
private:
|
|
QTabWidget *m_tab;
|
|
Backend *m_backend;
|
|
};
|
|
|
|
#endif
|