Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Core::EditorManagerPlaceHolder::current() method replacement in Qt Creator 3.0
Forum Updated to NodeBB v4.3 + New Features

Core::EditorManagerPlaceHolder::current() method replacement in Qt Creator 3.0

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 684 Views 1 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.
  • S Offline
    S Offline
    serpheroth
    wrote on last edited by
    #1

    I am developing a Qt Creator plugin. This plugin shows currently opened files as a QTabWidget on top of the editor pane. In Qt Creator 2.8, the code works like the following,
    Core::EditorManagerPlaceHolder* holder = Core::EditorManagerPlaceHolder::current();
    holder->layout()->addWidget(myTabWidget);

    Here is the screen shot for the plugin running in Qt Creator 2.8
    !https://dl.dropboxusercontent.com/u/22690325/1.png(screen shot)!
    However, in Qt Creator 3.0, the method Core::EditorManagerPlaceHolder::current() no longer exists. In this situation how am I able to put the QTabWidget on the top the editor window

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

      Hi and welcome to devnet,

      You should bring this topic on the qt-creator mailing list, you'll find there Qt Creator's developers/maintainers (this forum is more user oriented)

      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
      0

      • Login

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