mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-24 08:43:29 -05:00
Ability to disable animation of message widget
* Allows for persistent messages that can change text without disturbing the user interface * Immediate improvement to KeeShare group edit window
This commit is contained in:
parent
7ef1ee916b
commit
730367557f
3 changed files with 26 additions and 2 deletions
|
|
@ -36,8 +36,11 @@ public:
|
|||
static const int LongAutoHideTimeout;
|
||||
static const int DisableAutoHide;
|
||||
|
||||
void setAnimate(bool state);
|
||||
|
||||
signals:
|
||||
void showAnimationStarted();
|
||||
void hideAnimationStarted();
|
||||
|
||||
public slots:
|
||||
void showMessage(const QString& text, MessageWidget::MessageType type);
|
||||
|
|
@ -49,6 +52,7 @@ public slots:
|
|||
private:
|
||||
QTimer* m_autoHideTimer;
|
||||
int m_autoHideTimeout;
|
||||
bool m_animate;
|
||||
};
|
||||
|
||||
#endif // MESSAGEWIDGET_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue