#include "loginmainwindow.h"
|
#include "ui_loginmainwindow.h"
|
|
LoginMainWindow::LoginMainWindow(QWidget *parent) :
|
QMainWindow(parent),
|
ui(new Ui::LoginMainWindow)
|
{
|
ui->setupUi(this);
|
m_register=new RegisterMainWindow(this);
|
|
connect(m_register,SIGNAL(toLogin()),this,SLOT(returnLogin()));
|
}
|
|
LoginMainWindow::~LoginMainWindow()
|
{
|
delete ui;
|
}
|
|
void LoginMainWindow::on_pushButton_2_clicked()
|
{
|
this->hide();
|
m_register->show();
|
}
|
|
void LoginMainWindow::returnLogin()
|
{
|
this->show();
|
m_register->hide();
|
}
|