Implement global auto-type dialog.

It allows to select an entry when there are multiple entries
that match the window title.
This commit is contained in:
Felix Geyer
2012-07-21 22:17:48 +02:00
parent 34ad5d61f6
commit 20e4643560
7 changed files with 260 additions and 9 deletions

View File

@@ -0,0 +1,38 @@
/*
* Copyright (C) 2012 Felix Geyer <debfx@fobos.de>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 or (at your option)
* version 3 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef KEEPASSX_AUTOTYPESELECTVIEW_H
#define KEEPASSX_AUTOTYPESELECTVIEW_H
#include "core/Global.h"
#include "gui/entry/EntryView.h"
class Entry;
class AutoTypeSelectView : public EntryView
{
Q_OBJECT
public:
explicit AutoTypeSelectView(QWidget* parent = Q_NULLPTR);
void setEntryList(const QList<Entry*>& entries) Q_DECL_OVERRIDE;
protected:
void mouseMoveEvent(QMouseEvent* event) Q_DECL_OVERRIDE;
};
#endif // KEEPASSX_AUTOTYPESELECTVIEW_H