Skip to content

Commit 57d1c07

Browse files
committed
testing how to add menus and shortcuts
1 parent 53d30eb commit 57d1c07

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

qt5-signals/README.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
- https://github.com/cpp11nullptr/lsignal: lsignal (or lightweight signal) is a very little and fast C++ thread-safe implementation of signal and slot system which is based on modern C++11 code.
2+
- https://github.com/dgovil/PySignal: A purely Python implementation of the Qt signal system with no QObject dependencies
3+
4+
how scribus manages the menus:
5+
6+
- `scribus/menumanager.cpp`: seems to be managing the menus through strings
7+
- `ActionManager::createDefaultMenuNames()` fills defMenuNames
8+
- `static QVector< QPair<QString, QStringList> > defMenuNames;`
9+
- `static QVector< QPair<QString, QStringList> > defMenus;`
10+
- `scrActions` seems to contain the real actions
11+
- `scrActions` is a vector filled by the functions called in `ActionManager::createActions()`
12+
- `scribus/scribus.cpp` connects the `scrActions` with real actions

0 commit comments

Comments
 (0)