Show countdown for clipboard clearing (#6333)
* Closes #1843 Co-authored-by: Jonathan White <support@dmapps.us>
This commit is contained in:
@@ -20,11 +20,15 @@
|
||||
#define KEEPASSX_MAINWINDOW_H
|
||||
|
||||
#include <QActionGroup>
|
||||
#include <QLabel>
|
||||
#include <QMainWindow>
|
||||
#include <QProgressBar>
|
||||
#include <QStatusBar>
|
||||
#include <QSystemTrayIcon>
|
||||
|
||||
#include "core/SignalMultiplexer.h"
|
||||
#include "gui/Application.h"
|
||||
#include "gui/Clipboard.h"
|
||||
#include "gui/DatabaseWidget.h"
|
||||
#include "gui/osutils/ScreenLockListener.h"
|
||||
|
||||
@@ -143,6 +147,7 @@ private slots:
|
||||
void releaseContextFocusLock();
|
||||
void agentEnabled(bool enabled);
|
||||
void updateTrayIcon();
|
||||
void updateProgressBar(int percentage, QString message);
|
||||
|
||||
private:
|
||||
static void setShortcut(QAction* action, QKeySequence::StandardKey standard, int fallback = 0);
|
||||
@@ -174,6 +179,8 @@ private:
|
||||
QPointer<QSystemTrayIcon> m_trayIcon;
|
||||
QPointer<ScreenLockListener> m_screenLockListener;
|
||||
QPointer<SearchWidget> m_searchWidget;
|
||||
QPointer<QProgressBar> m_progressBar;
|
||||
QPointer<QLabel> m_progressBarLabel;
|
||||
|
||||
Q_DISABLE_COPY(MainWindow)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user