How to create a context menu or a custom floating toolbar for Qtcreator

  • Hello,
    Does anybody know how I can add a entry to the right klick context menu or to that interactive floating toolbar in qt creator? I would like to put a few code snippets on a context menu or on a button in this footing toolbar thing. Is this possible? Can I create a plugin that can add stuff to the context menu or that floating toolbar which can create predefined codeblocks on klick in my open qml file?