DialogMeshRename.h 820 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #ifndef DIALOGMESHRENAME_H__
  2. #define DIALOGMESHRENAME_H__
  3. #include "SelfDefObject/QFDialog.h"
  4. #include "DataProperty/modelTreeItemType.h"
  5. namespace Ui
  6. {
  7. class DialogRename;
  8. }
  9. namespace GUI
  10. {
  11. class MainWindow;
  12. }
  13. namespace MeshData
  14. {
  15. class MeshData;
  16. }
  17. namespace DataProperty
  18. {
  19. class DataBase;
  20. }
  21. class QTreeWidgetItem;
  22. namespace MainWidget
  23. {
  24. class MeshRenameDialog : public QFDialog
  25. {
  26. Q_OBJECT
  27. public:
  28. MeshRenameDialog(GUI::MainWindow* mw, QTreeWidgetItem* item);
  29. ~MeshRenameDialog();
  30. private:
  31. void accept() override;
  32. signals:
  33. //更新属性
  34. void disPlayProp(DataProperty::DataBase* pops);
  35. private:
  36. Ui::DialogRename* _ui{};
  37. QTreeWidgetItem* _item{};
  38. MeshData::MeshData* _meshdata{};
  39. TreeItemType _type{};
  40. DataProperty::DataBase* _data{};
  41. };
  42. }
  43. #endif // !DIALOGMESHRENAME_H__