office-gobmx/vcl/qt5
Aleksei Nikiforov bc023edb6a tdf#121417 Allow dynamic menu changes for Qt5 and KDE5 interfaces
Separate HandleMenuActivateEvent function call from HandleMenuCommandEvent function call
since first one might update some of menus. Also add call to HandleMenuDeActivateEvent function.

Delete action with Qt5MenuItem to reflect the change in actual menu.

Also update underlying qt-based menu from Qt5Menu::InsertItem function.

And update Qt5Menu::SetItemImage to work with different types of descendants of SalBitmap.
This code is shared between Qt5 and KDE5 plugins, but KDE5 plugin uses SvpSalBitmap instead of Qt5Bitmap.
New image conversion process is borrowed from GTK plugin code.
This approach is used in order to properly process transparency channel if it's present, and it is present usually.

This change also fixes tdf#120789.

Change-Id: Ifdc64c3e5d80782955b52e2da8fcff4844d2dc25
Reviewed-on: https://gerrit.libreoffice.org/63862
Tested-by: Jenkins
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2018-11-23 12:26:52 +01:00
..
Qt5AccessibleEventListener.cxx
Qt5AccessibleWidget.cxx
Qt5Bitmap.cxx
Qt5Clipboard.cxx
Qt5Data.cxx
Qt5DragAndDrop.cxx
Qt5FilePicker.cxx
Qt5Font.cxx
Qt5FontFace.cxx
Qt5Frame.cxx
Qt5Graphics.cxx
Qt5Graphics_Controls.cxx
Qt5Graphics_GDI.cxx
Qt5Graphics_Text.cxx
Qt5Instance.cxx
Qt5Instance_Print.cxx
Qt5MainWindow.cxx
Qt5Menu.cxx tdf#121417 Allow dynamic menu changes for Qt5 and KDE5 interfaces 2018-11-23 12:26:52 +01:00
Qt5Object.cxx
Qt5Painter.cxx
Qt5Printer.cxx
Qt5System.cxx
Qt5Timer.cxx
Qt5Tools.cxx
Qt5VirtualDevice.cxx
Qt5Widget.cxx
Qt5XAccessible.cxx