configurator/dialogs/FederatedLogin.h
Bernhard Rosenkränzer 7f0cd77b4e Initial import
Not much there yet, just a login dialog and an app list
JSON parser
2024-08-28 00:13:54 +02:00

29 lines
635 B
C++

#pragma once
#include <QDialog>
#include <QGridLayout>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
class FederatedLogin:public QDialog {
Q_OBJECT
public:
FederatedLogin(QWidget *parent=0);
QString domain() const { return _domain->text(); }
QString user() const { return _user->text(); }
QString password() const { return _password->text(); }
void setMessage(QString const &m);
protected:
QGridLayout _layout;
QLabel * _message;
QLabel * _domainLbl;
QLineEdit * _domain;
QLabel * _userLbl;
QLineEdit * _user;
QLabel * _passwordLbl;
QLineEdit * _password;
QPushButton * _ok;
QPushButton * _cancel;
};