HomeView.h 829 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #ifndef HOMEVIEW_H
  2. #define HOMEVIEW_H
  3. #include <QWidget>
  4. class CreateProjView;
  5. class PushButton;
  6. class SearchLineEdit;
  7. class QVBoxLayout;
  8. class QHBoxLayout;
  9. class QLabel;
  10. class QTableWidget;
  11. class HomeView : public QWidget
  12. {
  13. Q_OBJECT
  14. public:
  15. explicit HomeView(QWidget *parent = nullptr);
  16. private:
  17. void initialize();
  18. void initLayout();
  19. void connectSignalsAndSlots();
  20. private slots:
  21. void slotCreateProjClicked();
  22. private:
  23. QVBoxLayout *m_vBoxLayout = nullptr;
  24. QLabel *m_titleLabel = nullptr;
  25. QHBoxLayout *m_hBoxLayout = nullptr;
  26. SearchLineEdit *m_searchLineEdit = nullptr;
  27. PushButton *m_createProjPushButton = nullptr;
  28. QTableWidget *m_projTableWidget = nullptr;
  29. CreateProjView *m_createProjView = nullptr;
  30. };
  31. #endif // HOMEVIEW_H