Ejemplo n.º 1
0
        void EtherSceneController::TryStartLogin()
        {
            QPair<View::InfoCard*, View::InfoCard*> selected_cards;
            selected_cards.first = top_menu_->GetHighlighted();
            selected_cards.second = bottom_menu_->GetHighlighted();
            
            scene_->SupressKeyEvents(true);
            SuppressControlWidgets(true);

            StartLoginAnimation();
            if (!login_in_progress_)
            {
                emit LoginRequest(selected_cards);
                login_in_progress_ = !login_in_progress_;
            }

            ShowStatusInformation(QString("Connecting to %1 with %2").arg(selected_cards.second->title(), selected_cards.first->title()));
        }
Ejemplo n.º 2
0
void MainWindow::ShowProcWidget() {
    emit LoginRequest(ui->username->text(), ui->password->text());
    //setCentralWidget(procWidget);
}
Ejemplo n.º 3
0
	void FotoBilderAccount::Login ()
	{
		auto guard = MakeRunnerGuard ();
		CallsQueue_ << [this] (const QString&) { GetChallenge (); };
		CallsQueue_ << [this] (const QString& challenge) { LoginRequest (challenge); };
	}