48 lines
943 B
C++
Executable File
48 lines
943 B
C++
Executable File
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
namespace Ui
|
|
{
|
|
class MainWindow;
|
|
}
|
|
QT_END_NAMESPACE
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
MainWindow(QWidget *parent = nullptr);
|
|
~MainWindow();
|
|
|
|
private slots:
|
|
void onNewActionTriggered();
|
|
void onOpenActionTriggered();
|
|
void onSaveActionTriggered();
|
|
void onSaveAsActionTriggered();
|
|
void onGenCodeActionTriggered();
|
|
void onOpenCodePathActionTriggered();
|
|
void onAutoAcquireEntryPoint();
|
|
void onAutoAcquireEntryParam();
|
|
void onEnglishActionTriggered();
|
|
void onChineseActionTriggered();
|
|
|
|
private:
|
|
void initialModelInfoPage();
|
|
void initialCommandListPage();
|
|
void initialDDSInfoPage();
|
|
void initialQuickButton();
|
|
void createPrjFile();
|
|
void openProjectFile();
|
|
|
|
private:
|
|
Ui::MainWindow *ui;
|
|
QString modelName;
|
|
QString projectPath;
|
|
QString codePath;
|
|
};
|
|
#endif // MAINWINDOW_H
|