DialogGeometryRename.h 729 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #ifndef GEOMETRYRENAMEDIALOG_H
  2. #define GEOMETRYRENAMEDIALOG_H
  3. #include "SelfDefObject/QFDialog.h"
  4. namespace Ui
  5. {
  6. class DialogRename;
  7. }
  8. namespace Geometry
  9. {
  10. class GeometrySet;
  11. class GeoComponent;
  12. }
  13. namespace DataProperty
  14. {
  15. class DataBase;
  16. }
  17. class QTreeWidgetItem;
  18. namespace MainWidget
  19. {
  20. class GeometryRenameDialog : public QFDialog
  21. {
  22. Q_OBJECT
  23. public:
  24. GeometryRenameDialog(GUI::MainWindow* m, DataProperty::DataBase* data, QTreeWidgetItem* item);
  25. ~GeometryRenameDialog();
  26. private:
  27. void accept() override;
  28. signals:
  29. //更新属性
  30. void disPlayProp(DataProperty::DataBase* pops);
  31. private:
  32. Ui::DialogRename* _ui{};
  33. QTreeWidgetItem* _treeItem{};
  34. DataProperty::DataBase* _data{};
  35. };
  36. }
  37. #endif