Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Creating Advance QT Creator Widgets

Creating Advance QT Creator Widgets

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 649 Views 2 Watching
  • 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.
  • TrayonT Offline
    TrayonT Offline
    Trayon
    wrote on last edited by
    #1

    Hey everyone,

    I recently created a tree view program with some nifty features, and I'd like to use it to organize my projects. I want to add this program as a widget in QT, but I don't want to delve so deep as to modify the source.

    What I'd like to do is navigate through this tree, and ultimately have the leaf nodes be the files that my editor context can switch to; similar to what's already there, but I'd like to have multiple organization trees, independent of files. I've tried to look on-line for resources, but come up rather short when it comes to advance concepts like modifying editor context.

    There's also a ton of other features I'd like to try in the future, and I'd like to know if theres a resource that I can use to look up what I can do with simple API calls. If it's not that simple, can you guys give me a good place to get started on learning the QT Creator source?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      One place you go to is the Qt Creator mailing list. You'll find there Qt Creator's developers/maintainers. The #qtcreator IRC channel might also be a good place to get more information.

      On the documentation side, the snapshot documentation proposes Extending Qt Creator Manual and Creating Plugins.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by mrjj
        #3

        Hi
        I was also hammered by the complexity of the Creator code and all is plugins.
        However, i found the bookmark sample easy to understand and use as base for own plugins
        \src\plugins\bookmarks\bookmarks.pro
        It also shows how to open source files and i imagine it could be used a good reference on how to
        both add a Section/split view and how to open source files.

        alt text

        Of Course you could also look at
        src\plugins\projectexplorer
        which is the current way it shows the project and then teach that virtual trees or what you want to call it.

        Basically you just create a new plugin and then Creator can do that too.

        1 Reply Last reply
        3

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved