attribute_wgt.h 475 B

12345678910111213141516171819202122232425
  1. #ifndef ATTRIBUTE_WGT_H
  2. #define ATTRIBUTE_WGT_H
  3. #include <QWidget>
  4. #include <QLineEdit>
  5. QT_BEGIN_NAMESPACE
  6. namespace Ui { class Attribute_wgt; }
  7. QT_END_NAMESPACE
  8. class Attribute_wgt : public QWidget
  9. {
  10. Q_OBJECT
  11. public:
  12. Attribute_wgt(QWidget *parent = nullptr);
  13. ~Attribute_wgt();
  14. private:
  15. Ui::Attribute_wgt *ui;
  16. QWidget *m_para;
  17. void init_ui();
  18. void set_param_ui(QStringList &stringList);//设置要显示的参数
  19. };
  20. #endif // ATTRIBUTE_WGT_H