|
@@ -1,4 +1,4 @@
|
|
|
-#include "ExpertView.h"
|
|
|
+#include "ExpertManageView.h"
|
|
|
|
|
|
#include "ExpertInfoView.h"
|
|
|
|
|
@@ -10,14 +10,14 @@
|
|
|
|
|
|
#include <QDebug>
|
|
|
|
|
|
-ExpertView::ExpertView(QWidget *parent) : QWidget(parent)
|
|
|
+ExpertManageView::ExpertManageView(QWidget *parent) : QWidget(parent)
|
|
|
{
|
|
|
initialize();
|
|
|
initLayout();
|
|
|
connectSignalsAndSlots();
|
|
|
}
|
|
|
|
|
|
-void ExpertView::initialize()
|
|
|
+void ExpertManageView::initialize()
|
|
|
{
|
|
|
m_vBoxLayout = new QVBoxLayout(this);
|
|
|
|
|
@@ -34,7 +34,7 @@ void ExpertView::initialize()
|
|
|
m_expertInfoView = new ExpertInfoView(this);
|
|
|
}
|
|
|
|
|
|
-void ExpertView::initLayout()
|
|
|
+void ExpertManageView::initLayout()
|
|
|
{
|
|
|
m_vBoxLayout->setAlignment(Qt::AlignTop | Qt::AlignLeft);
|
|
|
m_vBoxLayout->setContentsMargins(15, 10, 10, 15);
|
|
@@ -48,12 +48,12 @@ void ExpertView::initLayout()
|
|
|
m_vBoxLayout->addSpacing(15);
|
|
|
}
|
|
|
|
|
|
-void ExpertView::connectSignalsAndSlots()
|
|
|
+void ExpertManageView::connectSignalsAndSlots()
|
|
|
{
|
|
|
- connect(m_addExpertPushButton, &PushButton::clicked, this, &ExpertView::slotAddExpertClicked);
|
|
|
+ connect(m_addExpertPushButton, &PushButton::clicked, this, &ExpertManageView::slotAddExpertClicked);
|
|
|
}
|
|
|
|
|
|
-void ExpertView::slotAddExpertClicked()
|
|
|
+void ExpertManageView::slotAddExpertClicked()
|
|
|
{
|
|
|
if (m_expertInfoView->isVisible() == false) {
|
|
|
m_expertInfoView->clearInputs();
|