forked from qt-creator/qt-creator
Mercurial: Inline authenticationdialog.ui
Change-Id: I235c8aaf7d2dd8e49e8a22b81523a322b5f596bc Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -5,10 +5,11 @@
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
namespace Mercurial {
|
||||
namespace Internal {
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QLineEdit;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Ui { class AuthenticationDialog; }
|
||||
namespace Mercurial::Internal {
|
||||
|
||||
class AuthenticationDialog : public QDialog
|
||||
{
|
||||
@@ -18,13 +19,14 @@ public:
|
||||
explicit AuthenticationDialog(const QString &username, const QString &password,
|
||||
QWidget *parent = nullptr);
|
||||
~AuthenticationDialog() override;
|
||||
|
||||
void setPasswordEnabled(bool enabled);
|
||||
QString getUserName();
|
||||
QString getPassword();
|
||||
|
||||
private:
|
||||
Ui::AuthenticationDialog *ui;
|
||||
QLineEdit *m_username;
|
||||
QLineEdit *m_password;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Mercurial
|
||||
} // Mercurial::Internal
|
||||
|
||||
Reference in New Issue
Block a user