#ifndef DIDMAINWINDOW_H #define DIDMAINWINDOW_H #include 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