add context menu to IdealDockBars, propagate the signal, similar to the tab signal. but this time let the handler (i.e. shell/mainwindow_p) create the menu, which makes the code a lot easier on that side.
author Milian Wolff
()
committer Milian Wolff
()
commit 878db05cf694f8d424a8703f5cd28244a72a4a28
tree b031c96c0cf8442212350a1257a7b20141c5c5ec
parent 833d9907317092b42b93530c85660ca34f9765cd
add context menu to IdealDockBars, propagate the signal, similar to the tab signal. but this time let the handler (i.e. shell/mainwindow_p) create the menu, which makes the code a lot easier on that side.
you can add new tool views from the context menu.
please review, at least one part has to be cleaned up imo (regarding Sublime::Area and addToolView - you cannot force a position so far).
11 files changed:
shell/mainwindow.cpp
shell/mainwindow.h
shell/mainwindow_p.cpp
shell/mainwindow_p.h
shell/uicontroller.cpp
shell/uicontroller.h
sublime/ideal.cpp
sublime/ideal.h
sublime/mainwindow.cpp
sublime/mainwindow.h
sublime/mainwindow_p.cpp