Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved How to add tooltip to QtCreator main editor

    Tools
    2
    3
    213
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      petroff last edited by

      Hi.
      I need to write refactoring plugin with my own refactoring rules.
      After some AST constructions have found I need to make bulb indicator as shown in the picture. Also I need to view a tooltip.
      20200129_091217.jpg
      So what way I should go?
      It seems to me that if I will realize Core::IEditorFactory and Core::IEditor interface I will get access to new editor tab. But I also need all QtCreator features.

      1 Reply Last reply Reply Quote 0
      • P
        petroff last edited by

        Upd1:
        I find cppeditor plugin realizes CppEditorFactory realizes TextEditorFactory. But there is no exported Factory using ExtensionSystem::PluginManager::addObject. Do I need to use inheritance from CppEditorFactory to write my own Factory? (i.e. is it right way to use CppEditorFactory with it`s full funcionallity as base class for my Factory?

        aha_1980 1 Reply Last reply Reply Quote 0
        • aha_1980
          aha_1980 Lifetime Qt Champion @petroff last edited by

          Hi @petroff,

          you should probably ask these questions at the Qt Creator mailing list, where the developers reside.

          This forum is more user orientated.

          Regards

          Qt has to stay free or it will die.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post