#pragma once #pragma execution_character_set("utf-8") #include #include #include using namespace std; namespace Ui { class CGH_ProjectView; }; class CGH_ProjectView : public QDialog { Q_OBJECT public: CGH_ProjectView(QWidget *parent = Q_NULLPTR); ~CGH_ProjectView(); void initSlots(); string getViewName(); string getViewLSpacing(); string getViewCSpacing(); string getViewLine(); string getViewColumn(); string getViewPrefix(); string getViewExpose(); string getViewQuiet(); string getViewResource(); void setViewName(const string& str); void setViewLSpacing(const string& str); void setViewCSpacing(const string& str); void setViewLine(const string& str); void setViewColumn(const string& str); void setViewPrefix(const string& str); void setViewExpose(const string& str); void setViewQuiet(const string& str); void setViewResource(const string& str); // ´°¿Ú³õʼ»¯ void initWindow(); public slots: void ChooseResourcePath(); void OkNewProject(); void CancelNewProject(); public: Ui::CGH_ProjectView* ui; private: string relproPath; string curabsPath; string absproPath; };