You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
302 B

  1. #pragma once // 防止头文件重复包含
  2. #include "plccontrolitem.h" // 包含PLC控件类
  3. #include <QString> // 字符串类
  4. // PLC控件工厂类
  5. class PlcWidgetFactory {
  6. public:
  7. // 静态方法:根据名称创建PLC控件
  8. static PlcControlItem* createItem(const QString& name);
  9. };