mirror of
https://github.com/markdavidlong/AppleSAWS.git
synced 2024-09-16 18:54:54 +00:00
42 lines
873 B
C++
42 lines
873 B
C++
#ifndef APPLESOFTFILEDETAILVIEWER_H
|
|
#define APPLESOFTFILEDETAILVIEWER_H
|
|
|
|
#include <QWidget>
|
|
#include "applesoftline.h"
|
|
#include "applesofttoken.h"
|
|
#include "applesoftfile.h"
|
|
#include <QDebug>
|
|
|
|
namespace Ui {
|
|
class ApplesoftFileDetailViewer;
|
|
}
|
|
|
|
class ApplesoftFileDetailViewer : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ApplesoftFileDetailViewer(ApplesoftFile *file, QWidget *parent = 0);
|
|
~ApplesoftFileDetailViewer();
|
|
|
|
void setLineData(QVector<ApplesoftLine> lineData);
|
|
void foo() { qDebug() << "AFDV::foo!"; }
|
|
|
|
bool save();
|
|
bool load();
|
|
|
|
protected:
|
|
QString shortenName(QString name);
|
|
private:
|
|
void process();
|
|
|
|
Ui::ApplesoftFileDetailViewer *ui;
|
|
QVector<ApplesoftLine> m_lines;
|
|
|
|
QMap<QString,QString> m_notes;
|
|
|
|
ApplesoftFile *m_file;
|
|
};
|
|
|
|
#endif // APPLESOFTFILEDETAILVIEWER_H
|