Add UI for DIDKIT.

This commit is contained in:
Krad
2022-09-23 13:13:41 +08:00
parent 90ead1ce1a
commit cc4326ded3
31 changed files with 1014 additions and 69 deletions

View File

@@ -1,20 +1,38 @@
//
// Created by Krad on 2022/9/20.
//
#ifndef DIDMAINWINDOW_H
#define DIDMAINWINDOW_H
#ifndef OMEGAV_DIDMAINWINDOW_H
#define OMEGAV_DIDMAINWINDOW_H
#include <QMainWindow>
#include <QtWidgets/QMainWindow>
namespace Ui {
class DIDMainWindow;
}
class DIDMainWindow : public QMainWindow{
Q_OBJECT
class QTreeView;
class QTableView;
class FileModel;
class PropertyTableModel;
public:
explicit DIDMainWindow(QWidget *parent = Q_NULLPTR);
~DIDMainWindow();
class DIDMainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit DIDMainWindow(QWidget *aParent = nullptr);
~DIDMainWindow();
private:
void initMenu();
void initFileWidget();
void loadPropertyTable(bool loadSuccess);
private:
Ui::DIDMainWindow *mUI;
QTreeView* mTreeView;
PropertyTableModel* mTableModel;
FileModel* mTreeModel;
QTableView* mTableView;
void initTable() const;
};
#endif //OMEGAV_DIDMAINWINDOW_H
#endif // DIDMAINWINDOW_H