CGH_ProjectView.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #pragma once
  2. #pragma execution_character_set("utf-8")
  3. #include <QDialog>
  4. #include <iostream>
  5. #include <string>
  6. using namespace std;
  7. namespace Ui { class CGH_ProjectView; };
  8. class CGH_ProjectView : public QDialog
  9. {
  10. Q_OBJECT
  11. public:
  12. CGH_ProjectView(QWidget *parent = Q_NULLPTR);
  13. ~CGH_ProjectView();
  14. void initSlots();
  15. string getViewName();
  16. string getViewLSpacing();
  17. string getViewCSpacing();
  18. string getViewLine();
  19. string getViewColumn();
  20. string getViewPrefix();
  21. string getViewExpose();
  22. string getViewQuiet();
  23. string getViewResource();
  24. void setViewName(const string& str);
  25. void setViewLSpacing(const string& str);
  26. void setViewCSpacing(const string& str);
  27. void setViewLine(const string& str);
  28. void setViewColumn(const string& str);
  29. void setViewPrefix(const string& str);
  30. void setViewExpose(const string& str);
  31. void setViewQuiet(const string& str);
  32. void setViewResource(const string& str);
  33. // ´°¿Ú³õʼ»¯
  34. void initWindow();
  35. public slots:
  36. void ChooseResourcePath();
  37. void OkNewProject();
  38. void CancelNewProject();
  39. public:
  40. Ui::CGH_ProjectView* ui;
  41. private:
  42. string relproPath;
  43. string curabsPath;
  44. string absproPath;
  45. };