#ifndef PASSWORDPROMPTDIALOG_H #define PASSWORDPROMPTDIALOG_H #include class QCheckBox; class QLabel; class QLineEdit; class PasswordPromptDialog : public QDialog { Q_OBJECT public: explicit PasswordPromptDialog(QWidget *parent = nullptr); void setConnectionDescription(const QString &description); QString password() const; private: QLabel *m_connectionLabel = nullptr; QLabel *m_passwordLabel = nullptr; QLineEdit *m_passwordInput = nullptr; QCheckBox *m_saveCheck = nullptr; void retranslateUi(); private slots: // void accept(); // void reject(); }; #endif // PASSWORDPROMPTDIALOG_H