123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- #ifndef EXPERTMANAGEVIEW_H
- #define EXPERTMANAGEVIEW_H
- #include <QWidget>
- class ExpertInfoWidget;
- class ExpertListWidget;
- class PushButton;
- class ToolButton;
- class SearchLineEdit;
- class QVBoxLayout;
- class QHBoxLayout;
- class QLabel;
- class ExpertManageView : public QWidget
- {
- Q_OBJECT
- public:
- explicit ExpertManageView(QWidget *parent = nullptr);
- signals:
- private:
- void initialize();
- void initLayout();
- void connectSignalsAndSlots();
- void setListButtonHidden(bool hidden);
- void showExpertInfo();
- private slots:
- void slotAddExpertClicked();
- void slotDetailClicked();
- void slotDeleteClicked();
- void slotListSelectionChanged();
- void slotListItemDoubleClicked();
- private:
- QVBoxLayout *m_vBoxLayout = nullptr;
- QLabel *m_titleLabel = nullptr;
- QHBoxLayout *m_hBoxLayout = nullptr;
- SearchLineEdit *m_searchLineEdit = nullptr;
- PushButton *m_addExpertButton = nullptr;
- ToolButton *m_detailButton = nullptr;
- ToolButton *m_deleteButton = nullptr;
- ExpertInfoWidget *m_expertInfoWidget = nullptr;
- ExpertListWidget *m_expertListWidget = nullptr;
- };
- #endif
|