Hi,

A QGraphicsWidget is embeded into Plasma::Applet through
QGraphicsLinearLayout. When this QGraphicsWidget's size changes, how to get
the applet's size adjusted accordingly?

The code snippet looks like:

  child = new MyGraphicsWidget(applet);
  layout = new QGraphicsLinearLayout(applet);
  layout->setSpacing(0);
  layout->addItem(child);
  applet->setLayout(layout);


Regards,
--
Tiger
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to