ExpertManageView.h 869 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef EXPERTMANAGEVIEW_H
  2. #define EXPERTMANAGEVIEW_H
  3. #include <QWidget>
  4. class ExpertInfoView;
  5. class PushButton;
  6. class SearchLineEdit;
  7. class QVBoxLayout;
  8. class QHBoxLayout;
  9. class QLabel;
  10. ///
  11. /// \brief The ExpertManageView class
  12. /// 用户管理页面
  13. class ExpertManageView : public QWidget
  14. {
  15. Q_OBJECT
  16. public:
  17. explicit ExpertManageView(QWidget *parent = nullptr);
  18. signals:
  19. private:
  20. void initialize();
  21. void initLayout();
  22. void connectSignalsAndSlots();
  23. private slots:
  24. void slotAddExpertClicked();
  25. private:
  26. QVBoxLayout *m_vBoxLayout = nullptr;
  27. QLabel *m_titleLabel = nullptr;
  28. QHBoxLayout *m_hBoxLayout = nullptr;
  29. SearchLineEdit *m_searchLineEdit = nullptr;
  30. PushButton *m_addExpertPushButton = nullptr;
  31. ExpertInfoView *m_expertInfoView = nullptr;
  32. };
  33. #endif // EXPERTMANAGEVIEW_H