mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-30 11:26:44 -05:00
Add search help pop-up
* Support ! modifier (same as '-') * Create reusable PopupHelpWidget as self-contained popup that can be positioned around a parent widget and will follow the movement and sizing of the window * Eliminated KEEPASSXC_MAIN_WINDOW macro and replaced with getMainWindow() function * Add tests to cover search help show/hide
This commit is contained in:
parent
d6ffee5e99
commit
880c3aeb34
20 changed files with 671 additions and 36 deletions
|
|
@ -37,9 +37,7 @@ class Application : public QApplication
|
|||
|
||||
public:
|
||||
Application(int& argc, char** argv);
|
||||
QWidget* mainWindow() const;
|
||||
~Application() override;
|
||||
void setMainWindow(QWidget* mainWindow);
|
||||
|
||||
bool event(QEvent* event) override;
|
||||
bool isAlreadyRunning() const;
|
||||
|
|
@ -60,8 +58,6 @@ private slots:
|
|||
void socketReadyRead();
|
||||
|
||||
private:
|
||||
QWidget* m_mainWindow;
|
||||
|
||||
#if defined(Q_OS_UNIX)
|
||||
/**
|
||||
* Register Unix signals such as SIGINT and SIGTERM for clean shutdown.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue