Files
DCMV/DIDKit/App/DIDMainWindow.h
2022-09-23 13:13:41 +08:00

39 lines
653 B
C++

#ifndef DIDMAINWINDOW_H
#define DIDMAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class DIDMainWindow;
}
class QTreeView;
class QTableView;
class FileModel;
class PropertyTableModel;
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 // DIDMAINWINDOW_H