Pages
API Documentation
On this page

KPassword Namespace

Large set of desktop widgets. More...

  • Header: #include <KPassword>
  • CMake: find_package(KF6 REQUIRED COMPONENTS WidgetsAddons)
    target_link_libraries(mytarget PRIVATE KF6::WidgetsAddons)

Detailed Description

Type Documentation

[since 6.0] enum KPassword::RevealMode

This enum describe when the reveal password button is visible.

Constant Value Description
KPassword::RevealMode::OnlyNew 0 Display the button when entering a new password, but doesn't let you see a previously entered password. This is the default.
KPassword::RevealMode::Never 1 Never display the reveal button.
KPassword::RevealMode::Always 2 Always display the reveal button. Usefull in a password manager for example.

This enum was introduced in Qt 6.0.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.