Add UI for DIDKIT.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user