Package: libqt4-gui
Version: 4.5.1-2
Severity: normal


When creating a widget via

  class Test : public QWidget {
    Q_OBJECT
  public:
    Test(QWidget *parent = 0) : QWidget(parent) {}
  protected:
    void tabletEvent(QTabletEvent*) { std::cout << "got event\n";}
  };

  Test *t = new Test;
  test->show();

it correctly receives tablet events.
However, when I do:

  QWidget *w = new QWidget;
  test->setParent(w);
  w->show();

my tabletEvent() never gets called. Other event types don't seem to be affected.

This also breaks the widgets/tablet example in the qt4-demos package.

Regards,
- Christian



--
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to