RB_ningyang/passworddialog.h

29 lines
518 B
C
Raw Permalink Normal View History

2026-01-22 11:08:28 +00:00
#ifndef PASSWORDDIALOG_H
#define PASSWORDDIALOG_H
#include <QDialog>
#include <QLineEdit>
#include <QPushButton>
#include <QVBoxLayout>
#include <QLabel>
class PasswordDialog : public QDialog
{
Q_OBJECT
public:
explicit PasswordDialog(QWidget *parent = nullptr);
QString getPassword() const;
private slots:
void onConfirmButtonClicked();
private:
QLineEdit *passwordLineEdit;
QPushButton *confirmButton;
// bool eventFilter(QObject *obj, QEvent *event);
};
#endif // PASSWORDDIALOG_H