password_input.h 613 B

123456789101112131415161718192021222324252627
  1. // This file is part of Desktop App Toolkit,
  2. // a set of libraries for developing nice desktop applications.
  3. //
  4. // For license and copyright information please follow this link:
  5. // https://github.com/desktop-app/legal/blob/master/LEGAL
  6. //
  7. #pragma once
  8. #include "ui/widgets/fields/masked_input_field.h"
  9. namespace style {
  10. struct InputField;
  11. } // namespace style
  12. namespace Ui {
  13. class PasswordInput final : public MaskedInputField {
  14. public:
  15. PasswordInput(
  16. QWidget *parent,
  17. const style::InputField &st,
  18. rpl::producer<QString> placeholder = nullptr,
  19. const QString &val = QString());
  20. };
  21. } // namespace Ui