mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-07-05 20:42:08 -07:00
29 lines
500 B
C++
29 lines
500 B
C++
// SPDX-License-Identifier: LicenseRef-AGPL-3.0-only-OpenSSL
|
|
|
|
#ifndef CHIAKI_LOGINPINDIALOG_H
|
|
#define CHIAKI_LOGINPINDIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
class QLineEdit;
|
|
class QDialogButtonBox;
|
|
|
|
class LoginPINDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
private:
|
|
QString pin;
|
|
|
|
QLineEdit *pin_edit;
|
|
QDialogButtonBox *button_box;
|
|
|
|
void UpdateButtons();
|
|
|
|
public:
|
|
explicit LoginPINDialog(bool incorrect, QWidget *parent = nullptr);
|
|
|
|
QString GetPIN() { return pin; }
|
|
};
|
|
|
|
#endif // CHIAKI_LOGINPINDIALOG_H
|