123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #include "ProjectView.h"
- #include "ProjectListWidget.h"
- #include "RenameWidget.h"
- #include "ConfigExpertWidget.h"
- #include <Widgets/Button.h>
- #include <Widgets/LineEdit.h>
- #include <QBoxLayout>
- #include <QLabel>
- #include <QDebug>
- ProjectView::ProjectView(ProjectInfo *proj, QWidget *parent) : QWidget(parent), m_proj(proj) { }
- void ProjectView::showEvent(QShowEvent *event)
- {
- if (m_initilized == false) {
- initWidgets();
- initLayout();
- connectSigalsAndSlots();
- m_initilized = true;
- }
- QWidget::showEvent(event);
- }
- void ProjectView::hideEvent(QHideEvent *event)
- {
- QWidget::hideEvent(event);
- }
- ProjectInfo *ProjectView::proj() const
- {
- return m_proj;
- }
- void ProjectView::setProject(ProjectInfo *proj)
- {
- m_proj = proj;
- }
- void ProjectView::initWidgets() { }
- void ProjectView::initLayout() { }
- void ProjectView::connectSigalsAndSlots() { }
|