Add Autotype on Windows and MacOS (#63)

* Add Autotype on Windows, including Windows 10
* Add MacOS autotype, fix macdeployqt build
* Make QT_BINARY_DIR overwritable at compile time
This commit is contained in:
TheZ3ro 2016-11-08 22:13:57 +01:00 committed by Jonathan White
parent e25cd9ba48
commit 753b9c9e67
19 changed files with 1454 additions and 9 deletions

View file

@ -55,6 +55,10 @@ void EntryView::keyPressEvent(QKeyEvent* event)
{
if ((event->key() == Qt::Key_Enter || event->key() == Qt::Key_Return) && currentIndex().isValid()) {
emitEntryActivated(currentIndex());
#ifdef Q_OS_MAC
// Pressing return does not emit the QTreeView::activated signal on mac os
Q_EMIT activated(currentIndex());
#endif
}
QTreeView::keyPressEvent(event);