1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:47:34 +00:00

LibGUI: Add a simple GUI::PasswordInputDialog

Asking the user for a password is a fairly common thing, so let's have
a reusable GUI dialog for it! This first iteration only supports having
pre-filled "server" and "username" fields. This can obviously be made
more flexible as needs arise. :^)
This commit is contained in:
Andreas Kling 2021-08-02 10:09:59 +02:00
parent 46cec3a443
commit 1f51b72e6d
5 changed files with 209 additions and 0 deletions

View file

@ -1,5 +1,6 @@
compile_gml(FontPickerDialog.gml FontPickerDialogGML.h font_picker_dialog_gml)
compile_gml(FilePickerDialog.gml FilePickerDialogGML.h file_picker_dialog_gml)
compile_gml(PasswordInputDialog.gml PasswordInputDialogGML.h password_input_dialog_gml)
set(SOURCES
AboutDialog.cpp
@ -68,6 +69,8 @@ set(SOURCES
Notification.cpp
OpacitySlider.cpp
Painter.cpp
PasswordInputDialog.cpp
PasswordInputDialogGML.h
ProcessChooser.cpp
Progressbar.cpp
RadioButton.cpp