Skip to content
This repository was archived by the owner on Dec 9, 2021. It is now read-only.

Replace message dialogs with inline messages (KMessageWidget)#78

Open
pgalves wants to merge 9 commits intokeepassx:masterfrom
pgalves:inlinemessage
Open

Replace message dialogs with inline messages (KMessageWidget)#78
pgalves wants to merge 9 commits intokeepassx:masterfrom
pgalves:inlinemessage

Conversation

@pgalves
Copy link
Copy Markdown

@pgalves pgalves commented Jan 21, 2015

This pull request replaces the message dialogs not requiring user interaction (passive information) with an inline message widget. The code used for the widget is borrowed from subsurface. This widget is similar to KMessageWidget from KDE libraries but has the KDE bits removed.

Messages can be displayed over the Tab Bar for generic messages or inside the tab for messages related with tab content.

Only tested on Linux.

Some screenshots:
wrong_key
read_only_mode
open_file_no_permission
nomatch_passwords
delete_used_custom_icon

pgalves and others added 9 commits January 19, 2015 20:16
inline MessageWidget in ChangeMasterKeyWidget.
EditWidget and in UnlockDatabaseWidget.
Add missing method to show Information Message.
Chnage to one method to set MessageWidget text passing type as
parameter.
Only messages with questions requiring user input reamin using
MessageBox dialog.
Use signal/slots to set message in MessageWidget and hide message,
signal/slots only used when required.Maybe need to change all calls to
signals/slots in the future.
@tvld
Copy link
Copy Markdown

tvld commented Jan 22, 2015

Looking Great. Would be great to be able to link through: "Can't delete icon. Still used by 1 item(s). Go to this item "

@pgalves
Copy link
Copy Markdown
Author

pgalves commented Jan 27, 2015

@tvld Thanks. I agree, that message could be improved to show where the icon is still used. But for now I just wanted to keep it simple and use the current KepassX warning strings.

daniellandau pushed a commit to daniellandau/keepassx that referenced this pull request Sep 24, 2017
…-messages

KeePassX PR Migration: keepassx#78 Inline Messages
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants