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. Tabbing order and buddies for Qt-Designer custom widget plugins.
QtWS25 Last Chance

Tabbing order and buddies for Qt-Designer custom widget plugins.

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 4.5k Views
  • 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.
  • C Offline
    C Offline
    Crazy Sage
    wrote on last edited by
    #1

    Hi all, I've met following problem. I've made plugin for qt designer with my custom widget, as said in docs, but I can't set my plugin as buddy in designer and I can't include it in tabbing order. How should I improve (or just configure) my plugin for this options to be available?

    And yes, I'm using Qt 3.3 and it's impossible for my project to be upgraded to qt4.

    --

    Best regards, Gleb "Crazy Sage" Igumnov

    Institute of Mathematics and Mechanics, Russian Academy of Sciences, Ural branch

    1 Reply Last reply
    1
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      As far as I remember for the tab order problem it is necessary for the widget to get focus via tab. You should check "QWidget::setFocusPolicy()":http://doc.qt.nokia.com/3.3/qwidget.html#setFocusPolicy

      You should set them in your custom widget's constructor. There's no need to define this in the plugin code.

      Maybe that solves the buddy problem too. It's definitely possible, we've done these two back in our Qt 3 times and had no problems.

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      1

      • Login

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