ExpertManageView.h 949 B

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