[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#531072: marked as done (libqt4-gui: Widget only receives QTabletEvent if it is top-level widget)



Your message dated Wed, 23 Sep 2009 15:43:42 +0200
with message-id <op.u0ppqyw2mcxtjk@tilia>
and subject line 
has caused the Debian Bug report #531072,
regarding libqt4-gui: Widget only receives QTabletEvent if it is top-level widget
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
531072: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531072
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Package: libqt4-gui
Version: 4:4.5.2-2

I can't find anything in the changelogs, but it seems to work now.

Regards,
Christian


--- End Message ---

Reply to: