LoginCode::LoginCode(QWidget *parent) : QWidget(parent) { ui->setupUi(this); setWindowFlags(Qt::FramelessWindowHint); // m_pCodeArea = new CodeArea(this); // ui->CodeLayout->addWidget(m_pCodeArea); connect(ui->replaceBtn, SIGNAL(clicked()), this, SLOT(replaceCodePic())); connect(ui->loginBtn, SIGNAL(clicked()), this, SLOT(loginBtnClicked())); connect(ui->closeBtn, SIGNAL(clicked()), this, SLOT(closeBtnClicked())); }
ViewerPdfPageHandler::ViewerPdfPageHandler(QWidget *parent) : QWidget(parent) { setupUi(this); connect(zoomMinusBtn, SIGNAL(clicked()), this, SIGNAL(zoomMinusBtnClicked ())); connect(zoomPlusBtn, SIGNAL(clicked()), this, SIGNAL(zoomPlusBtnClicked ())); connect(fullScreenBtn, SIGNAL(clicked()), this, SIGNAL(fullScreenBtnClicked ())); connect(widthAdjustBtn, SIGNAL(clicked()), this, SIGNAL(widthAdjustBtnClicked ())); connect(heightAdjustBtn, SIGNAL(clicked()), this, SIGNAL(heightAdjustBtnClicked ())); connect(landscapeModeBtn, SIGNAL(clicked()), this, SIGNAL(landscapeModeBtnClicked ())); connect(closeBtn, SIGNAL(clicked()), this, SIGNAL(closeBtnClicked ())); }