lib_ui/ui/widgets/fields/password_input.h

27 lines
600 B
C++

// This file is part of Desktop App Toolkit,
// a set of libraries for developing nice desktop applications.
//
// For license and copyright information please follow this link:
// https://github.com/desktop-app/legal/blob/master/LEGAL
//
#pragma once
#include "ui/widgets/input_fields.h"
namespace style {
struct InputField;
} // namespace style
namespace Ui {
class PasswordInput final : public MaskedInputField {
public:
PasswordInput(
QWidget *parent,
const style::InputField &st,
rpl::producer<QString> placeholder = nullptr,
const QString &val = QString());
};
} // namespace Ui