AppleSAWS/src/ui/diskexplorer/DiskExplorer.h

54 lines
1.1 KiB
C
Raw Normal View History

2016-10-27 22:46:08 +00:00
#ifndef DISKEXPLORER_H
#define DISKEXPLORER_H
#include <QMainWindow>
#include "catalogwidget.h"
#include "DiskExplorerMapWidget.h"
#include "diskfile.h"
#include "hrcgcontrolsinfo.h"
#include "hexconverter.h"
#include <QFrame>
2016-10-27 22:46:08 +00:00
class DiskExplorer : public QMainWindow
{
Q_OBJECT
public:
explicit DiskExplorer(QWidget *parent = 0);
signals:
void diskFileLoading(QString filename, DiskFile *file);
void diskFileLoaded(QString filename, DiskFile *file);
void diskFileLoadFailed(QString filename, DiskFile *file);
void diskFileUnloading(DiskFile *file);
void diskFileUnloaded();
2016-10-27 22:46:08 +00:00
public slots:
void unloadDiskFile();
void loadDiskFile(QString filename);
void showLoadDialog();
private slots:
void handleDiskItemSelectedDefaultOpen(DiskFile *disk, FileDescriptiveEntry fde);
protected:
void initUi();
private:
CatalogWidget *m_cw;
DiskExplorerMapWidget *m_demw;
DiskFile *m_disk;
HRCGControlsInfo *m_hrcgDialog;
HexConverter *m_hexConverter;
QAction *m_action_Unload_Disk_Image;
2016-10-27 22:46:08 +00:00
};
#endif // DISKEXPLORER_H