src/uiutilities.h

Sun, 19 Jan 2020 02:54:48 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Sun, 19 Jan 2020 02:54:48 +0200
changeset 22
6da867fa5429
parent 16
aeb5f203b3eb
child 24
1a0faaaceb84
permissions
-rw-r--r--

commit work on GL rendering

16
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
1 #pragma once
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
2 #include <QAction>
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
3
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
4 namespace uiutilities
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
5 {
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
6 using KeySequenceMap = QMap<QString, QKeySequence>;
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
7 QVector<QAction*> collectActions(QObject* subject);
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
8 KeySequenceMap makeKeySequenceMap(const QVector<QAction*>& actions);
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
9 }

mercurial